/generate-docs
Installable Ships in documentation-generator — or copy the raw command below.
Paste into Claude Code, Claude.ai, the desktop app, or the browser extension — ⌘/Ctrl+V. ✓ Copied. Switch to Claude and paste — ⌘/Ctrl+V.
ExperimentalNo security review
/generate-docs — Documentation Generator Dispatcher
Dispatch to the right documentation skill based on $ARGUMENTS.
Routing logic
| Input pattern | Dispatches to |
|---|---|
sdd / solution design / design doc / ticket reference (PROJ-NNN) |
solution-design-doc skill |
adr / decision / architecture decision |
adr-writer skill |
runbook / ops guide / operational |
runbook-generator skill |
onboarding / new joiner / dev guide / editor guide |
onboarding-guide skill |
diagram / c4 / mermaid / architecture diagram |
diagram-suite skill |
stale / audit / sync / update docs / living docs |
living-docs-sync skill |
No argument or help |
Show menu (see below) |
Behaviour
- Parse
$ARGUMENTSusing the routing table. - State which skill is being dispatched to and why (one sentence).
- Run that skill's full methodology — do not shortcut.
- If the argument matches two or more skills, ask the user to clarify before dispatching.
- If no argument is provided, show the menu below and wait for a choice.
Menu (shown when no argument)
Documentation Generator — what do you need?
1. solution-design-doc — Generate a Solution Design Document from code and tickets
2. adr-writer — Author an Architecture Decision Record (MADR format)
3. runbook-generator — Generate an operational runbook for an environment or service
4. onboarding-guide — Generate a developer or editor onboarding guide
5. diagram-suite — Generate C4, sequence, and MACH-layer diagrams
6. living-docs-sync — Audit and update stale documentation
Reply with a number, a keyword, or describe what you need.
Quick reference
/generate-docs sdd PROJ-42 search integration
/generate-docs adr use Azure Service Bus instead of direct webhooks
/generate-docs runbook production Sitecore XM Cloud + Azure App Service
/generate-docs onboarding developer ACME project
/generate-docs diagram Sitecore XM Cloud + Coveo + Dynamics 365
/generate-docs audit docs/
Technical details
- Source
- documentation-generator
- Author
- Dakota Smith
- Invocation
/generate-docs- Maturity
- experimental
- Security review
- No security review
- Owners
-
- engineering
- File
plugins/documentation-generator/commands/generate-docs.md
Edit this command on GitHub — opens GitHub's web editor. No git knowledge needed.