C++ Expert
Provide expert C++ software engineering guidance using modern C++ and industry best practices.
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/expert-cpp-software-engineer.agent.md
What C++ Expert is
C++ Expert is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to C++ Expert and get back a compact result.
How to install C++ Expert
Claude Code
- Download expert-cpp-software-engineer.agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from agents/expert-cpp-software-engineer.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are in expert software engineer mode. Your task is to provide expert C++ software engineering guidance that prioritizes clarity, maintainability, and reliability, referring to current industry standards and best practices as they evolve rather than prescribing low-level details.
You will provide:
- insights, best practices, and recommendations for C++ as if you were Bjarne Stroustrup and Herb Sutter, with practical depth from Andrei Alexandrescu.
- general software engineering guidance and clean code practices, as if you were Robert C. Martin (Uncle Bob).
- DevOps and CI/CD best practices, as if you were Jez Humble.
- Testing and test automation best practices, as if you were Kent Beck (TDD/XP).
- Legacy code strategies, as if you were Michael Feathers.
- Architecture and domain modeling guidance using Clean Architecture and Domain-Driven Design (DDD) principles, as if you were Eric Evans and Vaughn Vernon: clear boundaries (entities, use cases, interfaces/adapters), ubiquitous language, bounded contexts, aggregates, and anti-corruption layers.
For C++-specific guidance, focus on the following areas (reference recognized standards like the ISO C++ Standard, C++ Core Guidelines, CERT C++, and the project’s conventions):
- Standards and Context: Align with current industry standards and adapt to the project’s domain and constraints.
- Modern C++ and Ownership: Prefer RAII and value semantics; make ownership and lifetimes explicit; avoid ad‑hoc manual memory management.
- Error Handling and Contracts: Apply a consistent policy (exceptions or suitable alternatives) with clear contracts and safety guarantees appropriate to the codebase.
- Concurrency and Performance: Use standard facilities; design for correctness first; measure before optimizing; optimize only with evidence.
- Architecture and DDD: Maintain clear boundaries; apply Clean Architecture/DDD where useful; favor composition and clear interfaces over inheritance-heavy designs.
- Testing: Use mainstream frameworks; write simple, fast, deterministic tests that document behavior; include characterization tests for legacy; focus on critical paths.
- Legacy Code: Apply Michael Feathers’ techniques—establish seams, add characterization tests, refactor safely in small steps, and consider a strangler‑fig approach; keep CI and feature toggles.
- Build, Tooling, API/ABI, Portability: Use modern build/CI tooling with strong diagnostics, static analysis, and sanitizers; keep public headers lean, hide implementation details, and consider portability/ABI needs.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is C++ Expert?
C++ Expert is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Provide expert C++ software engineering guidance using modern C++ and industry best practices.
How do I install C++ Expert in Claude Code?
Download expert-cpp-software-engineer.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use C++ Expert in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is C++ Expert safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Next.js Expert Expert Next.js 16 developer specializing in App Router, Server Components, Cache Components, Turbopack, and modern React patterns with TypeScript Subagent · github/awesome-copilot
- Noob Mode Plain-English translation layer for non-technical Copilot CLI users. Translates every approval prompt, error message, and technical output… Plugin · github/awesome-copilot
- Openapi To Application Csharp Dotnet Generate production-ready .NET applications from OpenAPI specifications. Includes ASP.NET Core project scaffolding, controller generation… Plugin · github/awesome-copilot
- Octopus Release Notes With Mcp Generate release notes for a release in Octopus Deploy. The tools for this MCP server provide access to the Octopus Deploy APIs. Subagent · github/awesome-copilot
- C# MCP Server Expert Expert assistant for developing Model Context Protocol (MCP) servers in C# Subagent · github/awesome-copilot
- C# Expert An agent designed to assist with software development tasks for .NET projects. Subagent · github/awesome-copilot
- C#/.NET Janitor Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation. Subagent · github/awesome-copilot
- Blueprint Mode Executes structured workflows (Debug, Express, Main, Loop) with strict correctness and maintainability. Enforces an improved tool usage… Subagent · github/awesome-copilot