Code Standards
Enforces consistent coding styles across projects, improving readability and collaboration by automatically suggesting and applying code formatting rules.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add code-standards npx -- -y @trustedskills/code-standards
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"code-standards": {
"command": "npx",
"args": [
"-y",
"@trustedskills/code-standards"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, Code Standards, helps AI agents write code that is accessible, performant, type-safe, and maintainable. It enforces consistent coding styles across projects by automatically suggesting and applying formatting rules. The tool uses Biome to enforce specific checks like noExplicitAny and the use of top-level regex. It also provides guidance on console logging practices for production code.
When to use it
- When encountering linting errors that need fixing.
- To address code formatting issues within a project.
- During code reviews where style guideline adherence is important.
- When seeking clarification or examples of coding style guidelines.
Key capabilities
- Enforces rules defined in the
rules/directory. - Uses Biome to enforce specific type safety and regex usage.
- Provides commands for fixing (
bun x ultracite fix), checking (bun x ultracite check), and diagnosing setup issues (bun x ultracite doctor). - Offers guidance on appropriate console logging practices, discouraging
console.login production.
Example prompts
- "Fix the formatting errors in this code."
- "Check if this component adheres to React functional component standards."
- "What are the guidelines for using async/await?"
Tips & gotchas
- Most issues can be automatically fixed with the
bun x ultracite fixcommand. - Avoid suppressing console warnings with
biome-ignore; instead, remove unnecessary logging statements. - Detailed coding style guidance is available in the
rules/directory.
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.