factory
Skill5 starsChanged 6 days agoMITView on GitHub
Put a feature or epic on rails - plan, approve, build in an isolated worktree, self-review, get CI green, open a PR - with only two optional human checkpoints (plan and PR). Use for high-impact work with clear acceptance criteria, or when the human says "factory" or "auto".
16 other projects use a version of this.
Adopted by
Most recently taken up by
- lutzseverino/repo-canontheir own version, first seen Nov 8, 2026
- momoathome/software-factorytheir own version, first seen Nov 8, 2026
- WordPress/desktop-modetheir own version, first seen Nov 2, 2026
- BuilderIO/skillstheir own version, first seen Oct 28, 2026
- RTekaya/app-factorytheir own version, first seen Oct 15, 2026
- AirsupHQ/factory-skilltheir own version, first seen Oct 15, 2026
Used with
Projects with it also use status and implement.
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.
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- PrimeIntellect-ai/prime-agent★ 23ksame name
- BuilderIO/skills★ 4.7ksame name
- WordPress/desktop-mode★ 280same name
- akashgit/remote-factory★ 74same name
- boston-harness-group/remote-factory★ 74same name
- AirsupHQ/factory-skill★ 16same name
- xavierforge/skills★ 4same name
- jaydubya818/MissionControl★ 2same name
- berth-dev/berth★ 1same name
- jircdev/crew-plugin★ 1same name
6 more not listed
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
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
3
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
- Very specific: line 27
Keep the title as [factory] <task> — <state>, where state is one of planning, awaiting-approval, building, in-review, ci-red, blocked: …
- Distinctive: line 31
planning: read the code. If the spec is clear and the change fits in one PR, write a short plan (approach, files, finish line) into the …
- Very specific: line 41
in-review: before any human sees it, get an independent review: the playbook-reviewer subagent (give it the acceptance criteria and a diff …
- Very specific: line 47
ci: run the repo's test/lint/typecheck locally, push the branch, open a draft PR, and watch CI.
- Distinctive: line 56
Run tasks in parallel only when AGENTS.md rule 6 says it's faster (each piece independent and 10+ minutes of agent time).
- Very specific: line 79
Never block silently. If you need the human, the title says blocked: <reason> and your reply's first line says what you need.
- Distinctive: line 81
Prefer the repo's conventions over this skill when they conflict.
“Common” is measured: kept by at least 6 in 10 of the 15 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
Factory
The software delivery lifecycle on rails. The human chooses how much attention
to pay: checkpoints (default: approve plan, review PR) or auto (approve
nothing, just get the PR, or merge if explicitly allowed).
The record
One living record per task, kept current as you work: the PR description, or
docs/plans/<slug>.md when a plan file is warranted (see stage 1). It has
these sections, so anyone can see the state without reading the chat:
- Goal and finish line: what done means, as checks.
- Progress: timestamped steps done and next.
- Decision Log: each interpretation, cap, fallback or trade-off, with why.
- Surprises: what the code or tests revealed that the plan didn't expect.
- Follow-ups: things worth doing that are out of scope.
- Verification: the commands run and what a reviewer can run to check it.
Stages
Keep the title as [factory] <task> — <state>, where state is one of
planning, awaiting-approval, building, in-review, ci-red,
blocked: <reason>, pr-open: <url>, done.
- planning: read the code. If the spec is clear and the change fits in
one PR, write a short plan (approach, files, finish line) into the record
and move on. Write
docs/plans/<slug>.mdonly when the spec is ambiguous, the work splits into several PRs (each ≤ ~1,200 changed lines), or the human asked to approve a plan. - awaiting-approval (skip in
auto): show the task list and stop. Ask once. Accept edits to the plan, then continue. - building: per task, one branch
factory/<slug>-<n>in an isolated worktree. Tasks run in order unless the parallel rule below applies; dependent tasks always run in order, each based on the previous branch. - in-review: before any human sees it, get an independent review: the
playbook-reviewersubagent (give it the acceptance criteria and a diff file:git diff <base>...HEAD > "$TMPDIR/review.diff"),/code-review, or a fresh subagent with only the diff and the criteria. It covers security when the change touches auth, input, money or stored data. Fix confirmed findings; log rejected ones in the Decision Log. - ci: run the repo's test/lint/typecheck locally, push the branch, open a
draft PR, and watch CI. On red: read the failing log, fix, push again. After
3 failed attempts on the same failure, mark
blocked: ci <check name>. - pr-open: mark the PR ready with the record as its description.
- done: merge only if the human explicitly allowed it for this task; otherwise a green, ready PR is done.
Parallel work
Run tasks in parallel only when AGENTS.md rule 6 says it's faster (each piece independent and 10+ minutes of agent time). Measured: on 3 feature tasks, parallel threads cost ~2.4x the tokens and saved no time; on 5 security fixes, 5 parallel workers were 2 minutes slower at 6.7x the tokens.
A child starts with none of your context. Write its brief with the delegate
skill, and add the branch to base on and the instruction to keep the record
sections above.
In bb, one child thread per task:
bb thread spawn --parent-self --new-environment worktree --base-branch <branch> \
--title "[factory] <task n> — building" --prompt-file task-n.md
bb thread wait <id> # or rely on parent notifications
bb thread show <id> --work-status # PR + CI stateThe factory-sweep automation (see automations/) nudges stuck threads and
red PRs so you don't have to poll.
Rules
- Never block silently. If you need the human, the title says
blocked: <reason>and your reply's first line says what you need. - Prefer the repo's conventions over this skill when they conflict.
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.

