-
Notifications
You must be signed in to change notification settings - Fork 215
Document YAML frontmatter fields for custom skill.md files #2847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
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`). | |
There was a problem hiding this comment.
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.
| | `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. | |
There was a problem hiding this comment.
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).
| | `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
- 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.
* 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>
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.mdfrontmatter and example; minor metadata tweak in rootskill.md.skill.mdand provides a complete example inai/skillmd.mdxskill.mdfrontmatternamefrommintlify-docstomintlifyWritten by Cursor Bugbot for commit 54a8050. This will update automatically on new commits. Configure here.