Coding Guidelines

🌐Community
by zhanghandong · vlatest · Repository

Analyzes code snippets against specified style guides and best practices, suggesting improvements from zhanghandong.

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 coding-guidelines npx -- -y @trustedskills/coding-guidelines
2

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

~/.claude/settings.json
{
  "mcpServers": {
    "coding-guidelines": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/coding-guidelines"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The coding-guidelines skill provides structured best practices and standards for writing clean, maintainable code. It helps developers follow consistent formatting rules, naming conventions, and design patterns to improve readability and collaboration in software projects.

When to use it

  • When starting a new project and setting up a shared codebase with multiple contributors.
  • When refactoring legacy code to align with modern standards.
  • When preparing documentation or onboarding new team members to ensure uniform coding practices.

Key capabilities

  • Enforces consistent code formatting across different languages.
  • Provides style guides for naming variables, functions, and modules.
  • Offers recommendations for structuring projects and organizing files.

Example prompts

  • "What are the best practices for writing clean Rust code?"
  • "Can you suggest a coding standard for JavaScript in a team environment?"
  • "How should I structure my Python project to follow PEP8 guidelines?"

Tips & gotchas

  • Ensure that your team agrees on which guidelines to adopt, as different projects may require different standards.
  • Use linters or formatters (like ESLint, Prettier, or Rustfmt) to automatically enforce these rules in your development workflow.

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
zhanghandong
Installs
789

🌐 Community

Passed automated security scans.