cpp-coding-standards

Enforce C++ Core Guidelines for type safety and resource management.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/vrcms/everything-qwen-code --skill cpp-coding-standards-vrcms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding-standards
Source: https://github.com/vrcms/everything-qwen-code/tree/main/.qwen/skills/cpp-coding-standards
Command: npx skills add https://github.com/vrcms/everything-qwen-code --skill cpp-coding-standards-vrcms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of modern C++ by providing a structured, authoritative guide to the C++ Core Guidelines, preventing common pitfalls like memory leaks, undefined behavior, and inefficient resource management.

Core Features & Use Cases

  • Modern Best Practices: Enforces C++17/20/23 standards including RAII, immutability, and type safety.
  • Code Review & Refactoring: Provides a checklist for evaluating code quality, interface design, and concurrency patterns.
  • Use Case: Use this skill when refactoring legacy C++ code to modern standards or during a pull request review to ensure compliance with industry-standard safety and performance guidelines.

Quick Start

Apply the cpp-coding-standards skill to review the current file for violations of RAII principles and modern C++ idioms.

Frequently Asked Questions about cpp-coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce C++ Core Guidelines during a code review?

To enforce RAII principles and modern C++ idioms for memory safety, apply this skill to review your current file. It identifies violations of C++ Core Guidelines to ensure proper type safety, performance optimization, and maintainable interface design.

What is the best way to refactor legacy C++ code to modern standards?

The best way to refactor legacy C++ code to modern standards is using this skill to enforce C++17, C++20, and C++23 best practices. It guides the transition by applying RAII, immutability, and type safety to prevent memory leaks and undefined behavior.

How does RAII principles enforcement work for modern C++ memory safety?

RAII principles enforcement works by checking that resource management aligns with modern C++ idioms, preventing common pitfalls like memory leaks and inefficient resource handling. This skill applies these checks to satisfy strict memory safety and performance optimization requirements.

Does this coding standards skill support C++23 projects?

Yes, this coding standards skill fully supports C++23 projects, along with C++17 and C++20. It enforces modern best practices including RAII, immutability, and type safety tailored for these specific language versions.

Why does undefined behavior occur in legacy C++ and how to prevent it?

Undefined behavior in legacy C++ often occurs due to poor resource management and lack of type safety. Prevent it by using this skill to enforce idiomatic code structure and C++ Core Guidelines during development and refactoring.