Skip to content

Conversation

@cdxker
Copy link
Contributor

@cdxker cdxker commented Jan 24, 2026

Added documentation for YAML frontmatter support in custom skill.md files, including all supported fields and a complete example.


Created by Mintlify agent


Note

Adds documentation for custom skill.md frontmatter and example; minor metadata tweak in root skill.md.

  • Documents supported YAML frontmatter fields for custom skill.md and provides a complete example in ai/skillmd.mdx
  • Updates root skill.md frontmatter name from mintlify-docs to mintlify

Written by Cursor Bugbot for commit 54a8050. This will update automatically on new commits. Configure here.

Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
ai/skillmd.mdx Outdated
| `description` | string | A brief description of what your skill does. |
| `license` | string | The license for your skill (e.g., `MIT`, `Apache-2.0`). |
| `compatibility` | string | Requirements or compatibility notes (e.g., runtime dependencies). |
| `metadata` | object | Additional metadata as key-value pairs (e.g., `author`, `version`). |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spec defines metadata as a string-to-string map, so calling that out here helps prevent nested objects.

Suggested change
| `metadata` | object | Additional metadata as key-value pairs (e.g., `author`, `version`). |
| `metadata` | object | Additional metadata as string key-value pairs (e.g., `author`, `version`). |

ai/skillmd.mdx Outdated
| `license` | string | The license for your skill (e.g., `MIT`, `Apache-2.0`). |
| `compatibility` | string | Requirements or compatibility notes (e.g., runtime dependencies). |
| `metadata` | object | Additional metadata as key-value pairs (e.g., `author`, `version`). |
| `allowed-tools` | string | Tools that agents are allowed to use with this skill. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth matching the spec’s wording/format for this field (space-delimited + experimental).

Suggested change
| `allowed-tools` | string | Tools that agents are allowed to use with this skill. |
| `allowed-tools` | string | Space-delimited list of pre-approved tools the skill may use (experimental). |

Co-authored-by: tembo[bot] <208362400+tembo[bot]@users.noreply.github.com>
- Clarify metadata field accepts string key-value pairs to prevent nested objects
- Update allowed-tools description to match spec wording and mention experimental status
mintlify-development bot added a commit that referenced this pull request Jan 24, 2026
- Add comprehensive frontmatter documentation with all supported fields
- Clarify metadata as string key-value pairs (addresses review feedback)
- Specify allowed-tools as space-delimited experimental feature (addresses review feedback)  
- Use mintlify-docs name to avoid collisions (addresses review feedback)
- Make frontmatter requirement explicit, not optional

Addresses all feedback from PR #2847 review comments.
cdxker added a commit that referenced this pull request Jan 24, 2026
* Document YAML frontmatter fields for custom skill.md files

- Add comprehensive frontmatter documentation with all supported fields
- Clarify metadata as string key-value pairs (addresses review feedback)
- Specify allowed-tools as space-delimited experimental feature (addresses review feedback)  
- Use mintlify-docs name to avoid collisions (addresses review feedback)
- Make frontmatter requirement explicit, not optional

Addresses all feedback from PR #2847 review comments.

* Documentation edits made through Mintlify web editor

* Documentation edits made through Mintlify web editor

* Documentation edits made through Mintlify web editor

* Documentation edits made through Mintlify web editor

---------

Co-authored-by: mintlify-development[bot] <109878554+mintlify-development[bot]@users.noreply.github.com>
Co-authored-by: cdxker <32852291+cdxker@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants