From mintlify-docs
This skill should be used when the user asks to "scaffold a docs site", "set up Mintlify", "create a docs-mintlify directory", "stand up docs", "bootstrap documentation", or wants a new Mintlify docs site for a project. Generates a docs-mintlify/ tree with a topic-grouped IA, docs.json, page stubs, generators, Makefile targets, and the mirror sync + drift CI, all in house style.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mintlify-docs:scaffold-mintlify-site [project root][project root]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Stand up a new Mintlify docs site for a project in the house style. The output is
Stand up a new Mintlify docs site for a project in the house style. The output is
a docs-mintlify/ tree authored in the product repo (so generators and
anti-drift CI sit next to the code), wired for the org/mirror hosting model.
This skill owns the editorial shape (IA, page set, house defaults). For component
syntax and docs.json schema details, defer to the official mintlify plugin.
The authority for every decision here is
${CLAUDE_PLUGIN_ROOT}/references/best-practices.md; read it first.
Invoke with /scaffold-mintlify-site [project root]. The skill runs in three
phases: detect and decide (below), generate the tree, then wire the toolchain.
It is non-destructive: it never overwrites an existing docs-mintlify/.
Check for an existing docs-mintlify/ (or docs/, website/). If found, offer
to review/extend it (hand off to review-docs) rather than scaffold over it.
Run scripts/detect-project-type.sh (or read
pyproject.toml / package.json / look for an OpenAPI spec). Determine which of
these the project has, since they drive the IA and the reference tab:
console_scripts / bin entry point)If the project is an MCP server, the Claude (MCP) nav group is mandatory.
Present 2 to 3 options plus a recommendation (best-practices section 5) for:
#6366f1;
pick a deliberate color with AA contrast in light and dark (section 6).Confirm before writing files.
Create docs-mintlify/ from the templates, substituting the decided values:
docs-mintlify/
docs.json from templates/docs.json (fill name, color, nav groups)
introduction.mdx from templates/introduction.mdx
quickstart.mdx from templates/quickstart.mdx
requirements.mdx from templates/requirements.mdx
troubleshooting.mdx from templates/troubleshooting.mdx
changelog.mdx from templates/changelog.mdx
guides/ one stub per decided how-to
concepts/ architecture (+ design / mcp-server if relevant)
reference/ cli.mdx / mcp-tools.mdx / configuration.mdx as relevant
logo/ placeholder light.svg / dark.svg (note: replace in visual pass)
favicon.svg placeholder adaptive favicon
The docs.json template already encodes the canonical IA: a Guides tab with
topic groups and a Reference tab split into CLI / MCP groups. Delete the
groups the project does not need; never leave a flat how-to list longer than ~5
entries (section 3).
docs (preview), docs-reference (regenerate), docs-links (broken-links).document-reference skill to add
gen_cli_reference.py / gen_mcp_reference.py and the drift CI.After scaffolding, the natural next steps are:
document-reference to generate the CLI/MCP/API reference and drift CI.review-docs to do the first content pass once stubs have real content.changelog-writer for the first changelog entry at first release.This skill creates the initial tree, docs.json, stubs, and toolchain wiring. It
does not write finished page content (that is an authoring pass) and does not
perform the browser-only hosting steps (it guides them).
npx claudepluginhub pdugan20/pdugan20-plugins --plugin mintlify-docsCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.