agentleFS
autohandaiautohandai/community-skills/skill-standardization/SKILL.md

skill-standardization

Skill11 starsChanged 9 months agoApache-2.0View on GitHub

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.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add missing required sections with templates

    line 35
  2. Distinctive:

    If files have duplicate sections after conversion:

    line 39
  3. Distinctive:

    Review changes: before committing to ensure content wasn't lost

    line 142
  4. Distinctive:

    Keep section content: - only headings are converted, not content

    line 143
  5. Distinctive:

    Test with one file first: when making script modifications

    line 144

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

ScriptPurpose
convert_skills.pyMain conversion script - handles section headings, frontmatter, missing sections
remove_duplicates.pyRemoves duplicate Examples, Best practices, References sections
final_cleanup.pyDirect string replacement for remaining Korean headings

Section Heading Conversions

Legacy headingStandard heading
## Purpose (legacy)## Purpose
## When to Use (legacy)## When to use this skill
## Procedure (legacy)## Instructions
## Examples (legacy)## Examples
## Best Practices (legacy)## Best practices
## References (legacy)## References
## Output Format (legacy)## Output format
## Constraints (legacy)## Constraints
## Metadata (legacy)## Metadata
### Step N (legacy):### 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()

# 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)

Example 2: Validate a skill file

# Check for required sections
grep -E "^## (When to use|Instructions|Examples|Best practices|References)" SKILL.md

Best practices

  1. Run all three scripts in sequence for complete standardization
  2. Review changes before committing to ensure content wasn't lost
  3. Keep section content - only headings are converted, not content
  4. Test with one file first when making script modifications

References

  • README.md - Repository overview and SKILL.md conventions
  • .agent-skills/README.md - Skill repository structure and examples

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.