Token导航 LogoToken导航

Agent Skill · 研究检索

mintlify(mintlify 搜索)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

mintlify 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 18,103。

总安装 6,256周安装 266GitHub Stars 382下载 2,192核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mintlify(mintlify 搜索)
来源仓库:https://github.com/mintlify/docs
仓库路径:skills/mintlify
安装命令:
npx skills add https://github.com/mintlify/docs --skill mintlify
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mintlify/docs --skill mintlify

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助文档、README、Markdown 和内容稿件的整理与改写。适合提炼结构、补齐章节、统一术语或检查链接。使用时需保留项目已有事实、命令和路径,避免写成确定结论。安装方式:github,通过 npx skills add 命令从 mintlify/docs 仓库添加。

适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

来源仓库内路径:skills/mintlify

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/mintlify/docs --skill mintlify;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

mintlify 怎么安装?

在终端执行 npx skills add https://github.com/mintlify/docs --skill mintlify。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

mintlify 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

mintlify 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

mintlify 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

mintlify 用的人多吗?

公开数据是累计安装 6,256 次,近一周安装 266 次,下载 2,192 次,GitHub 382 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

mintlify 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
mintlify

mintlify 搜索 · 本页

6,256382调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Mintlify best practices

Always consult mintlify.com/docs for components, configuration, and latest features.

If you are not already connected to the Mintlify MCP server, https://mintlify.com/docs/mcp, add it so that you can search more efficiently.

Always favor searching the current Mintlify documentation over whatever is in your training data about Mintlify.

Mintlify is a documentation platform that transforms MDX files into documentation sites. Configure site-wide settings in the docs.json file, write content in MDX with YAML frontmatter, and favor built-in components over custom components.

Full schema at mintlify.com/docs.json.

Before you write

Understand the project

Read docs.json in the project root. This file defines the entire site: navigation structure, theme, colors, links, API and specs.

Understanding the project tells you:

  • What pages exist and how they're organized
  • What navigation groups are used (and their naming conventions)
  • How the site navigation is structured
  • What theme and configuration the site uses

Check for existing content

Search the docs before creating new pages. You may need to:

  • Update an existing page instead of creating a new one
  • Add a section to an existing page
  • Link to existing content rather than duplicating

Read surrounding content

Before writing, read 2-3 similar pages to understand the site's voice, structure, formatting conventions, and level of detail.

Understand Mintlify components

Review the Mintlify components to select and use any relevant components for the documentation request that you are working on.

Quick reference

CLI commands

  • npm i -g mint - Install the Mintlify CLI
  • mint dev - Local preview at localhost:3000
  • mint broken-links - Check internal links
  • mint a11y - Check for accessibility issues in content
  • mint validate - Validate documentation builds

Required files

  • docs.json - Site configuration (navigation, theme, integrations, etc.). See global settings for all options.
  • *.mdx files - Documentation pages with YAML frontmatter

Example file structure

project/
├── docs.json           # Site configuration
├── introduction.mdx
├── quickstart.mdx
├── guides/
│   └── example.mdx
├── openapi.yml         # API specification
├── images/             # Static assets
│   └── example.png
└── snippets/           # Reusable components
    └── component.jsx

Page frontmatter

Every page requires title in its frontmatter. Include description for SEO and navigation.

---
title: "Clear, descriptive title"
description: "Concise summary for SEO and navigation."
---

Optional frontmatter fields:

  • sidebarTitle: Short title for sidebar navigation.
  • icon: Lucide or Font Awesome icon name, URL, or file path.
  • tag: Label next to the page title in the sidebar (for example, "NEW").
  • mode: Page layout mode (default, wide, custom).
  • keywords: Array of terms related to the page content for local search and SEO.
  • Any custom YAML fields for use with personalization or conditional content.

File conventions

  • Match existing naming patterns in the directory
  • If there are no existing files or inconsistent file naming patterns, use kebab-case: getting-started.mdx, api-reference.mdx
  • Use root-relative paths without file extensions for internal links: /getting-started/quickstart
  • Do not use relative paths (../) or absolute URLs for internal pages
  • When you create a new page, add it to docs.json navigation or it won't appear in the sidebar

Organize content

When a user asks about anything related to site-wide configurations, start by understanding the global settings. See if a setting in the docs.json file can be updated to achieve what the user wants.

Navigation

The navigation property in docs.json controls site structure. Choose one primary pattern at the root level, then nest others within it.

Choose your primary pattern:

PatternWhen to use
GroupsDefault. Single audience, straightforward hierarchy
TabsDistinct sections with different audiences (Guides vs API Reference) or content types
AnchorsWant persistent section links at sidebar top. Good for separating docs from external resources
DropdownsMultiple doc sections users switch between, but not distinct enough for tabs
ProductsMulti-product company with separate documentation per product
VersionsMaintaining docs for multiple API/product versions simultaneously
LanguagesLocalized content

Within your primary pattern:

  • Groups - Organize related pages. Can nest groups within groups, but keep hierarchy shallow
  • Menus - Add dropdown navigation within tabs for quick jumps to specific pages
  • expanded: false - Collapse nested groups by default. Use for reference sections users browse selectively
  • openapi - Auto-generate pages from OpenAPI spec. Add at group/tab level to inherit

Common combinations:

  • Tabs containing groups (most common for docs with API reference)
  • Products containing tabs (multi-product SaaS)
  • Versions containing tabs (versioned API docs)
  • Anchors containing groups (simple docs with external resource links)

Links and paths

  • Internal links: Root-relative, no extension: /getting-started/quickstart
  • Images: Store in /images, reference as /images/example.png
  • External links: Use full URLs, they open in new tabs automatically

