skill-standardization
1.2K
总安装量
1.2K
周安装量
#726
全站排名
安装命令
npx skills add https://github.com/supercent-io/skills-template --skill skill-standardization
Agent 安装分布
opencode
1.2K
gemini-cli
1.2K
codex
1.2K
github-copilot
1.1K
claude-code
1.1K
cursor
1.1K
Skill 文档
Skill Standardization
When to use this skill
- Creating new SKILL.md files following the standard template
- Converting existing skills with non-standard section headings
- Validating skill files against the project specification
- Batch processing multiple skill files for consistency
- Ensuring all skills have required sections (Examples, Best practices, References)
Instructions
Step 1: Run the conversion script
Execute the main conversion script to standardize all SKILL.md files:
cd /path/to/.agent-skills
python3 scripts/convert_skills.py
This script will:
- Convert Korean section headings to English
- Standardize frontmatter (add missing tags, platforms)
- Add missing required sections with templates
Step 2: Remove duplicate sections
If files have duplicate sections after conversion:
python3 scripts/remove_duplicates.py
Step 3: Final cleanup
For any remaining non-standard headings:
python3 scripts/final_cleanup.py
Available Scripts
| Script | Purpose |
|---|---|
convert_skills.py |
Main conversion script – handles section headings, frontmatter, missing sections |
remove_duplicates.py |
Removes duplicate Examples, Best practices, References sections |
final_cleanup.py |
Direct string replacement for remaining Korean headings |
Section Heading Conversions
| Korean | English |
|---|---|
## 목ì (Purpose) |
## Purpose |
## ì¬ì© ìì (When to Use) |
## When to use this skill |
## ìì
ì ì°¨ (Procedure) |
## Instructions |
## ìì
ìì (Examples) |
## Examples |
## ë² ì¤í¸ íëí°ì¤ |
## Best practices |
## ì°¸ê³ ìë£ |
## References |
## ì¶ë ¥ í¬ë§· (Output Format) |
## Output format |
## ì ì½ì¬í (Constraints) |
## Constraints |
## ë©íë°ì´í° |
## Metadata |
### Në¨ê³: |
### Step N: |
Standard SKILL.md Structure
---
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)
Examples
Example 1: Convert a single file manually
from pathlib import Path
import re
filepath = Path('backend/new-skill/SKILL.md')
content = filepath.read_text()
# Convert Korean to English
content = content.replace('## ë² ì¤í¸ íëí°ì¤', '## Best practices')
content = content.replace('## ì°¸ê³ ìë£', '## References')
content = re.sub(r'### (\d+)ë¨ê³:', r'### Step \1:', content)
filepath.write_text(content)
Example 2: Validate a skill file
# Check for required sections
grep -E "^## (When to use|Instructions|Examples|Best practices|References)" SKILL.md
Best practices
- Run all three scripts in sequence for complete standardization
- Review changes before committing to ensure content wasn’t lost
- Keep section content – only headings are converted, not content
- Test with one file first when making script modifications
References
- CONTRIBUTING.md – Full specification for SKILL.md files
- templates/basic-skill-template/SKILL.md – Standard template