repo-map-wikilisted
Install: claude install-skill e128/dotnet-reference
# Repo-Map Wiki Builder
Build a multi-audience, pyramid-structured wiki for a product area by investigating its
source repositories. The output is a self-contained documentation set under `docs/` that
routes readers by role to the right depth of information.
**Default output: Tufte Dracula HTML** — self-contained `.html` files with inlined CSS,
client-side Mermaid rendering, and sortable tables. Pass `--format md` for plain markdown.
**Arguments:** `$ARGUMENTS`
---
## Output Format
**HTML (default).** Self-contained `.html` files with the Dracula-Tufte theme — inlined
CSS/JS, `<pre class="mermaid">` diagrams with click-to-zoom, sortable booktabs tables, and
relative-link nav. Read [references/html-format.md](references/html-format.md) at generation
time and follow its skeleton exactly.
**Markdown (`--format md`).** Same structure and content; `.md` files with standard fenced
Mermaid blocks.
---
## Convention Profile Detection
Before generating, check if the target already has a `docs/` structure:
1. **Existing-docs profile** — if `docs/index.html` (or `docs/index.md`) exists at the target path:
- Use the existing `docs/` layout (overview/, architecture/, engineering/, guides/, reference/)
- Integrate generated files into the existing tree -- do not duplicate or overwrite
2. **Fresh profile** — if no `docs/` directory exists:
- Create a fresh `docs/` tree with the full structure below
---
## What This Produces
A `docs/` directory of 15–20 files across fi