Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions ai/skillmd.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
## Use `skill.md` files with agents

<Note>
If you use a [reverse proxy](/deploy/reverse-proxy), configure it to forward `/skill.md` and `/.well-known/skills/*` paths (with caching disabled) to your Mintlify subdomain.

Check warning on line 29 in ai/skillmd.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/skillmd.mdx#L29

Use 'turn off' or 'off' instead of 'disabled'.
</Note>

Agents can process your `skill.md` with the [skills CLI](https://www.npmjs.com/package/skills).
Expand Down Expand Up @@ -57,3 +57,36 @@
Add a `skill.md` file to the root of your project to override the automatically generated file. If you delete a custom file, Mintlify generates a new `skill.md` file.

Write a custom file when you want precise control over how agents interact with your product. Follow the [agentskills.io specification](https://agentskills.io/specification) to ensure compatibility with agent tooling.

### Frontmatter fields

Custom `skill.md` files must start with YAML frontmatter. The following fields are supported:

Check warning on line 63 in ai/skillmd.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/skillmd.mdx#L63

Use 'yaml' instead of 'YAML'.

Check warning on line 63 in ai/skillmd.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/skillmd.mdx#L63

In general, use active voice instead of passive voice ('are supported').

| Field | Type | Description |
| --- | --- | --- |
| `name` | string | The name of your skill. |
| `description` | string | A brief description of what your skill does. |
| `license` | string | The license for your skill (e.g., `MIT`, `Apache-2.0`). |

Check warning on line 69 in ai/skillmd.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/skillmd.mdx#L69

Use 'for example' instead of 'e.g.'.
| `compatibility` | string | Requirements or compatibility notes (e.g., runtime dependencies). |

Check warning on line 70 in ai/skillmd.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/skillmd.mdx#L70

Use 'for example' instead of 'e.g.'.
| `metadata` | object | Additional metadata as string key-value pairs (e.g., `author`, `version`). |

Check warning on line 71 in ai/skillmd.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/skillmd.mdx#L71

Use 'for example' instead of 'e.g.'.
| `allowed-tools` | string | Space-delimited list of pre-approved tools the skill may use (experimental). |

### Example custom `skill.md`

```md
---
name: shell-docs
description: Build and maintain documentation sites with Mintlify. Use when creating docs pages, configuring navigation, adding components, or setting up API references.
license: MIT
compatibility: Requires Node.js for CLI. Works with any Git-based workflow.
metadata:
author: mintlify
version: "1.0"
---

# Mintlify best practices

**Always consult [mintlify.com/docs](https://mintlify.com/docs) for components, configuration, and latest features.**

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.
```
2 changes: 1 addition & 1 deletion skill.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: mintlify-docs
name: mintlify
description: Build and maintain documentation sites with Mintlify. Use when creating docs pages, configuring navigation, adding components, or setting up API references.
license: MIT
compatibility: Requires Node.js for CLI. Works with any Git-based workflow.
Expand Down