agentleFS
gh-xjgh-xj/agent-repo-kit/skills/skill-builder/SKILL.md

skill-builder

Skill0 starsChanged 6 months agoMITView on GitHub

Use when creating, refactoring, auditing, or migrating Claude/Codex skills, especially when trigger wording, portable structure, reference extraction, or runtime placement need design.

74 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use contract-test, literature-research and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • squall-chuaSkill

    contract-test

    Test a running API against its own contract — OpenAPI, GraphQL, protobuf, or AsyncAPI — from the outside, and report every drift between what the contract promises and what the API does.

    Also in 3 projects that use this

  • nickjwellsSkill

    literature-research

    Search academic literature and perform deep research reviews. Use when user asks to search PubMed, find academic papers, or do literature reviews.

    Also in 3 projects that use this

  • nopandererSkill

    commit-and-push

    Automatically analyze git changes, generate Conventional Commits compliant commit messages, commit changes, and push to remote in a single automated workflow. Use when the user invokes /commit-and-push or explicitly requests to automatically commit and push changes following Conventional Commits format (feat:, fix:, docs:, etc.). This skill provides a fully automated git workflow without manual intervention.

    Also in 3 projects that use this

  • MicrosoftSkill

    skill-reviewer

    Review skill PRs with structured severity-rated feedback covering token budgets, routing conflicts, and repo conventions. WHEN: \"review skill\", \"review skill PR\", \"review skill changes\", \"check skill quality\", \"skill PR feedback\".

    Also in 3 projects that use this

  • SkillPilotCHSkill

    level-up

    Eine Automatisierung pro Woche finden, scopen, shippen. Output landet als proposed-Eintrag in cadence.md mit konkreten Implementations-Schritten.

    Also in 3 projects that use this

  • MicrosoftSkill

    excalidraw-diagram

    Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures, or concepts.

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 7 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 65 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the confidence check: confident, partial, or not ready.

    line 21
  2. Very specific:

    If the surface is a skill-local CLI, hand off command contract, safety, and verification design to skill-cli-authoring.

    line 31
  3. Very specific:

    Add lightweight eval cases from references/skill-evals.md when risk or behavior warrants it.

    line 33
  4. Very specific:

    Keep SKILL.md as the entrypoint and routing table, not the whole knowledge base.

    line 40
  5. Very specific:

    Prefer SKILL.md under 200 lines.

    line 41
  6. Very specific:

    Keep the portable core to name + description.

    line 42
  7. Distinctive:

    Put runtime-specific metadata beside the portable core, not inside it.

    line 43
  8. Distinctive:

    Keep one source of truth for each fact or rule.

    line 44
  9. Very specific:

    If the domain is only partially understood, prefer the Q&A-driven path in references/workflows.md.

    line 66
  10. Very specific:

    Do not duplicate the same rules across SKILL.md and references.

    line 72
  11. Distinctive:

    Keep repo-specific operating rules out of the portable core when a local reference or wrapper skill is enough.

    line 73
  12. Distinctive:

    If capability moves into a skill layer, remove stale docs, workflows, or Task targets in the same change.

    line 78
  13. Distinctive:

    If repo behavior changes, name the verification gate explicitly.

    line 79
  14. Very specific:

    If a skill-local CLI is warranted, first use skill-cli-authoring to design the command contract, safety model, and verification loop.

    line 80
  15. Distinctive:

    Use prose when judgment is required.

    line 86
  16. Distinctive:

    Do not keep repo-operating logic in the portable core when a repo-local reference or CLI is the correct owner.

    line 114

“Common” is measured: kept by at least 6 in 10 of the 65 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

Skill Builder

Design and maintain Claude/Codex skills as small, portable routers with clear triggers and minimal duplication.

Use This For

  • Creating a new skill.
  • Refactoring an overgrown SKILL.md.
  • Auditing trigger wording, layout, or duplication.
  • Migrating capability into or out of a skill layer.
  • Deciding when stable workflow logic belongs in scripts/, a skill-local CLI in cli/, or a repo-owned CLI under tools/.

