Cpp Coding Standards
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.
Run in terminal (recommended)
claude mcp add cpp-coding-standards npx -- -y @trustedskills/cpp-coding-standards
Or manually add to ~/.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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.