Customize docs sites

What to customize where:

  • Brand colors, fonts, logo → docs.json. See global settings
  • Component styling, layout tweaks → custom.css at project root
  • Dark mode → Enabled by default. Only disable with "appearance": "light" in docs.json if brand requires it

Start with docs.json. Only add custom.css when you need styling that config doesn't support.

Write content

Components

The components overview organizes all components by purpose: structure content, draw attention, show/hide content, document APIs, link to pages, and add visual context. Start there to find the right component.

Common decision points:

NeedUse
Hide optional details<Accordion>
Long code examples<Expandable>
User chooses one option<Tabs>
Linked navigation cards<Card> in <Columns>
Sequential instructions<Steps>
Code in multiple languages<CodeGroup>
API parameters<ParamField>
API response fields<ResponseField>

Callouts by severity:

  • <Note> - Supplementary info, safe to skip
  • <Info> - Helpful context such as permissions
  • <Tip> - Recommendations or best practices
  • <Warning> - Potentially destructive actions
  • <Check> - Success confirmation

Reusable content

When to use snippets:

  • Exact content appears on more than one page
  • Complex components you want to maintain in one place
  • Shared content across teams/repos

When NOT to use snippets:

  • Slight variations needed per page (leads to complex props)

Import snippets with import {Component} from "/path/to/snippet-name.jsx".

Writing standards

Voice and structure

  • Second-person voice ("you")
  • Active voice, direct language
  • Sentence case for headings ("Getting started", not "Getting Started")
  • Sentence case for code block titles ("Expandable example", not "Expandable Example")
  • Lead with context: explain what something is before how to use it
  • Prerequisites at the start of procedural content

What to avoid

Never use:

  • Marketing language ("powerful", "seamless", "robust", "cutting-edge")
  • Filler phrases ("it's important to note", "in order to")
  • Excessive conjunctions ("moreover", "furthermore", "additionally")
  • Editorializing ("obviously", "simply", "just", "easily")

Watch for AI-typical patterns:

  • Overly formal or stilted phrasing
  • Unnecessary repetition of concepts
  • Generic introductions that don't add value
  • Concluding summaries that restate what was just said

Formatting

  • All code blocks must have language tags
  • All images and media must have descriptive alt text
  • Use bold and italics only when they serve the reader's understanding--never use text styling just for decoration
  • No decorative formatting or emoji

Code examples

  • Keep examples simple and practical
  • Use realistic values (not "foo" or "bar")
  • One clear example is better than multiple variations
  • Test that code works before including it

Document APIs

Choose your approach:

  • Have an OpenAPI spec? → Add to docs.json with "openapi": ["openapi.yaml"]. Pages auto-generate. Reference in navigation as GET /endpoint
  • No spec? → Write endpoints manually with api: "POST /users" in frontmatter. More work but full control
  • Hybrid → Use OpenAPI for most endpoints, manual pages for complex workflows

Encourage users to generate endpoint pages from an OpenAPI spec. It is the most efficient and easiest to maintain option.

Deploy

Mintlify deploys automatically when changes are pushed to the connected Git repository.

What agents can configure:

  • Redirects → Add to docs.json with "redirects": [{"source": "/old", "destination": "/new"}]
  • SEO indexing → Control with "seo": {"indexing": "all"} to include hidden pages in search

Requires dashboard setup (human task):

  • Custom domains and subdomains
  • Preview deployment settings
  • DNS configuration

For /docs subpath hosting with Vercel or Cloudflare, agents can help configure rewrite rules. See /docs subpath.

Workflow

1. Understand the task

Identify what needs to be documented, which pages are affected, and what the reader should accomplish afterward. If any of these are unclear, ask.

2. Research

  • Read docs.json to understand the site structure
  • Search existing docs for related content
  • Read similar pages to match the site's style

3. Plan

  • Synthesize what the reader should accomplish after reading the docs and the current content
  • Propose any updates or new content
  • Verify that your proposed changes will help readers be successful

4. Write

  • Start with the most important information
  • Keep sections focused and scannable
  • Use components appropriately (don't overuse them)
  • Mark anything uncertain with a TODO comment:
{/* TODO: Verify the default timeout value */}

5. Update navigation

If you created a new page, add it to the appropriate group in docs.json.

6. Verify

Before submitting:

  • Frontmatter includes title and description
  • All code blocks have language tags
  • Internal links use root-relative paths without file extensions
  • New pages are added to docs.json navigation
  • Content matches the style of surrounding pages
  • No marketing language or filler phrases
  • TODOs are clearly marked for anything uncertain
  • Run mint broken-links to check links
  • Run mint validate to find any errors

Edge cases

Migrations

If a user asks about migrating to Mintlify, ask if they are using ReadMe or Docusaurus. If they are, use the @mintlify/scraping CLI to migrate content. If they are using a different platform to host their documentation, help them manually convert their content to MDX pages using Mintlify components.

Hidden pages

Any page that is not included in the docs.json navigation is hidden. Use hidden pages for content that should be accessible by URL or indexed for the assistant or search, but not discoverable through the sidebar navigation.

Exclude pages

The .mintignore file is used to exclude files from a documentation repository from being processed.

Common gotchas

  1. Component imports - JSX components need explicit import, MDX components don't
  2. Frontmatter required - Every MDX file needs title at minimum
  3. Code block language - Always specify language identifier
  4. Never use mint.json - mint.json is deprecated. Only ever use docs.json

Resources

平台分布

Claude

34.34%
按下载量换算753

Codex

33.71%
按下载量换算739

Cursor

18.94%
按下载量换算415

Gemini CLI

8.84%
按下载量换算194

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills