chore: preserve risk/source and document use-section headings
This commit is contained in:
@@ -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."
|
- **Good**: "Use when the user asks to debug a React component."
|
||||||
- **Bad**: "This skill helps you with code."
|
- **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
|
### 3. Safety & Risk Classification
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ const SKILLS_DIR = path.join(ROOT, 'skills');
|
|||||||
const ALLOWED_FIELDS = new Set([
|
const ALLOWED_FIELDS = new Set([
|
||||||
'name',
|
'name',
|
||||||
'description',
|
'description',
|
||||||
|
'risk',
|
||||||
|
'source',
|
||||||
'license',
|
'license',
|
||||||
'compatibility',
|
'compatibility',
|
||||||
'metadata',
|
'metadata',
|
||||||
|
|||||||
Reference in New Issue
Block a user