First Pass

  1. Classify the request: create, update, audit, or migrate.
  2. Run the confidence check: confident, partial, or not ready.
  3. Name the evidence basis, procedural burden, and risk tier using references/skill-quality.md.
  4. Choose scope: global or project-local, Claude or Codex or both.
  5. Choose the operating surface:
    • skill prose
    • extracted reference
    • skill-local script
    • skill-local CLI in cli/
    • repo-owned CLI under tools/
  6. If the surface is a skill-local CLI, hand off command contract, safety, and verification design to skill-cli-authoring.
  7. Add lightweight eval cases from references/skill-evals.md when risk or behavior warrants it.
  8. For mature or drifting skills, run the self-evolution checklist in references/self-evolution.md.

Router Rule

  • Keep SKILL.md as the entrypoint and routing table, not the whole knowledge base.
  • Prefer SKILL.md under 200 lines. Above 400 lines means refactor now.
  • Keep the portable core to name + description.
  • Put runtime-specific metadata beside the portable core, not inside it.
  • Keep one source of truth for each fact or rule.
  • Move deterministic, repeated logic into code once the pattern is verified.

Mode Selection

ModeUse WhenPrimary Output
createNo skill exists yetNew SKILL.md plus any references/scripts/assets
updateSkill exists but needs new capability or cleanupSmaller or clearer skill with preserved behavior
auditTriggering or structure feels wrongFindings plus targeted refactor plan
migrateCapability is moving across docs, skills, scripts, or CLIsUpdated owner surface plus stale-reference cleanup

See references/workflows.md for the concrete workflow for each mode.

Confidence Gate

ConfidenceAction
confidentBuild the full skill
partialShip v0.x with ## Gaps
not readyCapture notes only; do not over-specify

If the domain is only partially understood, prefer the Q&A-driven path in references/workflows.md.

Non-Negotiables

  • The description must say when to use the skill, not summarize the workflow.
  • Codex trigger quality depends heavily on description; make trigger phrases explicit.
  • Do not duplicate the same rules across SKILL.md and references.
  • Keep repo-specific operating rules out of the portable core when a local reference or wrapper skill is enough.
  • A skill should externalize procedure, heuristics, and constraints; if it only stores context, route that context elsewhere.
  • Higher-risk skills need stronger approval points, eval cases, and evidence before promotion.
  • If capability moves into a skill layer, remove stale docs, workflows, or Task targets in the same change.
  • If repo behavior changes, name the verification gate explicitly.
  • If a skill-local CLI is warranted, first use skill-cli-authoring to design the command contract, safety model, and verification loop; then bootstrap it with your Go CLI scaffolder of choice and keep Task wrappers thin.

Choosing Code Instead Of Prose

Use prose when judgment is required. Use code when the pattern is deterministic and repeated.

  • Repeated logic inside a skill: see references/pattern-to-script.md
  • Skill-local operations with one skill boundary and a small command surface: see references/repo-owned-clis.md, then use skill-cli-authoring
  • Shared repo operations with policy or verification requirements: see references/repo-owned-clis.md

References

FileUse For
references/runtime-layout.mdRuntime roots, portable core, loading model, placement decisions
references/workflows.mdcreate, update, audit, and migrate workflows
references/skill-quality.mdEvidence basis, expertise check, trigger/output evals
references/skill-evals.mdLightweight trigger, output, negative, and regression eval cases
references/repo-owned-clis.mdWhen stable logic should move into cli/ or tools/<name>/
references/pattern-to-script.mdWhen stable logic should move into skill-local scripts
references/multi-skill-architecture.mdCross-skill systems and shared-core patterns
references/skill-reliability-patterns.mdHard gates, evidence-before-claims, and agent-drift controls
references/self-evolution.mdMaintenance logs, known failures, and decay-protection checklist
references/maintenance.mdTroubleshooting, parity checks, and health indicators
MAINTENANCE.mdMaintainer self-evolution loop and validation checklist

Boundaries

  • This skill designs and refactors skills; it does not make every repeated workflow a skill automatically.
  • harness-router owns the cross-surface decision about whether a learning should become a skill at all.
  • Do not keep repo-operating logic in the portable core when a repo-local reference or CLI is the correct owner.
  • For destructive migrations or unclear ownership changes, confirm scope before rewriting multiple surfaces.

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.