Documentation view expert for Docusaurus integration. Launches interactive server for SpecWeave living documentation with hot reload, auto-generated sidebar, and Mermaid diagrams. Works in ANY SpecWeave project with auto-setup. Supports both internal (port 3015) and public (port 3016) docs. Activates for preview docs, view documentation, Docusaurus server, docs UI, documentation website, local docs server, hot reload docs, static site build.
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Expert in launching and managing Docusaurus documentation server for SpecWeave projects.
I help you view your SpecWeave living documentation with Docusaurus:
.specweave/cache/docs-site/ (gitignored)First run (~30 seconds):
.specweave/cache/docs-site/ (internal) or .specweave/cache/docs-site-public/ (public).specweave/docs/internal/ or .specweave/docs/public/Subsequent runs (instant):
/sw-docs:view
What it does:
.specweave/docs/internal/ exists/sw-docs:view --public
What it does:
.specweave/docs/public/ exists/sw-docs:build
What it does:
.specweave/cache/docs-site/build/User: "I want to preview my docs"
You: "I'll launch the documentation view server."
[Run: /sw-docs:view]
User: "Show me my public documentation"
You: "I'll launch the public documentation server."
[Run: /sw-docs:view --public]
| Docs Type | Port | Path |
|---|---|---|
| Internal (default) | 3015 | .specweave/docs/internal/ |
| Public | 3016 | .specweave/docs/public/ |
# For internal docs
lsof -i :3015 && kill -9 $(lsof -t -i :3015)
# For public docs
lsof -i :3016 && kill -9 $(lsof -t -i :3016)
# For internal docs
rm -rf .specweave/cache/docs-site
# Then run /sw-docs:view again
# For public docs
rm -rf .specweave/cache/docs-site-public
# Then run /sw-docs:view --public again
The setup explicitly uses --registry=https://registry.npmjs.org to bypass private/corporate registry configurations.
/sw-docs:build - Build static site for deployment/sw-docs:organize - Organize large folders with themed indexes/sw-docs:health - Documentation health report/sw-docs:validate - Validate documentation before viewing