SKILL.md uses YAML frontmatter for metadata followed by Markdown instructions:
---name: code-reviewdescription: Code quality analysis with best practices enforcementversion: "1.0.0"license: MITcompatibility: "python>=3.9"allowed-tools: - code_execution - file_searchdependencies: - summarizationmetadata: author: Your Name tags: - code-quality - review---# Code Review SkillYou are an expert code reviewer. When reviewing code:1. Check for bugs, security issues, and performance problems2. Verify adherence to project coding standards3. Suggest improvements with concrete examples## When to Use ScriptsUse `analyze.py` to run static analysis on the provided code.## Reference MaterialsRefer to `style-guide.md` for the project's coding standards.
The Markdown body after the frontmatter is the instructions — this is what the agent reads when it calls get_skill_instructions(). Write it as if you’re briefing a colleague:
Explain when and how to apply the skill
Reference available scripts and references by filename
Be specific about expected outputs and quality standards
Keep instructions focused. The agent loads them on demand, so concise and actionable guidance works better than lengthy explanations.