/patrick-skills:scaffold-mintlify-sitefrom patrick-skills
Scaffolds a new Mintlify documentation site with a project-specific information architecture, docs.json, starter pages, assets, and local documentation toolchain. Use when creating a new Mintlify site or docs-mintlify tree; do not overwrite an existing site, author finished product content, deploy, or mutate external hosting without explicit approval.
Ships in patrick-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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). Keep publishing and hosting as a separate,
explicitly authorized phase.
This skill owns the editorial shape (IA, page set, house defaults). When the
official mintlify capability is available, use it for current component and
docs.json syntax. Otherwise inspect current Mintlify documentation instead of
guessing. The authority for the site decisions here is
references/site-playbook.md; read it
first.
Provide the project root in the request or after an explicit skill invocation.
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-mintlify-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 for:
#6366f1;
pick a deliberate color with measured contrast in light and dark.Confirm before writing files.
Before labeling a color pairing accessible or reporting a ratio, run scripts/check_contrast.py with the exact foreground and background values. Label colors provisional when the relevant surface colors are not yet known or the calculation has not been run.
Create docs-mintlify/ from the bundled assets, substituting the decided values:
docs-mintlify/
docs.json from assets/docs.json (fill name, color, nav groups)
introduction.mdx from assets/introduction.mdx
quickstart.mdx from assets/quickstart.mdx
requirements.mdx from assets/requirements.mdx
troubleshooting.mdx from assets/troubleshooting.mdx
changelog.mdx from assets/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 asset encodes a starting 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 roughly five entries.
docs (preview), docs-validate (strict validation), docs-reference
(regenerate), and docs-links (links, anchors, and redirects). Merge these
into an existing Makefile rather than replacing it.generate-mintlify-reference to add
gen_cli_reference.py / gen_mcp_reference.py and the drift CI.After scaffolding, the natural next steps are:
generate-mintlify-reference to generate the CLI/MCP/API reference and drift CI.review-mintlify-docs for the first content pass once stubs have real content.write-mintlify-changelog 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 publishing, account, Git provider, domain, or DNS changes.
agents/openai.yaml (opens in a new tab)assets/Makefile-docs.mk (opens in a new tab)assets/changelog.mdx (opens in a new tab)assets/docs.json (opens in a new tab)assets/favicon.svg (opens in a new tab)assets/introduction.mdx (opens in a new tab)assets/quickstart.mdx (opens in a new tab)assets/requirements.mdx (opens in a new tab)assets/troubleshooting.mdx (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/api-project/PROJECT_CONTEXT.md (opens in a new tab)evals/fixtures/cli-mcp-project/PROJECT_CONTEXT.md (opens in a new tab)evals/fixtures/existing-site/PROJECT_CONTEXT.md (opens in a new tab)evals/routing.json (opens in a new tab)references/site-playbook.md (opens in a new tab)scripts/check_contrast.py (opens in a new tab)scripts/detect-project-type.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
patrick-skills@patrick-plugins is listed by pdugan20/plugins — review the source before installing
npx claudepluginhub pdugan20/plugins --plugin patrick-skills18 skills in this plugin
/align-ui-to-design-systemReview one completed UI component or bounded surface against the design system evidenced in its repository, classify accidental deviations, intentional exceptions, system gaps, and uncertainty, then apply only approved corrections. Use for post-build UI conformance or normalization. Do not use for UI ideation, repository-wide audits, exact design translation, or general production hardening./analyze-ui-videoUse when a user supplies a UI screen recording or video and asks to dissect, diagnose, reverse engineer, compare expected and observed behavior, or explain how it could map to a target repository. Do not use for static screenshots, code-only motion review, video editing, or implementation requests without video evidence./animate-watercolorExtend an existing watercolor illustration family with suitable still artwork, authored reveals, transparent compositing and quiet ambient motion. Use for matching a new subject to accepted paintings, painting-in illustrations, late-detail jumps and dark-mode material defects. Not for standalone image generation, general UI transitions, unrelated generative art or video stylization; image generation requires an explicit request./audit-design-system-healthAudit one or more code repositories for design-system drift, hardcoded visual decisions, inconsistent token or primitive use, overlapping UI components, missing system capabilities, and enforceable rules. Produce a prioritized read-only health and consolidation report grounded in source and rendered evidence. Do not use for aligning one component, UI ideation, greenfield system creation, Figma-only audits, or automatic refactoring./bootstrap-repositoryUse when creating or initializing a new software repository, or turning an empty or newly generated project directory into a maintained local and GitHub-ready repository. Applies across Swift, Expo or React Native, Python, React or TypeScript, and other stacks. Do not use for auditing or modernizing an established repository, adding one CI job, implementing product features, deploying, or publishing./capture-featureUse when a user asks to snapshot, record, re-record, or prepare a web feature or prototype for review in Slack, Figma, or another lightweight sharing destination. Prefer an existing repository-native capture recipe and produce reproducible video, stills, provenance, and share copy. Do not use for analyzing a supplied recording, long narrated marketing demos, ordinary browser tests, or a one-off manual screenshot with no reusable capture intent.