Codebelt Code Style
Codebelt Code Style automatically formats your code to adhere to a defined style guide, improving readability and collaboration.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add codebelt-code-style npx -- -y @trustedskills/codebelt-code-style
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"codebelt-code-style": {
"command": "npx",
"args": [
"-y",
"@trustedskills/codebelt-code-style"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The codebelt-code-style skill enforces consistent coding style within a codebase. It analyzes code for adherence to specified rules and suggests or automatically applies corrections. This ensures readability, maintainability, and collaboration efficiency across development teams.
When to use it
- Code reviews: Automatically check pull requests for style violations before human review.
- Team onboarding: Quickly standardize the coding style of new team members’ contributions.
- Refactoring large codebases: Ensure consistent formatting during significant changes.
- Automated builds: Integrate into CI/CD pipelines to prevent style-related build failures.
Key capabilities
- Code analysis for style violations
- Suggestion of corrections
- Automatic application of fixes (potentially)
- Support for various programming languages (unspecified in source)
Example prompts
- "Check this code snippet for PEP 8 compliance."
- "Apply the Google C++ Style Guide to this file."
- "Find all instances where variable names don't follow the camelCase convention."
Tips & gotchas
The skill’s effectiveness depends on a clearly defined and agreed-upon coding style guide. Automatic fixes should be carefully reviewed, especially when first implementing the skill, to avoid unintended consequences.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.