agentleFS
zakelfassizakelfassi/skills-driven-development/skillforge/SKILL.md

skillforge

Skill18 starsChanged 8 months agoMITView on GitHub

Create or update a reusable agent skill. Use when you notice a repeated pattern, when a workflow should be persisted for future sessions, or when asked to forge/create/scaffold a new skill.

6 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. thrillmade/agent-skills★ 268% same

    Wrote their own version · 5

    1. tripleyak/SkillForge★ 905same name
    2. mmlong818/skillforge★ 89same name
    3. ngmeyer/skills★ 4same name
    4. yvzhou1111/skillforge★ 2same name
    5. bmaltais/skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create well-formed, spec-compliant skills from observed patterns.

    line 12
  2. Distinctive:

    If the skill involves file generation or automation:

    line 76
  3. Very specific:

    Update .skills-registry.md at the project root (same level as skills/).

    line 88
  4. Very specific:

    If the project uses the machine-readable registry (.skills-registry.json), update it too — skdd forge handles both formats automatically.

    line 94
  5. Distinctive:

    When you use a skill and encounter something it doesn't cover:

    line 98
  6. Very specific:

    Add the new edge case or step to the existing SKILL.md

    line 100
  7. Distinctive:

    If the skill is getting too long (>200 lines), split it

    line 101
  8. Very specific:

    Update last-used and increment usage-count in the registry

    line 102
  9. Distinctive:

    Before committing a new skill:

    line 106

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “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

SkillForge

Create well-formed, spec-compliant skills from observed patterns.

When to Forge

✅ Forge when:

  • You've done the same sequence 2-3 times in a session
  • A project convention isn't documented anywhere
  • You solved a hard problem with a reusable solution
  • Someone asks you to create a skill

❌ Don't forge when:

  • It's a one-time task
  • An existing skill already covers it (update instead)
  • The "skill" is just a single command (use a script alias)

Steps

1. Name the pattern

  • What problem does this skill solve?
  • What triggers it? (be specific — the description field is the discovery surface)
  • What are the inputs and outputs?

2. Choose a name

  • kebab-case, 1-64 characters
  • Verb-led when possible: deploy-preview, scaffold-component, triage-bug
  • One responsibility per skill

3. Create the skill directory

mkdir -p skills/<skill-name>

4. Write SKILL.md

Use this skeleton:

---
name: <skill-name>
description: <what it does>. Use when <triggers>.
metadata:
  forged-by: <agent-id>
  forged-from: <session-or-context>
  forged-reason: "<why this was created>"
---

# <Skill Name>

## Inputs
- ...

## Steps
1. ...
2. ...

## Conventions
- Project-specific patterns that apply

## Edge Cases
- Known gotchas or special handling

5. Add scripts (optional)

If the skill involves file generation or automation:

skills/<skill-name>/
├── SKILL.md
├── scripts/
│   └── run.sh         # Executable automation
└── references/
    └── conventions.md # Detailed reference (keeps SKILL.md lean)

6. Register the skill

Update .skills-registry.md at the project root (same level as skills/). Create it if it doesn't exist:

| <skill-name> | local | <today> | 1 | <description> |

If the project uses the machine-readable registry (.skills-registry.json), update it too — skdd forge handles both formats automatically.

Updating an Existing Skill

When you use a skill and encounter something it doesn't cover:

  1. Add the new edge case or step to the existing SKILL.md
  2. If the skill is getting too long (>200 lines), split it
  3. Update last-used and increment usage-count in the registry

Quality Checklist

Before committing a new skill:

  • name is kebab-case, ≤64 chars
  • description includes what it does AND when to use it
  • Steps are numbered and actionable
  • No hardcoded paths, secrets, or environment-specific values
  • SKILL.md is under 200 lines (move details to references/)
  • Registered in .skills-registry.md

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.