Code Standards

🌐Community
by redpanda-data · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add code-standards npx -- -y @trustedskills/code-standards
2

Or manually add to ~/.claude/settings.json

~/.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.log in 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 fix command.
  • 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
redpanda-data
Installs
37

🌐 Community

Passed automated security scans.