knowledge-graph
Installation
SKILL.md
Knowledge Graph — Document Relationship Mapping
Parse markdown files to build a map of how a project's documents connect. Useful for orientation (what exists, how it's organized), finding related content before writing or reviewing, and maintenance (orphans, broken links, missing back-links).
What It Parses
The bundled resources/graph.py script extracts relationships from these patterns:
- Markdown links —
[text](path)explicit references between documents - Wikilinks —
[[entity-name]]shorthand references common in knowledge bases - Mermaid relationship blocks —
graph,flowchart, and relationship lines in fenced mermaid blocks - YAML front matter references — fields like
arc,chapter,characters,locationthat connect documents by metadata - Entity mentions — names and terms that appear across documents without explicit links