harness-creator
Skill4 starsChanged 5 months agoMITView on GitHub
Use when creating or adapting a coding-agent harness for either an existing repository or a new project, especially when you need to preserve working flows such as spec-driven development, verification paths, or session continuity.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- anthony-chaudhary/faktheir own version, first seen Nov 3, 2026
- TheAatroxking1/harness_creator_skilltheir own version, first seen Oct 11, 2026
- walkinglabs/learn-harness-engineeringtheir own version, first seen Sep 30, 2026
- tjdwls101010/Harness-Creatortheir own version, first seen Sep 17, 2026
- idoforgod/cys-harness-creatortheir own version, first seen Jun 2, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- walkinglabs/learn-harness-engineering★ 21ksame name
- TheAatroxking1/harness_creator_skill★ 48same name
- anthony-chaudhary/fak★ 47same name
- idoforgod/cys-harness-creator★ 4same name
- tjdwls101010/Harness-Creator★ 4same 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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 19 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
19
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
- Distinctive: line 20
Use this skill when:
- Distinctive: line 26
Do not use this skill for prompt engineering, model choice, or generic software architecture.
- Distinctive: line 34
Treat these bundled templates as the highest-fidelity scaffold sources:
- Distinctive: line 40
Use them when generating:
- Distinctive: line 46
Do not collapse them into short summaries.
- Very specific: line 70
Use docs/decisions/ as the long-term home for durable design decisions instead of a separate specs constitution folder.
- Very specific: line 77
If the repo is already spec-driven, extend that path instead of adding parallel feature_list.json, progress.md, or handoff files by default.
- Distinctive: line 80
If the repo is empty or very early, gather enough product and workflow context first.
- Distinctive: line 81
If the user has not defined architecture, lifecycle, or execution style, ask for that context before generating files.
- Distinctive: line 82
Only scaffold after the working model is clear enough.
- Distinctive: line 96
If the repo already has a coherent harness, improve it in place.
- Distinctive: line 98
Use Repo Adaptation Pattern for this pass.
- Distinctive: line 99
Use Specs Directory Pattern and Docs Directory Pattern when the repo already separates planning from knowledge capture.
- Distinctive: line 109
If the repo already has a good state source, keep it.
- Distinctive: line 111
Use Spec-Driven Harness Pattern when long-running work is phase-based.
- Distinctive: line 122
Use readiness gates that match the repo, not a fixed bootstrap ritual.
- Very specific: line 138
Treat specs and docs as two different but related systems:
- Distinctive: line 143
When the repository uses structured planning, prefer this split:
- Distinctive: line 150
Do not bury durable decisions inside stale specs if they need to outlive one implementation plan.
- Distinctive: line 161
Use Gotchas before finalizing a design.
- Distinctive: line 165
Use these bundled assets selectively.
- Distinctive: line 203
Never copy every template by default.
- Very specific: line 205
When generating specs/AGENTS.md or docs/AGENTS.md, prefer the detailed templates over a minimal directory guide.
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
Harness Creator
Build or adapt a repo-local harness without breaking the repo's current working model.
Language rule: Unless the user explicitly asks otherwise, follow this logic to choose the scaffold language:
- Existing repo mode — detect the harness language by scanning
AGENTS.md,CLAUDE.md,README.md,docs/AGENTS.md,specs/AGENTS.md, or other top-level prose files. If the majority of these files are written in Chinese, recommend Chinese templates and confirm with the user. Otherwise default to English. - Greenfield mode — ask the user which language they prefer before generating any scaffold. Offer English and Chinese as choices.
Templates are organized under templates/en/ (English) and templates/zh/ (Chinese). When scaffolding, pick the subdirectory that matches the chosen language.
When to use
Use this skill when:
- A user wants
AGENTS.md,CLAUDE.md, progress tracking, verification rules, or session continuity. - A repository already has some harness structure, and you need to improve it without replacing its source of truth.
- A new or early-stage project needs an initial harness, but the workflow and architecture still need to be clarified.
Do not use this skill for prompt engineering, model choice, or generic software architecture.
Core rule
Do not force one harness shape onto every repository.
High-fidelity templates
Treat these bundled templates as the highest-fidelity scaffold sources:
templates/{en,zh}/architecture.mdtemplates/{en,zh}/specs-agents.mdtemplates/{en,zh}/docs-agents.md
Use them when generating:
ARCHITECTURE.mdspecs/AGENTS.mddocs/AGENTS.md
Do not collapse them into short summaries. Match their level of specificity, section granularity, and formatting discipline, then adapt the content to the target repository.
For specs/AGENTS.md, preserve the detailed rules for:
- directory responsibilities
- file naming
- plan template structure
- phase and task formatting
- lifecycle transitions
- writing guidance
For docs/AGENTS.md, preserve the detailed rules for:
- writing principles
- numbering rules
- frontmatter requirements
- section templates
Then extend the docs model to cover:
docs/lessons/docs/features/docs/decisions/
Use docs/decisions/ as the long-term home for durable design decisions instead of a separate specs constitution folder.
Choose one of two modes:
- Existing repo mode
- Inspect the current harness first.
- Preserve the existing source of truth if it works.
- If the repo is already spec-driven, extend that path instead of adding parallel
feature_list.json,progress.md, or handoff files by default.
- Greenfield mode
- If the repo is empty or very early, gather enough product and workflow context first.
- If the user has not defined architecture, lifecycle, or execution style, ask for that context before generating files.
- Only scaffold after the working model is clear enough.
Workflow
1. Detect the repo mode
Look for:
AGENTS.md,CLAUDE.mdspecs/AGENTS.md,specs/active/,specs/draft/,specs/archive/docs/AGENTS.md,docs/lessons/,docs/features/,docs/decisions/feature_list.json,progress.md,session-handoff.mdinit.sh,bootstrap,check, or other readiness entrypoints
If the repo already has a coherent harness, improve it in place. Do not create duplicate truth sources.
Use Repo Adaptation Pattern for this pass. Use Specs Directory Pattern and Docs Directory Pattern when the repo already separates planning from knowledge capture.
2. Pick the state source on purpose
The agent needs one primary control plane for scope and status. Common options:
- Spec-driven: active spec + docs decisions + status checkboxes
- Feature-list-driven:
feature_list.json+progress.md - Minimal:
AGENTS.md+ readiness path + short progress log
If the repo already has a good state source, keep it.
Use Spec-Driven Harness Pattern when long-running work is phase-based.
3. Define readiness instead of blindly adding init.sh
The harness must define how the agent proves the repo is ready to work on. That can be:
init.sh- a smaller verification script
- a startup checklist inside
AGENTS.md - a phase-0 section in an active spec
Use readiness gates that match the repo, not a fixed bootstrap ritual.
4. Encode end-of-session continuity
The repo must answer:
- What is the current focus?
- What is done?
- What is blocked?
- What proof exists?
- Where does the next session resume?
That continuity can live in progress.md, session-handoff.md, or an actively maintained spec.
Specs and docs are complementary
Treat specs and docs as two different but related systems:
specs/pushes active development forward.docs/captures stable explanations, lessons, feature behavior, and durable decisions.
When the repository uses structured planning, prefer this split:
specs/active/NN-topic-plan.mdfor executiondocs/features/NN-topic.mdfor user-facing or system-facing capability docsdocs/lessons/NN-topic.mdfor experience summaries and non-obvious implementation lessonsdocs/decisions/NN-topic.mdfor durable cross-spec decisions
Do not bury durable decisions inside stale specs if they need to outlive one implementation plan.
5. Keep governance separate from planning
Spec-driven development can replace some progress and state files, but it does not replace:
- clean-state discipline
- verification discipline
- repository hygiene
- periodic governance reviews
Use Gotchas before finalizing a design.
Templates and scripts
Use these bundled assets selectively. Prose templates live under language-specific subdirectories:
templates/
├── en/ # English templates
│ ├── agents.md
│ ├── architecture.md
│ ├── specs-agents.md
│ ├── docs-agents.md
│ ├── docs-decision.md
│ ├── docs-feature.md
│ ├── docs-lesson.md
│ ├── active-spec.md
│ ├── progress.md
│ ├── session-handoff.md
│ └── readiness-check.md
├── zh/ # Chinese templates
│ ├── agents.md
│ ├── architecture.md
│ ├── specs-agents.md
│ ├── docs-agents.md
│ ├── docs-decision.md
│ ├── docs-feature.md
│ ├── docs-lesson.md
│ ├── active-spec.md
│ ├── progress.md
│ ├── session-handoff.md
│ └── readiness-check.md
├── feature-list.json # language-neutral
├── feature-list.schema.json
└── init.sh # language-neutralScripts:
scripts/detect-harness.shscripts/scaffold-greenfield.sh
Never copy every template by default. Pick the smallest set that fits the repo mode.
When generating specs/AGENTS.md or docs/AGENTS.md, prefer the detailed templates over a minimal directory guide. Only emit a minimal version if the user explicitly asks for one.
Common mistakes
- Replacing a spec-driven workflow with
feature_list.jsonjust because the course used it. - Adding
init.shwhen the repo only needs a lightweight readiness check. - Creating
progress.mdandsession-handoff.mdeven though the active spec already tracks phase state well. - Letting planning files and governance files drift apart.
- Creating multiple status sources that disagree.
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
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.

