agentleFS
tonmoy007tonmoy007/forge-plugins/skills/forge-skill-creator/SKILL.md

skill-creator

Skill2 starsChanged 5 months agoMITView on GitHub

Author a tested, installable Forge skill from a mined candidate proposal. Use

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, mermaid-diagram-generator 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.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • shalombSkill

    mermaid-diagram-generator

    Guide on creating and editing Mermaid charts safely. Use when asked to draw a diagram, flowchart, or architecture chart. Triggers on: 'mermaid', 'diagram', 'flowchart', 'visualize'.

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • +6 more from naman10parikh

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Read the chosen draft at .forge/proposed-skills/<slug>/SKILL.md.

    line 42
  2. Distinctive:

    Do these in order. This is the Anthropic author→test→grade→improve→optimize loop, adapted to a mined candidate.

    line 48
  3. Very specific:

    Keep the Provenance citations intact (they justify the generalization).

    line 59
  4. Very specific:

    Optimize the description (should-/should-not-trigger test): Write 3 *should-trigger* user requests and 3 *should-not-trigger* requests.

    line 73
  5. Distinctive:

    Before telling the user the skill is ready to approve:

    line 95

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

/forge:skill-creator — author a tested skill from a mined candidate

This skill takes a mined candidate proposal and authors it into a real, tested SKILL.md through the Anthropic skill-creator loop. It runs in-session because the authoring agent cannot be spawned by a hook or script (ADR-006: skills drive in-session work; scripts cannot drive the Agent tool). It extends the approval flow — it does not replace it, and nothing installs without explicit user approval (REQ-NF-019).

When to Use

  • User runs /forge:skill-creator [<slug>].
  • A mining run (skill_miner_v2.py) has written one or more .forge/proposed-skills/<slug>/SKILL.md drafts and the user wants to promote one into a real, tested skill.
  • User wants to refine, test, or optimize the triggering description of a proposed skill.

Inputs

  • $ARGUMENTS — optionally the proposal <slug> to author. If omitted, list the pending proposals first and ask the user which one to author.

Pre-flight

  1. List the pending mined proposals so the user can pick one:

    python3 ${CLAUDE_PLUGIN_ROOT}/scripts/skill-approval.py list --cwd .
  2. Read the chosen draft at .forge/proposed-skills/<slug>/SKILL.md. It already contains a non-empty third-person description, a Procedure, and Provenance with source-trace-line citations — this is your starting material, never a blank page.

The skill-creator loop (run in-session)

Do these in order. This is the Anthropic author→test→grade→improve→optimize loop, adapted to a mined candidate.

  1. Capture intent. From the proposal's Procedure + Provenance citations, restate in one sentence what this skill does and when it should fire. If the intent is ambiguous, ask the user one clarifying question — do not guess.
  2. Write the SKILL.md. Edit .forge/proposed-skills/<slug>/SKILL.md in place:
    • Tighten the description to be third-person, state what + when, and be deliberately discoverable (pushy) — this is the retrieval key Claude matches on.
    • Make the Procedure clear imperative steps that reference the parameters.
    • Keep the Provenance citations intact (they justify the generalization).
  3. Test against a baseline. Replay the procedure against one of the source episodes the candidate was induced from. For coding skills, the oracle is the test suite: the procedure must reproduce red→green. If no runnable oracle exists, do a critic read: does each step follow from the cited evidence?
  4. Grade. Score the draft on: does it reproduce the successful outcome? Are the steps unambiguous? Is the description specific enough to trigger on the right requests and no others? Note concrete weaknesses.
  5. Improve. Apply the fixes from the grade — sharpen steps, add a guard/pitfall, fix a parameter name. Re-test (step 3) until the baseline passes.
  6. Optimize the description (should-/should-not-trigger test). Write 3 should-trigger user requests and 3 should-not-trigger requests. Read only the description and judge, for each, whether the skill would fire. Revise the description until every should fires and every should-not does not. Record the test set in the body for traceability.

Approval (extends, never replaces, skill-approval)

Authoring does not install the skill. Once the loop passes, hand back to the existing approval flow — the user decides:

# install the authored proposal into the plugin's skills/ dir
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/skill-approval.py approve --slug <slug> --cwd .

# or reject it — blacklists the motif signature so it is not re-proposed
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/skill-approval.py reject --slug <slug> --cwd .

State clearly to the user that nothing is installed until they run approve.

Verification

Before telling the user the skill is ready to approve:

  • The authored .forge/proposed-skills/<slug>/SKILL.md has valid frontmatter (name, non-empty description, status: proposed).
  • The replay/baseline test passed (red→green, or critic check documented).
  • The should-/should-not-trigger set passes (every should fires, every should-not does not).
  • You have not installed anything — the install only happens on explicit skill-approval.py approve.

Notes

  • No .forge/proposed-skills/ directory ⇒ nothing to author; tell the user to run mining first. This skill is a clean no-op in that case.
  • Human-in-the-loop throughout: you author and test, the user approves. See references/skill-format.md for the SKILL.md format and description best-practices.

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.