code-map
Installation
SKILL.md
Code Map
Create an offline canvas for exploring files, functions, relationships, behavioral topics, and review flows.
Use
/code-map codebase
/code-map pr https://github.com/owner/repo/pull/123 --draft
/code-map docs auth --files src/auth.ts,src/session.ts
Accept natural language and the harness's native invocation syntax. Interpret PR URLs as pr, named branches as branch, selected files or pasted code as a named docs target, and the whole current repository as codebase.
Generate
- Read the bundled source and delivery guide, then capture the target using this installed skill's runtime. Resolve script paths from the skill folder.
- Follow the map workflow and content schema. Use verified relationships; a directory relationship does not establish a call. Read direct source when graph tools are missing or incomplete.
- Render and inspect navigation, function drill-down, and source links. Return the offline HTML path and a concise account of coverage limitations.