Cpp Core Guidelines

🌐Community
by ariaszzzhc · vlatest · Repository

Analyzes C++ code against core guidelines, identifying violations and suggesting improvements for safer, more maintainable programs.

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

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

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

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

About This Skill

What it does

This skill provides access to the C++ Core Guidelines, a comprehensive set of rules for writing modern and efficient C++ code. It allows users to query specific guidelines, understand their rationale, and receive practical examples demonstrating correct usage. The skill aims to improve code quality, reduce errors, and enhance overall software development practices by adhering to these established standards.

When to use it

  • When reviewing existing C++ code for potential improvements or adherence to modern best practices.
  • During the design phase of a new C++ project to ensure consistent coding style and prevent common pitfalls.
  • As a learning tool for developers wanting to deepen their understanding of C++ programming principles.
  • To resolve specific coding issues by referencing relevant guidelines and examples.

Key capabilities

  • Guideline lookup: Retrieve information about individual Core Guidelines.
  • Rationale explanation: Understand the reasoning behind each guideline.
  • Example code snippets: View practical illustrations of how to apply guidelines.

Example prompts

  • "What is guideline F.23?"
  • "Explain the rationale for guideline S.14."
  • "Show me an example of using guideline I.16."

Tips & gotchas

The C++ Core Guidelines are extensive; start with guidelines relevant to your current task or area of interest. A basic understanding of C++ concepts is helpful to fully grasp the context and application of these guidelines.

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
ariaszzzhc
Installs
2

🌐 Community

Passed automated security scans.