mintlify

使用 Mintlify 创建开发者文档的工具。适用于请求“创建文档网站”、“Mintlify”、“开发者文档”、“API 文档”、“像 Stripe 一样美观的文档”或“支持 AI 搜索的文档平台”的场景,涵盖页面创建、API 参考生成、组件、数据分析与 AI 聊天功能。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "mintlify":https://skillpi.com/zh/skills/deepskill-b774545849444981946597d8713d7bfebed1f58cbc3f5433751d2b18204d1314。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用 Mintlify 创建开发者文档的工具。适用于请求“创建文档网站”、“Mintlify”、“开发者文档”、“API 文档”、“像 Stripe 一样美观的文档”或“支持 AI 搜索的文档平台”的场景,涵盖页面创建、API 参考生成、组件、数据分析与 AI 聊天功能。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

适合谁
翻译待完成,请参阅来源文档。
软件、账号及付费要求
贝什
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: mintlify
description: >-
  Create beautiful developer documentation with Mintlify — AI-powered docs
  platform. Use when someone asks to "create documentation site", "Mintlify",
  "developer docs", "API documentation", "beautiful docs like Stripe", or
  "documentation platform with AI search". Covers page creation, API reference
  generation, components, analytics, and AI chat.
license: Apache-2.0
compatibility: "MDX. Hosted or self-hosted. GitHub integration."
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: content
  tags: ["documentation", "mintlify", "docs", "api-reference", "developer-experience"]

Mintlify

Overview

Mintlify is a documentation platform that makes developer docs look like Stripe's — beautiful by default, with built-in API reference generation, AI-powered search, analytics, and MDX components. Write in MDX, push to GitHub, docs deploy automatically. Includes interactive API playground, versioning, and AI chatbot trained on your docs.

When to Use

  • Creating documentation for an API or developer product
  • Want beautiful docs without building a custom site
  • Need interactive API reference with try-it-now playground
  • Want AI-powered search and chatbot for your docs
  • Replacing ReadMe, GitBook, or Docusaurus with something prettier

Instructions

Setup

# Install CLI
npm install -g mintlify

# Initialize in your project
mintlify init

# Local development
mintlify dev

Configuration

// mint.json — Documentation configuration
{
  "name": "My Product",
  "logo": {
    "dark": "/logo/dark.svg",
    "light": "/logo/light.svg"
  },
  "favicon": "/favicon.svg",
  "colors": {
    "primary": "#0D9373",
    "light": "#07C983",
    "dark": "#0D9373"
  },
  "navigation": [
    {
      "group": "Getting Started",
      "pages": ["introduction", "quickstart", "authentication"]
    },
    {
      "group": "API Reference",
      "pages": [
        "api-reference/overview",
        {
          "group": "Users",
          "pages": [
            "api-reference/users/list",
            "api-reference/users/create",
            "api-reference/users/get",
            "api-reference/users/update"
          ]
        }
      ]
    },
    {
      "group": "Guides",
      "pages": ["guides/webhooks", "guides/rate-limits", "guides/errors"]
    }
  ],
  "api": {
    "baseUrl": "https://api.myproduct.com",
    "auth": { "method": "bearer" }
  },
  "topbarLinks": [
    { "name": "Dashboard", "url": "https://app.myproduct.com" }
  ],
  "tabs": [
    { "name": "API Reference", "url": "api-reference" },
    { "name": "SDKs", "url": "sdks" }
  ],
  "footerSocials": {
    "github": "https://github.com/myproduct",
    "twitter": "https://twitter.com/myproduct"
  }
}

Writing Pages

---
title: "Quickstart"
description: "Get up and running in 5 minutes"
---

## Install the SDK

<CodeGroup>
```bash npm
npm install @myproduct/sdk
yarn add @myproduct/sdk
pnpm add @myproduct/sdk

</CodeGroup>

Initialize

import { MyProduct } from "@myproduct/sdk";

const client = new MyProduct({
  apiKey: process.env.MYPRODUCT_API_KEY,
});

<Note> Never expose your API key in client-side code. Use environment variables. </Note>

Make your first request

<Steps> <Step title="Create a resource">

    const resource = await client.resources.create({
      name: "My First Resource",
    });

</Step> <Step title="Verify it worked">

    const fetched = await client.resources.get(resource.id);
    console.log(fetched.name); // "My First Resource"

</Step> </Steps>

<Card title="Full API Reference" icon="code" href="/api-reference"> Explore all available endpoints </Card>


### API Reference Pages

```mdx
---
title: "Create User"
api: "POST https://api.myproduct.com/v1/users"
description: "Create a new user account"
---

<ParamField body="email" type="string" required>
  User's email address
</ParamField>

<ParamField body="name" type="string" required>
  Full name (2-100 characters)
</ParamField>

<ParamField body="role" type="string" default="user">
  One of: `user`, `admin`
</ParamField>

<ResponseExample>
```json 200
{
  "id": "usr_1a2b3c",
  "email": "kai@example.com",
  "name": "Kai",
  "role": "user",
  "created_at": "2026-02-26T12:00:00Z"
}
{
  "error": "validation_error",
  "message": "Email is required"
}

</ResponseExample>



## Examples

### Example 1: Document an API from OpenAPI spec

**User prompt:** "Generate documentation for my REST API from our OpenAPI spec."

The agent will convert the OpenAPI spec to Mintlify pages, create navigation structure, add code examples in multiple languages, and set up the API playground.

### Example 2: Create product docs with guides

**User prompt:** "Set up documentation for our SaaS product — quickstart, guides, and API reference."

The agent will initialize Mintlify, create the navigation structure, write quickstart and guide pages with MDX components, and configure deployment.

## Guidelines

- **MDX for rich content** — use components like `<Note>`, `<Card>`, `<Steps>`, `<CodeGroup>`
- **`mint.json` is the config** — navigation, branding, API settings
- **API pages auto-generate playground** — users can try API calls from the docs
- **`mintlify dev` for local preview** — hot reload during writing
- **GitHub integration** — push to repo, docs deploy automatically
- **AI chatbot** — trained on your docs, answers user questions
- **OpenAPI import** — `mintlify openapi <spec.yaml>` generates API reference pages
- **Versioning** — support multiple API versions
- **Analytics built-in** — see which pages are popular, where users drop off
- **Custom domains** — `docs.myproduct.com`

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供 Mintlify 文档平台的完整使用指南,解决开发者创建美观文档的实际需求
  • 涵盖配置、页面编写、API 参考生成、组件使用等核心功能,实用性强
触发精准95/100

亮点

  • 触发词覆盖全面,包括多种常见文档创建场景和 Mintlify 相关关键词
  • 边界清晰,变体合理,能有效匹配用户意图
结构规范95/100

亮点

  • 文档结构清晰,章节完整,包含配置示例和代码片段
  • frontmatter 完整,单文件长度适中,易于理解
执行可靠90/100

亮点

  • 工具来源明确,参数示例正确,涵盖主要使用场景
  • 未发现明显执行漏洞,可靠性良好
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 38, 118 行
  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 134, 139 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • api.myproduct.com
  • app.myproduct.com
  • github.com
  • twitter.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

贝什

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。