Fundamentals
YAML frontmatter and the Markdown skill body
Read the two parts of SKILL.md and know where to edit each kind of instruction.
Find the metadata block at the top
A skill file begins with YAML frontmatter delimited by lines of three hyphens. Think of this small block as a catalog record. The Agent Skills specification assigns particular meanings and constraints to fields such as name and description. The rest of the file is Markdown, which can use paragraphs, lists, headings, and code examples to communicate the procedure. Edit the frontmatter when you need to change discovery information. Edit the Markdown body when the workflow itself changes. 1 2 3
Check that it parses as you intended
Indentation and punctuation matter to YAML. A description with punctuation that looks like a mapping can be easier to preserve in a quoted string or an appropriate multiline scalar. Validate the generated file and open it as plain text, so apparent formatting in a rich text editor cannot hide spaces or an accidental curly quotation mark. Keep expected content under the right field.
Test the next stage separately
A valid description lets the host find and describe the skill. A strong workflow still needs a useful order of steps and a result you can verify. After changing the description, check the discovery catalog and run a matching task. After changing the body, run a saved example and check the specific decision or formatting rule that changed. This separates a filing error from a problem with the instructions.