mintlify
Comprehensive reference for building Mintlify documentation sites. Use when creating pages, configuring docs.json, adding components, setting up navigation, or working with API references. Routes to detailed reference files for all components and configuration options.
Security Assessment
Detected risks:
About mintlify
The mintlify skill is a comprehensive reference for building Mintlify documentation sites. It is used when creating pages, configuring docs.json, adding components, setting up navigation, or working with API references. The main file covers essentials that apply to every task and routes to detailed reference files for the full set of components and configuration options, so that documentation work stays consistent with Mintlify conventions.
It provides a reference index pointing to reference/components.md (callouts, cards, steps, tabs, accordions, code groups, and more), reference/configuration.md (docs.json settings such as theme, colors, logo, fonts, navbar, footer, redirects, SEO, snippets, frontmatter fields), reference/navigation.md (groups, tabs, anchors, dropdowns, products, versions, languages), and reference/api-docs.md (OpenAPI, AsyncAPI, MDX API pages, playground config). The skill uses MDX files (.mdx or .md) with YAML frontmatter, documents a standard project structure with docs.json as the required configuration file, and specifies file naming (kebab-case), internal links (root-relative paths without extensions), and image handling (in an images/ directory with descriptive alt text). It details required and common frontmatter fields like title, description, sidebarTitle, icon, tag, hidden, mode, keywords, api, and openapi, and gives quick examples of callouts (Note, Info, Tip, Warning, Check, Danger), Steps, Tabs, CodeGroup, Cards, Columns, and Accordions. CLI commands include npm i -g mint, mint dev, mint broken-links, mint a11y, mint validate, and mint upgrade.
It targets technical writers and developers maintaining Mintlify docs, and it enforces writing standards such as second-person voice, active voice, sentence case headings, language tags on all code blocks, and alt text on all images, while avoiding marketing language and emoji. The skill advises reading docs.json first, searching for existing content before creating pages, and reviewing 2-3 similar pages to match voice and structure. It notes common mistakes like missing code-block language tags, relative instead of root-relative links, forgetting to add new pages to docs.json navigation, and images without alt text. It works with any Mintlify documentation project and requires a docs.json configuration file.
FAQ
What does this skill require to work?
It works with any Mintlify documentation project and requires a docs.json configuration file, which defines the site's navigation, theme, colors, and configuration. The skill advises reading docs.json first before making changes.
What file format do Mintlify pages use?
Mintlify uses MDX files (.mdx or .md) with YAML frontmatter. Every page requires a title in its frontmatter, and description and keywords are recommended for SEO.
How should internal links and images be handled?
Internal links use root-relative paths without file extensions (e.g. /getting-started/quickstart), not relative paths (../) or absolute URLs. Images are stored in an images/ directory, referenced with root-relative paths, and all images require descriptive alt text.
What CLI commands are available?
npm i -g mint installs the CLI; mint dev gives a local preview at localhost:3000; mint broken-links checks internal links; mint a11y checks accessibility; mint validate validates that documentation builds; and mint upgrade upgrades from mint.json to docs.json.
What are common mistakes the skill warns about?
Missing a language tag on a code block, using relative paths instead of root-relative ones, forgetting to add new pages to docs.json navigation, images without alt text, and adding file extensions to internal links (/page.mdx instead of /page).
Install mintlify
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
codewithshreyans/skills