diff --git a/docs/QUALITY_BAR.md b/docs/QUALITY_BAR.md index d5e7422e..42c16085 100644 --- a/docs/QUALITY_BAR.md +++ b/docs/QUALITY_BAR.md @@ -21,6 +21,7 @@ The skill MUST have a section explicitly stating when to trigger it. - **Good**: "Use when the user asks to debug a React component." - **Bad**: "This skill helps you with code." +Accepted headings: `## When to Use`, `## Use this skill when`, `## When to Use This Skill`. ### 3. Safety & Risk Classification diff --git a/scripts/normalize-frontmatter.js b/scripts/normalize-frontmatter.js index a8cf17d7..982b803a 100644 --- a/scripts/normalize-frontmatter.js +++ b/scripts/normalize-frontmatter.js @@ -8,6 +8,8 @@ const SKILLS_DIR = path.join(ROOT, 'skills'); const ALLOWED_FIELDS = new Set([ 'name', 'description', + 'risk', + 'source', 'license', 'compatibility', 'metadata',