{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "graphify-labs-graphify--link-docs-and-pdfs-to-code",
 "repo": "Graphify-Labs/graphify",
 "repo_url": "https://github.com/Graphify-Labs/graphify",
 "repo_slug": "graphify-labs-graphify",
 "title": "Link design docs and PDFs to the code they describe",
 "page_title": "How to link design docs and PDFs to the code they describe with Graphify",
 "summary": "Put docs, PDFs, and rationale comments into the same graph as the source they explain.",
 "who": "A team lead or engineer whose design decisions live in ADRs, RFCs, PDFs, and code comments that are hard to connect to the code.",
 "problem": "Decisions are recorded in documents, but finding which code they apply to means manual searching.",
 "outcome": "A graph where NOTE, WHY comments and ADR or RFC citations appear as nodes linked to the related code, alongside the docs themselves.",
 "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.md` and find the rationale and doc nodes it lists.",
  "Run `graphify explain` on a code node that a doc cites to see the linked rationale."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "cursor",
  "codex",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/graphify-labs-graphify/link-docs-and-pdfs-to-code/",
 "md": "https://dedupedai.com/use-cases/graphify-labs-graphify/link-docs-and-pdfs-to-code/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/graphify-labs-graphify--link-docs-and-pdfs-to-code.json",
 "api_version": "v1"
}
