agentleFS
d-o-hubd-o-hub/do-harness/.agents/skills/skill-creator/SKILL.md

skill-creator

Skill1 starsChanged 30 days agoMITView on GitHub

Create or update agent skills for this repository with the local layout (SKILL.md plus hermetic evals/evals.json and evals/walkthrough.sh) and repo invariants. Use when scaffolding a new skill in .agents/skills/, editing an existing skill, or wiring its evaluation and structure gate.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, ecosystem-reference 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 7 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

  • 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

  • Liang-MHSkill

    stock_analysis

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

    Also in 5 projects that use this

  • stophobiaSkill

    surprise-me

    Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

    Also in 5 projects that use this

  • +5 more from naman10parikh

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    Do not add READMEs, changelogs, or setup docs.

    line 33
  2. Very specific:

    If this repository adopts a 500 LOC ceiling per file, split SKILL.md via references/ before 450.

    line 40
  3. Very specific:

    If this repository adopts conventional commits, use lowercase subjects.

    line 46
  4. Very specific:

    Write SKILL.md: imperative, under 5k words.

    line 62
  5. Very specific:

    Write evals: cover explicit, implicit, contextual, and negative cases.

    line 64
  6. Very specific:

    Every case needs graded assertions.

    line 65
  7. Very specific:

    Write walkthrough.sh (when residue is graded): #!/usr/bin/env bash with set -euo pipefail.

    line 67
  8. Distinctive:

    Never distill a fix that did not pass computational sensors.

    line 98

“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

Guides

See references/heuristics.md for distilled heuristics.

Skill Creator

Scaffold and evolve skills in .agents/skills/ so they pass the structure gate (scripts/quick_validate.py) and the hermetic evaluator (do-harness eval). Read AGENTS.md first: skills must obey the same contract as production code.

Local Skill Layout

<skill-name>/
├── SKILL.md (required: frontmatter name + description, imperative body)
├── evals/evals.json (required: cases with graded assertions)
├── evals/walkthrough.sh (required when residue is graded: hermetic, exit 0)
├── scripts/ (only deterministic, repeatedly-rewritten executables)
└── references/ (detail loaded on demand; SKILL.md links each file)

Do not add READMEs, changelogs, or setup docs. Frontmatter accepts name, description, license, allowed-tools, optional version and category, and a metadata mapping for custom keys. evals/evals.json accepts optional top-level version; other unknown fixture fields are rejected.

Repository Conventions (seeded defaults; adapt)

  • If this repository adopts a 500 LOC ceiling per file, split SKILL.md via references/ before 450. The Rust pack seeds a loc sensor; other packs opt in explicitly.
  • Rust repositories: #![forbid(unsafe_code)], #[serde(deny_unknown_fields)] on config/event types, thiserror in libraries / anyhow in binaries, no unwrap() in library code.
  • If this repository adopts conventional commits, use lowercase subjects. The managed commit-msg hook runs the repository's own commit-message checker; replace that checker to use the repository's own convention.
  • Evals are executable evidence: every evals.json assertion that counts uses a graded prefix (exists:, absent:, contains:, db:, cli:, walk:). Bare prose strings are docs and score nothing — delete them.

Degrees of Freedom

Match specificity to fragility. Fragile sequences (gate commands, bless flow, walkthrough env contract) get exact scripts; judgment calls (trigger wording, heuristic generalization) get concise guidance.

Process

  1. Scaffold: scripts/init_skill.py <skill-name> --path .agents/skills --resources scripts,references.
  2. Write SKILL.md: imperative, under 5k words; one level of references, each linked with when-to-read; grep patterns for files over 100 lines.
  3. Write evals: cover explicit, implicit, contextual, and negative cases. Every case needs graded assertions; at least one negative case must prove the skill stays unloaded (absent: plus a proof file).
  4. Write walkthrough.sh (when residue is graded): #!/usr/bin/env bash with set -euo pipefail; cwd and DO_HARNESS_ROOT are the sandbox root; DO_HARNESS_BIN is the binary under test; never touch outside $DO_HARNESS_ROOT; exit 0 only on real success with stderr tail carrying the cause on failure.
  5. Validate: scripts/quick_validate.py <skill-dir>, then do-harness eval --skill <name>; re-bless graders explicitly: do-harness eval --bless --skill <name>. Fixtures are executor-agnostic: eval --agent-cmd <command> runs an agent per case and grades the same assertions, which measures true Skill Lift.
  6. Anti-AI-slop audit: review written code and guidance against the checklist in references/anti_ai_slop.md (purpose-per-struct, real error handling, meaningful names, no speculative abstraction, why-focused docs).
  7. Iterate from eval evidence. New reusable patterns go through the scaffold → validate → eval loop this skill defines, never straight into prose.

References

Gotchas

  • The skill body loads only after triggering: put all when-to-use coverage in the frontmatter description, never in a body section.
  • Never distill a fix that did not pass computational sensors.
  • Strip secrets and machine-specific paths from traces and residue.

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.