CppDepend AI
Cursor
What Cursor reads
AGENTS.mdin the project root (nestedAGENTS.mdfiles in subfolders also work; the more specific one wins).- Project rules:
.mdcfiles in.cursor/rules/. Plain.mdfiles there are ignored. .mdcfrontmatter:description,globs(comma-separated patterns),alwaysApply(when true, the other two are ignored).
Setup
cppdepend-ai init --agents cursor
cppdepend-ai analyze --run --project MyApp.cdproj
Cursor reads AGENTS.md, so plain init is already enough. --agents cursor also adds a rule file, .cursor/rules/cppdepend.mdc, that is attached when you work on C++ files. The Claude files (CLAUDE.md, .claude/) are ignored by Cursor.
Typical requests
Use Agent mode; Cursor asks for approval to run terminal commands unless you allowlist cppdepend-ai.
Using CppDepend, what did my change introduce? List new issues with file:line.
Refactor the top hotspot, then re-run cppdepend-ai analyze --run --quiet and show the new diff.
