Loading...
Loading...
Standardize and validate SKILL.md files to match the project specification. Use when creating new skills, converting existing skills to standard format, or validating skill file structure. Handles section heading conversion, frontmatter standardization, and missing section detection.
npx skill4agent add akillness/skills-template skill-standardizationcd /path/to/.agent-skills
python3 scripts/convert_skills.pypython3 scripts/remove_duplicates.pypython3 scripts/final_cleanup.py| Script | Purpose |
|---|---|
| Main conversion script - handles section headings, frontmatter, missing sections |
| Removes duplicate Examples, Best practices, References sections |
| Direct string replacement for remaining Korean headings |
| Legacy heading | Standard heading |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
---
name: skill-name
description: Clear description (max 1024 chars)
tags: [tag1, tag2]
platforms: [Claude, ChatGPT, Gemini]
---
# Skill Title
## When to use this skill
- Scenario 1
- Scenario 2
## Instructions
### Step 1: [Action]
Content...
### Step 2: [Action]
Content...
## Examples
### Example 1: [Scenario]
Content...
## Best practices
1. Practice 1
2. Practice 2
## References
- [Link](url)from pathlib import Path
import re
filepath = Path('backend/new-skill/SKILL.md')
content = filepath.read_text()
# Normalize legacy headings to standard
content = content.replace('## Best Practices', '## Best practices')
content = content.replace('## Reference', '## References')
content = re.sub(r'### Step (\d+):', r'### Step \1:', content)
filepath.write_text(content)# Check for required sections
grep -E "^## (When to use|Instructions|Examples|Best practices|References)" SKILL.md