DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to link design docs and PDFs to the code they describe with Graphify

Put docs, PDFs, and rationale comments into the same graph as the source they explain.

Short answer: Place the docs and PDFs you want included inside the repository you will map; then run /graphify . in your assistant from the repository root; open graphify-out/GRAPH_REPORT.md and find the rationale and doc nodes it lists. All steps.

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

  1. Place the docs and PDFs you want included inside the repository you will map.
  2. Run /graphify . in your assistant from the repository root.
  3. Open graphify-out/GRAPH_REPORT.md and find the rationale and doc nodes it lists.
  4. Run graphify explain on 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer