Skip to content

map-system

map-system answers β€œwhat is this β€” in our own words?” at two depths. The original skill was a deliberately tiny one: a ~30-line textual orientation map, anti-exhaustive by design. That survives as the simplified mode; a complete mode β€” now the default β€” adds one that renders a self-contained, themed HTML deck of the whole repository.

Two modes

  • simplified --no-save β€” the original micro map. Sample, do not crawl, ~one screen, in the project’s domain vocabulary. The right tool for β€œI don’t know this area, zoom me out”.
  • complete (the default) β€” an exhaustive pass that produces the human-facing β€œwhat is this project” artifact: cover, project overview and business insights, an architecture/module map as inline SVG diagrams (Mermaid pre-rendered), API contracts (when an API is detected), the data model, and the decisions of record. onboarding walks a new engineer through this deck.

Three orthogonal axes

map-system β†’ DEFAULT: complete + save + html + dark-blue
β†’ docs/system-map/<repo>.html
map-system --mode simplified --no-save β†’ the quick textual map, inline (old default)
map-system --no-save β†’ complete picture, inline
map-system --output markdown β†’ complete picture saved as markdown
map-system --theme light-jade β†’ complete deck, light-jade theme
map-system --design-from "<prompt>" β†’ complete deck, custom theme via frontend-design
  • --mode simplified | complete β€” content depth (default complete).
  • --save / --no-save β€” persist to a file or return inline (default save).
  • --output markdown | html β€” saved format (default html, the themed deck; markdown is the same content as a plain document).

Themed, and self-contained

The complete + html deck reuses the launch-release theme system β€” the same schema, presets, and --design-from synthesis via frontend-design β€” rather than inventing a styling layer. Three presets ship: dark-blue (the default β€” the GitHub dark-mode / Primer palette, #0d1117 background, #58a6ff accent), dark-jade, and light-jade. The output is a single self-contained .html file (inline styles, diagrams as inline SVG, no script runtime) β€” openable and presentable with no build step, written to docs/system-map/<repo>.html.

A new default, deliberately

A bare map-system now generates and saves the deck β€” a breaking change from the old inline micro map. The blast radius is bounded: the skill is manual-invocation only (agents must not run it on their own), and the old behaviour is one flag away (--mode simplified --no-save). It does not add a hard frontend-design dependency: preset HTML decks render deterministically from the template; frontend-design only refines the visuals when present, and is required solely for --design-from (which falls back to a preset). This is the rationale for generating and saving a complete deck by default.

Composes with

  • launch-release β€” the theme schema and presets the deck reuses.
  • frontend-design β€” refines the HTML deck and synthesizes custom themes for --design-from; an enhancer, not required for preset decks.
  • audit-contracts β€” the API-detection heuristics for the contracts section.
  • onboarding β€” presents the complete deck during the ramp.

Source: skills/map-system/SKILL.md