C++ Edition: Claude Code configs optimized for modern C++ development.
Production-ready agents, skills, hooks, commands, rules, and configurations for C++11/14 projects using CMake and vcpkg.
This is a C++ fork of the original everything-claude-code by Affaan Mustafa.
This repo is a Claude Code plugin optimized for C++ development.
everything-claude-code/
|-- .claude-plugin/ # Plugin and marketplace manifests
| |-- plugin.json # Plugin metadata and component paths
| |-- marketplace.json # Marketplace catalog
|
|-- agents/ # Specialized subagents for delegation
| |-- planner.md # Feature implementation planning
| |-- architect.md # System design decisions
| |-- tdd-guide.md # Test-driven development
| |-- code-reviewer.md # Quality and security review
| |-- security-reviewer.md # Vulnerability analysis
| |-- build-error-resolver.md
| |-- e2e-runner.md # E2E testing
| |-- refactor-cleaner.md # Dead code cleanup
| |-- doc-updater.md # Documentation sync
|
|-- skills/ # Workflow definitions and domain knowledge
| |-- coding-standards/ # C++11/14 best practices
| |-- backend-patterns/ # CMake, vcpkg, design patterns
| |-- tdd-workflow/ # Google Test, CTest
| |-- security-review/ # Memory safety, input validation
| |-- continuous-learning/ # Auto-extract patterns
| |-- strategic-compact/ # Compaction suggestions
| |-- eval-harness/ # Verification loop
| |-- verification-loop/ # Continuous verification
|
|-- commands/ # Slash commands for quick execution
| |-- tdd.md # /tdd - Test-driven development
| |-- plan.md # /plan - Implementation planning
| |-- code-review.md # /code-review - Quality review
| |-- build-fix.md # /build-fix - Fix build errors
| |-- refactor-clean.md # /refactor-clean - Dead code removal
| |-- learn.md # /learn - Extract patterns
| |-- checkpoint.md # /checkpoint - Save state
| |-- verify.md # /verify - Verification loop
|
|-- rules/ # Always-follow guidelines
| |-- security.md # Memory safety, input validation
| |-- coding-style.md # RAII, const correctness
| |-- testing.md # TDD, 80% coverage
| |-- git-workflow.md # Commit format, PR process
| |-- agents.md # When to delegate
| |-- performance.md # Model selection, context
|
|-- hooks/ # Trigger-based automations
| |-- hooks.json # All hooks config
| |-- memory-persistence/ # Session lifecycle
| |-- strategic-compact/ # Compaction suggestions
|
|-- scripts/ # Cross-platform Node.js scripts
| |-- lib/ # Shared utilities
| |-- hooks/ # Hook implementations
|
|-- contexts/ # Dynamic system prompt injection
| |-- dev.md # Development mode
| |-- review.md # Code review mode
| |-- research.md # Research mode
|
|-- examples/ # Example configurations
| |-- CLAUDE.md # Project config example
| |-- user-CLAUDE.md # User config example
This edition is configured for:
| Component | Tool |
|---|---|
| Language | C++11/14 |
| Build System | CMake 3.14+ |
| Package Manager | vcpkg |
| Testing | Google Test + Google Mock |
| Coverage | gcov / lcov / gcovr |
| Static Analysis | clang-tidy, cppcheck |
| Formatting | clang-format |
# Add as marketplace
/plugin marketplace add your-username/everything-claude-code
# Install
/plugin install everything-claude-code@everything-claude-code# Clone the repo
git clone -b cpp https://github.com/your-username/everything-claude-code.git
# Copy agents
cp everything-claude-code/agents/*.md ~/.claude/agents/
# Copy rules
cp everything-claude-code/rules/*.md ~/.claude/rules/
# Copy commands
cp everything-claude-code/commands/*.md ~/.claude/commands/
# Copy skills
cp -r everything-claude-code/skills/* ~/.claude/skills/Comprehensive C++11/14 best practices:
- RAII and smart pointers
- Const correctness
- Move semantics
- STL container usage
- Modern C++ features
Build system patterns:
- CMakeLists.txt templates
- CMakePresets.json for vcpkg
- vcpkg.json manifest
- Modular CMake structure
Google Test workflow:
- Test fixtures
- Parameterized tests
- Mocking with Google Mock
- Code coverage with gcov
C++-specific security:
- Memory safety checks
- Buffer overflow prevention
- Input validation
- Thread safety patterns
- Static analysis integration
Subagents handle delegated tasks:
---
name: code-reviewer
description: Reviews C++ code for quality, security, and maintainability
tools: Read, Grep, Glob, Bash
model: opus
---
You are a senior C++ code reviewer...Skills are workflow definitions:
# TDD Workflow for C++
1. Write failing tests (Google Test)
2. Implement minimal code
3. Refactor
4. Verify coverage with gcovrAlways-follow guidelines:
# C++ Coding Style
## RAII (CRITICAL)
ALWAYS use smart pointers, NEVER raw new/delete
## Const Correctness
ALWAYS use const for read-only datacmake_minimum_required(VERSION 3.14)
project(my_project VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# vcpkg packages
find_package(fmt CONFIG REQUIRED)
find_package(GTest CONFIG REQUIRED)
add_library(${PROJECT_NAME}_lib
src/main.cpp
)
target_link_libraries(${PROJECT_NAME}_lib
PUBLIC fmt::fmt
)
# Testing
enable_testing()
add_subdirectory(tests)// vcpkg.json
{
"name": "my-project",
"version": "1.0.0",
"dependencies": [
"fmt",
"spdlog",
"nlohmann-json"
],
"dev-dependencies": [
"gtest"
]
}| Command | Description |
|---|---|
/tdd |
Start TDD workflow with Google Test |
/plan |
Plan feature implementation |
/code-review |
Review code for quality and security |
/build-fix |
Fix CMake/compiler errors |
/refactor-clean |
Remove dead code |
Contributions welcome! Ideas:
- C++17/20 patterns
- Boost library skills
- Qt framework configs
- Embedded C++ patterns
- Performance optimization skills
See CONTRIBUTING.md for guidelines.
This C++ edition is based on the original everything-claude-code by @affaanmustafa.
MIT - Use freely, modify as needed, contribute back if you can.