cpp-dev

Standardize C++17/20 coding practices with naming, memory, and STL rules.

2|1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/Wulnut/lark_agent --skill cpp-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-dev
Source: https://github.com/Wulnut/lark_agent/tree/main/.opencode/skill/cpp-dev
Command: npx skills add https://github.com/Wulnut/lark_agent --skill cpp-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This set of C++ guidelines standardizes modern C++ coding practices to improve safety, readability, and maintainability across projects.

Core Features & Use Cases

  • Modern C++ conventions including smart pointers, RAII, and STL usage to promote safe memory management and efficient design.
  • Clear naming and structure rules (PascalCase for types, camelCase for functions/variables, and consistent header/source separation) to improve readability and collaboration.
  • Guidance applicable to code reviews, onboarding, and ongoing maintenance for C++17/20 codebases.

Quick Start

Apply these guidelines to your C++ projects to ensure modern, safe, and maintainable code.

Frequently Asked Questions about cpp-dev

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

FAQPage Schema
What are modern C++ guidelines for memory management and RAII?

Modern C++ guidelines standardize memory management by enforcing RAII and smart pointers to ensure safe resource allocation. These rules improve code safety and maintainability by preventing manual memory leaks across C++17 and C++20 projects.

How do I standardize C++ coding practices for team onboarding and code reviews?

Standardize C++ coding practices by applying consistent naming conventions, header and source separation, and STL usage rules. This provides a clear baseline for onboarding new developers and enforcing quality standards during team code reviews.

What naming conventions should I use for modern C++ codebases?

Modern C++ naming conventions dictate PascalCase for types and camelCase for functions and variables. Applying these structured rules alongside consistent header and source separation improves readability and team collaboration across your projects.

Do these C++ coding guidelines support C++17 and C++20 projects?

These C++ coding guidelines are designed specifically for C++17 and C++20 projects. They define modern conventions for smart pointers, RAII, and STL algorithms to promote safe memory management and efficient design for your codebase.

When should I enforce STL and algorithm usage rules in C++?

Enforce STL and algorithm usage rules during codebase reviews and ongoing maintenance to standardize C++ coding practices. This ensures efficient design and safe memory management by leveraging standard library features instead of custom implementations.