doc-system-generator
Installation
SKILL.md
Doc System Generator
Analyze any project → derive optimal grouping → generate complete Markdown documentation system → self-check completeness.
Workflow
Phase 0: Environment Probe
- Detect existing docs: Check for
docs/,doc/,documentation/, or any.mdfiles at project root - Detect entry file: Check for
AGENTS.md,CLAUDE.md,GEMINI.md,README.md - Decision point:
- Existing docs found → present two equal options to user (no default):
- Option A: Respect existing structure + suggest improvements
- Option B: Full redesign from scratch
- No existing docs → proceed directly to Phase 1
- Existing docs found → present two equal options to user (no default):
- Deploy tool: Copy
scripts/md-sections.shto project'sscripts/directory (create if needed)- Fallback: If md-sections.sh fails (corrupted Markdown, exotic separators), use AI Agent's native Read/Grep tools directly. No additional parser needed.
- Scope boundary: Online documentation platforms (Notion, Confluence, GitBook) are out of scope — they require API tokens and have their own navigation