All posts
May 16, 2026
SKILL.md YAML Frontmatter Cheat Sheet
Every field that can appear in a SKILL.md frontmatter block, with valid values and gotchas. Bookmark this when authoring skills.
SKILL.md YAML Frontmatter Cheat Sheet
Frontmatter is the YAML block between two --- lines at the top of SKILL.md. Most skills only need two fields, but the spec supports more.
Required
| Field | Type | Notes |
|---|---|---|
name | string | lowercase-hyphens. Must match the folder name. |
description | string | Trigger description. Multi-line allowed (indent continuation lines). |
Common optional
| Field | Type | Notes |
|---|---|---|
allowed-tools | array | Whitelist of tool names. Omit for unrestricted. |
version | string | Semver. Useful for changelog tracking. |
author | string | GitHub handle or name. |
Gotchas
- No tabs. YAML hates tabs. Use spaces.
- Multi-line descriptions need a leading space on continuation lines, or use
>for folded scalar. - Special characters in description (
:,#,[) should be wrapped in quotes.
Example with everything
---
name: stripe-checkout
description: >
When the user asks to accept payments, build a paywall, or wire up
subscriptions, create a Stripe Checkout flow end-to-end.
allowed-tools: [Bash, Edit, Read]
version: 1.2.0
author: lovableskills
---
Need a generator? Use ours.
Related posts
- Jun 24, 2026Best Claude Skills for Data Analysis in 2026
Discover the top Claude skills for cleaning, transforming, and visualizing data faster — from CSV wranglers to BI integrations.
- Jun 22, 2026Lovable vs Bolt vs v0: Which AI App Builder Wins in 2026?
A side-by-side comparison of the three leading AI app builders covering speed, code quality, ecosystem, and pricing.
- Jun 20, 2026How to Add Stripe Payments to a Lovable App (Step by Step)
A complete walkthrough to wire Stripe Checkout and subscriptions into a Lovable project using the official skill.