Who it is forA team lead or engineer whose design decisions live in ADRs, RFCs, PDFs, and code comments that are hard to connect to the code.
The problemDecisions are recorded in documents, but finding which code they apply to means manual searching.
The outcomeA graph where NOTE, WHY comments and ADR or RFC citations appear as nodes linked to the related code, alongside the docs themselves.
What you need first
- Python 3.10 or newer
- uv (recommended) or pipx
- A supported AI coding assistant, such as Claude Code, Cursor, Codex, or Gemini CLI
- A local copy of the repository you want to map
Steps
- Place the docs and PDFs you want included inside the repository you will map.
- Run
/graphify .in your assistant from the repository root. - Open
graphify-out/GRAPH_REPORT.mdand find the rationale and doc nodes it lists. - Run
graphify explainon a code node that a doc cites to see the linked rationale.
Prompt for your agent
Using the Graphify-Labs/graphify repo, run `/graphify <repo-path>` on the target project and then `graphify explain "<code-concept>"` for one concept that an ADR or RFC cites. Expected output is the concept's connections including the doc reference; verify the doc reference appears as a node before reporting the link.
Caveat. The semantic pass over docs and media calls your assistant's model or a configured API key, so check that setting before mapping sensitive documents.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Graphify-Labs/graphify and "Link design docs and PDFs to the code they describe"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer