Skip to content

skilldrop·docs·How-to

Use context-graph

Map the decisions behind a codebase from its ADRs, RFCs and design records

Map the decisions behind a codebase from its ADRs, RFCs and design records — each record's status and date, what supersedes or amends what, which records cite which, the files and folders each decision governs, and with git the commits that implemented it and the commits that changed each decision's code since it was made, and who made them — then answer "why is it like this?" from the record and check the record is still true. Finds supersessions only one side records, current decisions pointing at code that is gone, code that has drifted from its decision, two current decisions governing the same path, and references to records that don't exist.

Reach for it when the user asks "why do we use X", "which decisions govern this file or service", "is this ADR still current", "has the code drifted since we decided this", "are our ADRs out of date", "what was decided before I change this", wants a map of the architecture decisions, or is onboarding onto a codebase's history.

Install it

npx skilldrop-cli install context-graph                 # Claude Code, your user folder
npx skilldrop-cli install context-graph --project       # Claude Code, this repo
npx skilldrop-cli install context-graph --ide cursor    # or kiro, codex, antigravity, copilot

It is part of the Core pack: --pack core installs it with its neighbours.

It ships scripts, so it needs Python 3 (standard library only, nothing to install). What they may touch is declared in its manifest.

Ask for it

Say it the way you would to a colleague. Requests like these route to it:

Requests like these belong to a different skill, so it shouldn't answer them:

If another skill answers instead, ask for this one by name: "use context-graph".

Check what you get

A good result:

See a worked example

Use something else when

Where a loop runs it

Next

Edit this page on GitHub · View source