CppDepend AI
GitHub Copilot
What Copilot reads
| Feature | Location |
|---|---|
| Repository-wide instructions | .github/copilot-instructions.md |
| Path-specific instructions | .github/instructions/*.instructions.md |
| Instructions for third-party agents | AGENTS.md |
| Agent skills (project) | .github/skills/<name>/SKILL.md, .claude/skills/<name>/SKILL.md or .agents/skills/<name>/SKILL.md |
After cppdepend-ai init, Copilot sees the AGENTS.md block and the cppdepend skill in .claude/skills/, with no extra file.
In VS Code, check that AGENTS.md appears among the always-on instruction files in the Agent Customizations view.
Setup
cppdepend-ai init --agents copilot
cppdepend-ai analyze --run --project MyApp.cdproj
--agents copilot adds a short CppDepend block to .github/copilot-instructions.md (your own text in that file is kept). It is optional: Copilot already reads AGENTS.md without it.
Typical requests
Use Copilot Chat in Agent mode. The first time, VS Code asks you to confirm running cppdepend-ai in the terminal.
Review my change with CppDepend: new issues, grown methods, new cycles. Cite file:line.
Fix the Critical issues in src/net and re-run the analysis.
Cloud agent and code review on GitHub
A GitHub-hosted runner needs your code built, CppDepend installed and licensed, and cppdepend-ai on PATH. It is usually simpler to run the analysis in your own CI (CI guide) and let the agent read the uploaded cppdependai/ artifact.
