agentleFS
trevorbyrumtrevorbyrum/claude-skills-suite/skills/skill-forge/SKILL.md

skill-forge

Skill1 starsChanged 5 months agoMITView on GitHub

Creates or edits skills. Scaffolds directory, writes SKILL.md from template, validates against checklist. Invoke with /skill-forge when building or modifying a skill.

49 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use sigma, agent-forge and 3 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.
  • sanyuan0704Skill

    sigma

    Personalized 1-on-1 AI tutor using Bloom's 2-Sigma mastery learning. Guides users through any topic with Socratic questioning, adaptive pacing, and rich visual output (HTML dashboards, Excalidraw concept maps, generated images). Use when user wants to learn something, study a topic, understand a concept, requests tutoring, says 'teach me', 'I want to learn', 'explain X to me step by step', 'help me understand', or invokes /sigma. Triggers on: learn, study, teach, tutor, understand, master, explain step by step.

    Also in 3 projects that use this

  • xyreinsurance119Skill

    agent-forge

    Создание, улучшение и аудит скиллов и агентов OpenClaw. Три режима: создание скилла (11 шагов), создание агента (9 шагов, с памятью и автоулучшением), улучшение существующего (5 шагов). Triggers: 'создай скилл', 'новый скилл', 'создай агента', 'новый агент', 'улучши скилл', 'skill creator', 'agent creator', 'скиллмейкер'.

    Also in 3 projects that use this

  • localSummerSkill

    skill-review

    回顾当前对话,整理 skill 使用情况、代码质量反馈和迭代建议,生成待确认的更新清单

    Also in 3 projects that use this

  • NVIDIASkill

    deep-research

    Queue deep, multi-step research and analysis tasks to the DeepAgents worker. Supports execution depth presets, request-specific rubrics, SubAgent delegation, and RubricMiddleware cross-validation.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create new skills or edit existing ones following the suite's established patterns.

    line 9
  2. Distinctive:

    Every skill in this suite was built by Claude, and every hard-won lesson (always-on descriptions causing loops, subagent DB write failures, …

    line 15
  3. Very specific:

    Check whether skills/<name>/SKILL.md exists.

    line 39
  4. Distinctive:

    If the user hasn't provided a name, ask for one.

    line 44
  5. Distinctive:

    Ask the user (skip questions they've already answered):

    line 50
  6. Distinctive:

    Is it a review lens?: If yes: fresh-findings check, finding format, severity levels, summary, execution mode required.

    line 57
  7. Distinctive:

    Wait for user approval before proceeding.

    line 73
  8. Very specific:

    Read references/skill-template.md for the canonical structure.

    line 86
  9. Distinctive:

    Follow the template exactly.

    line 88
  10. Distinctive:

    No skill in vclaude calls Codex MCP.

    line 117
  11. Distinctive:

    All multi-unit dispatch must follow rule 11 (parallel-by-default, max-impact-per-agent, debate-the-whole-in-pieces).

    line 118
  12. Distinctive:

    Read cross-cutting-rules.md sections 2, 3, 6, 11 before authoring dispatch logic.

    line 119
  13. Very specific:

    Use XML tags and [PLACEHOLDER] markers for runtime values

    line 135
  14. Very specific:

    Read references/validation-checklist.md and check every applicable rule:

    line 140
  15. Very specific:

    Before completing, read and follow ../../references/cross-cutting-rules.md.

    line 191

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

Create new skills or edit existing ones following the suite's established patterns. Auto-detects mode based on whether the skill directory already exists — no separate create/edit workflow needed.

Why this exists

Every skill in this suite was built by Claude, and every hard-won lesson (always-on descriptions causing loops, subagent DB write failures, stale file references) lives in the validation checklist. Without this skill, each new skill risks repeating those mistakes.

Inputs

  • Skill name — user provides or describes what they want
  • Skill purpose — what problem it solves, when it triggers
  • Existing SKILL.md (edit mode) — the file to modify
  • references/skill-template.md — canonical SKILL.md structure
  • references/validation-checklist.md — anti-patterns and validation rules

Outputs

  • skills/<name>/SKILL.md — created or updated
  • skills/<name>/references/ — only if progressive disclosure is needed
  • skills/<name>/agents/ — only if the skill dispatches Sonnet subagents
  • Validation report (PASS/WARN/FAIL against the checklist)

Instructions

Phase 1: Detect mode

Check whether skills/<name>/SKILL.md exists.

  • Exists → edit mode. Read the current file. Identify what to change.
  • Does not exist → create mode. Gather intent.

If the user hasn't provided a name, ask for one. Naming conventions:

  • Review lenses: <area>-review (e.g., performance-review)
  • Action skills: verb or verb-noun (e.g., cache-warm, db-migrate)

Phase 2: Gather intent

Ask the user (skip questions they've already answered):

  1. What does this skill do? One sentence.
  2. What triggers it? User says "X", or part of which lifecycle skill.
  3. What does it need? Inputs — files, project docs, external data.
  4. What does it produce? DB records, files, side effects.
  5. Does it dispatch Sonnet subagents? Determines if agents/ is needed.
  6. Is it a review lens? If yes: fresh-findings check, finding format, severity levels, summary, execution mode required.
  7. Does it need reference files? Large catalogs, checklists, prompt templates that would push SKILL.md over 280 lines.

For edit mode also ask: What's wrong with the current version?

Present a brief plan before writing:

Mode: create | edit
Name: <name>
Type: review lens | action | utility
Sections: [list]
References: [list]
Agent prompts: [list]

Wait for user approval before proceeding.

Phase 3: Scaffold (create mode only)

mkdir -p skills/<name>
mkdir -p skills/<name>/references   # only if reference files are needed
mkdir -p skills/<name>/agents       # only if dispatching Sonnet subagents
mkdir -p skills/<name>/templates    # only if generating project files

Phase 4: Write SKILL.md

Read references/skill-template.md for the canonical structure.

Follow the template exactly. Key rules:

Frontmatter:

  • name: matches directory name
  • description: ≤ 250 characters, third person, trigger-focused, no always-on language
  • disable-model-invocation: true on lifecycle skills (user-triggered only)
  • argument-hint: only if the skill accepts arguments

Body — section order per template:

  1. Title
  2. Why this exists (1-3 sentences)
  3. Inputs
  4. Outputs (Pattern A: DB; Pattern B: files; Pattern C: side-effect)
  5. Instructions (numbered phases, imperative form, exit conditions)
  6. Execution Mode — only for review lenses
  7. References — only if reference files exist
  8. Examples (2-4)
  9. Cross-cutting footer

Review lens specifics (if this is a review lens):

  • Fresh Findings Check as first instruction step (db_age_hours < 24h)
  • Define finding format: severity, category, location, problem, evidence, recommendation
  • Severity levels: CRITICAL / HIGH / MEDIUM / LOW
  • Summarize step as final instruction
  • Execution Mode section (standalone + as part of /review)
  • Pattern A output (DB)

If the new skill dispatches external agents (Sonnet subagents):

  • Sonnet subagents (the only out-of-thread option): use Agent tool with subagent_type: "general-purpose" per cross-cutting rule 3 + rule 11.
  • No skill in vclaude calls Codex MCP. All model calls go through Claude main thread or Sonnet subagents.
  • All multi-unit dispatch must follow rule 11 (parallel-by-default, max-impact-per-agent, debate-the-whole-in-pieces).
  • Read cross-cutting-rules.md sections 2, 3, 6, 11 before authoring dispatch logic.

Branching pattern (MANDATORY): Skills must not use --flag arguments. Branch by:

  1. Auto-detection (filesystem, git, prior DB state).
  2. AskUserQuestion at entry if (1) is ambiguous.

Phase 5: Write reference files (if needed)

Each reference file:

  • One focused topic
  • Lives in skills/<name>/references/
  • Linked from SKILL.md as Read references/X.md for [purpose]

Agent prompt templates:

  • Live in skills/<name>/agents/
  • Use XML tags and [PLACEHOLDER] markers for runtime values
  • Referenced as Read agents/X.md for the prompt template

Phase 6: Validate

Read references/validation-checklist.md and check every applicable rule:

  1. Frontmatter (F1-F6)
  2. Structure (S1-S9)
  3. Content quality (C1-C6)
  4. Anti-patterns (A1-A10)
  5. Artifact DB integration (D1-D5) — if the skill uses the DB
  6. Driver boundary (B1-B5) — if the skill dispatches Sonnet subagents
  7. Progressive disclosure (P1-P5) — if reference files exist
  8. Infrastructure (I1-I4) — if the skill spawns external workers

Report using the validation summary format from the checklist.

Any FAIL = fix before finishing. Warnings are advisory.

Phase 7: Report

Tell the user:

  • Files created/modified (with paths)
  • Validation result (PASS / WARN / FAIL)
  • Any warnings that weren't fixed and why
  • Whether the skill needs wiring into /review (for lenses) or referenced from another lifecycle skill

Examples

User: I need a skill that reviews database query performance.
→ Create mode. Review lens type. Inputs = codebase + schema. Outputs = DB findings.
  Scaffold, write SKILL.md with fresh-findings check, query analysis steps,
  finding format. Validate. Suggest wiring into /review's default-tier.
User: The security-review description is too long, fix it.
→ Edit mode. Read current SKILL.md. Trim description to ≤ 250 chars while
  preserving trigger phrases. Re-validate.
User: /skill-forge dependency-audit
→ Create mode with name provided. Ask remaining questions. Scaffold and build.
User: Add a "What If" scenarios section to the test-review skill.
→ Edit mode. Read test-review/SKILL.md. Add section following existing pattern.
  Check if content should live in references/ instead. Validate.

Before completing, read and follow ../../references/cross-cutting-rules.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.