codegraph cursor rules

5 tagged codegraph, measured the same way as everything else here.

mtrdesign/whygraph

Cursor rule

When the user has a reviewed WhyGraph plan markdown file and wants to execute it — "implement that plan", "execute the plan at ", "run through the steps", "carry out the plan", "let's apply the plan" — surface the /whygraph-implement slash command. Cost-gated — don't run /whygraph-implement automatically; the user…

4 25d ago A 78 tokens

mtrdesign/whygraph

Cursor rule

When the user wants to plan a non-trivial code change — "plan how to add X", "what would it take to migrate to Y", "outline the steps to refactor Z" — surface the /whygraph-plan slash command. The planner grounds the plan in CodeGraph (structural impact) and WhyGraph (rationale, constraints, risks). Cost-gated — don't…

4 25d ago A 90 tokens

whygraph-pre-edit

03

mtrdesign/whygraph

Cursor rule

Before editing, refactoring, renaming, deleting, or replacing existing code, call the whygraphrationalebrief MCP tool to learn the intent, constraints, tradeoffs, and risks behind it. Skip for new code, typos, or formatter-only changes.

4 25d ago A 54 tokens