cpp-coding

Centralize modern C++ coding practices for code reviews and refactoring.

16|2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/figuretu/my-skills --skill cpp-coding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-coding
Source: https://github.com/figuretu/my-skills/tree/main/cpp-coding
Command: npx skills add https://github.com/figuretu/my-skills --skill cpp-coding

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

解决在 C++ 项目中保持现代风格、可维护性、性能和安全性的编码规范缺失问题,以实现跨团队的一致性。

Core Features & Use Cases

  • 统一的风格原则和核心编码规范,覆盖格式化、头文件、内存管理、错误处理、并发、文档与注释等方面
  • 用于代码评审、重构、新成员快速上手、跨项目协作时的基线参考
  • 当多流程涉及 C++ 代码变更时,作为主基线并行加载以提升代码质量与一致性

Quick Start

Load the cpp-coding guidelines and apply them to assess and improve the current C++ codebase.

Frequently Asked Questions about cpp-coding

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

FAQPage Schema
What are modern C++ coding standards for memory management and concurrency?

Modern C++ coding standards centralize safe memory management and concurrency practices to ensure readable, high-performance code across project modules. They define baseline rules for formatting, error handling, and safe concurrent execution.

How do I use coding standards to review and refactor C++ code?

To review and refactor C++ code, load centralized coding guidelines as a baseline to assess formatting, memory management, and error handling. Apply these rules during code reviews and refactoring to enforce cross-project consistency and improve code quality.

Does this C++ coding standard apply to cross-team onboarding and collaboration?

Yes, these C++ coding standards are designed for cross-team collaboration and onboarding. They provide a unified style baseline covering headers, documentation, and design guidelines, enabling new members to quickly adapt to consistent project practices.

What is the best way to maintain C++ code consistency across multiple modules?

The best way to maintain C++ code consistency is to load a centralized coding baseline that addresses formatting, error handling, and design guidelines. Apply this baseline across all modules and libraries to ensure uniform style and safe performance.

Can I override project-specific C++ coding rules for different libraries?

Yes, the C++ coding guidelines support optional references and project overrides. You can adapt the centralized baseline to accommodate specific module requirements while maintaining core safety, readability, and performance standards.

Why do my C++ modules have inconsistent error handling and formatting?

Inconsistent C++ formatting and error handling usually stems from a missing centralized coding baseline. Loading unified coding standards ensures all modules follow the same modern style, concurrency, and memory management rules for consistent quality.