Cpp Coding Standards

🌐Community
by affaan-m · vlatest · Repository

Enforces consistent C++ coding practices by suggesting improvements and identifying deviations from established standards, boosting code quality & maintainability.

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

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

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

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

About This Skill

What it does

The cpp-coding-standards skill helps enforce and maintain consistent coding practices in C++ projects. It provides guidance on naming conventions, code structure, documentation standards, and best practices for writing clean, readable, and efficient C++ code.

When to use it

  • When starting a new C++ project and establishing team-wide coding guidelines.
  • When reviewing or refactoring existing C++ code to ensure compliance with industry-standard practices.
  • When preparing documentation or training materials for developers working on C++ projects.

Key capabilities

  • Enforces naming conventions for variables, functions, and classes.
  • Provides formatting rules for code structure and indentation.
  • Recommends best practices for memory management and error handling.
  • Suggests documentation standards for comments and API design.

Example prompts

  • "What are the recommended naming conventions for C++ functions?"
  • "How should I format my C++ header files according to industry standards?"
  • "Can you review this C++ code snippet and suggest improvements based on best practices?"

Tips & gotchas

  • Ensure that your team agrees on which coding standard (e.g., Google, LLVM, Microsoft) to follow for consistency.
  • Some tools may require integration with linters or formatters like ClangFormat or CppCheck for full enforcement of standards.

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
affaan-m
Installs
340

🌐 Community

Passed automated security scans.