require-skill-file-metadata
Require Copilot skill definition files to declare name and description frontmatter.
Rule catalog ID: R046
Targeted pattern scopeâ
.github/skills/**/SKILL.md.claude/skills/**/SKILL.md
What this rule reportsâ
- skill files with no YAML frontmatter
- missing or blank
namevalues - missing or blank
descriptionvalues
Why this rule existsâ
A skill definition without basic identifying metadata is hard for both humans and tools to understand. name and description provide the minimal contract that explains what the skill is and when it should be used.
â Incorrectâ
Review code carefully and use the security checklist.
â Correctâ
---
name: review-checklist
description: Review code changes with the repository checklist.
---
Review code carefully and use the security checklist.