/patrick-skills:generate-mintlify-referencefrom patrick-skills
Generates drift-checked CLI, MCP, or API reference documentation for a Mintlify site from authoritative sources and wires regeneration checks. Use when adding or repairing source-backed Mintlify reference pages; do not use for hand-authored guides, source-code docstrings, or non-documentation code generation.
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.
Set up generated, drift-checked reference pages for a Mintlify site. The governing principle is that reference pages are never hand-edited. A generator reads the source of truth (the CLI's help, the live MCP instance, or the OpenAPI specification) and emits MDX; CI regenerates and fails on drift, so the reference cannot go stale.
When the official mintlify capability is available, use it for current
<ParamField>, <Tabs>, and docs.json syntax. Otherwise inspect the site's
existing components and current Mintlify documentation instead of guessing.
The patterns this skill enforces are in
references/reference-patterns.md.
Use the requested target from the user's prompt, including any text supplied
after an explicit skill invocation. The target is one of cli, mcp, api.
reference/cli.mdx (and per-domain reference/cli/*.mdx)
from the CLI's own help/introspection. Template:
scripts/gen_cli_reference.py.reference/mcp-tools.mdx (and per-domain
reference/mcp-tools/*.mdx) by introspecting the live MCP server. Template:
scripts/gen_mcp_reference.py.docs.json openapi wiring; this
skill only adds the house framing (overview landing page, the "From Claude"
nudge, description/icon).console_scripts in pyproject.toml, a
bin in package.json, or the main/argparse/click/typer module).openapi.json/openapi.yaml) or the generator
that emits it.Copy the matching template from scripts/ into the product repo's
scripts/ directory and adapt the marked ADAPT points (import paths, output
path, header text). The generator must:
{/* GENERATED by scripts/<name> — do not edit by hand. */} banner.<ParamField> or parameter tables per
references/reference-patterns.md.Add a docs-reference make target that runs the generators, and a CI job ("Docs
Reference Freshness") that regenerates and fails on drift. The CI snippet is in
references/reference-patterns.md.
Once a reference has more than a handful of commands/tools, split it into
per-domain pages with an overview landing, and
add the group to docs.json Reference tab. Keep the generator emitting one file
per domain.
Run make docs-reference (or the generators directly), then mint validate and
mint broken-links --check-anchors --check-redirects. Run the generator again
and verify the committed output remains unchanged.
This skill produces generators and the reference MDX they emit, plus the drift CI
wiring. It does not write hand-authored guides or concepts pages (use
review-mintlify-docs) and does not touch the changelog (use
write-mintlify-changelog).
agents/openai.yaml (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/api/PROJECT_CONTEXT.md (opens in a new tab)evals/fixtures/cli/PROJECT_CONTEXT.md (opens in a new tab)evals/fixtures/mcp/PROJECT_CONTEXT.md (opens in a new tab)evals/routing.json (opens in a new tab)references/reference-patterns.md (opens in a new tab)scripts/gen_cli_reference.py (opens in a new tab)scripts/gen_mcp_reference.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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.