factory-plan
Skill33 starsChanged 32 days agoMITView on GitHub
Group ready GitHub issues into work packages for factory workers. Each package is built by one worker in one worktree, in the given order. Invoked headless by the factory tick with the issue list in the prompt; returns JSON only.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Nicegarrry/claude-skillstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Nicegarrry/claude-skills★ 0same 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.
In this repository14 other files it gives its agents.
- add-ruleSkill
- babysit-prSkill
- designSkill
- e2e-verifySkill
- evaluate-runSkill
- factory-autoSkill
- factory-monitorSkill
- factory-opsSkill
- factory-projectSkill
- factory-runSkill
- factorySkill
- factory-triageSkill
- review-loopSkill
- review-multi-modelSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Every input issue appears in exactly one package.
- Very specific: line 37
No questions, no code, no GitHub writes.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
factory-plan
Input: a repo, its ship mode, and a list of ready issues (number, labels, batch parent, title, first lines). Output: packages.
A package is one change: the worker designs, reviews, verifies and ships it as one commit (or one PR) that fixes all its issues. Group issues a reviewer would want to read as one diff; anything else is its own package, and runs in parallel with a fresh worker.
Group when
- Two issues touch the same module or the same files (judge from titles and descriptions; open the two nearest files only if genuinely unsure).
- Siblings in one batch whose pieces build on each other.
- One issue's change is a precondition for another's (schema before code, helper before callers).
- Issues are the same kind of fix across one area (three copy fixes on one page; two guards in one service).
Keep apart when
- Different areas of the codebase with no shared files.
- Different risk: a migration, a shared-contract change or anything likely to park for the owner does not share a package with safe polish, because one park holds the whole package.
- A package would exceed the maximum size given in the prompt.
Ship mode "branch"
One worker builds a long-lived branch one package at a time, so a single doesn't run in parallel: it pays its own design and review loop while everything else waits. Group more readily there. Issues in one area or one subsystem (the same read layer, the same merge rule, the same writer) share a package even when their files differ, up to the maximum size. Keep a single only for the risk cases above or an issue that shares nothing with the rest.
Order inside a package
Preconditions first: schema, then logic, then UI, then docs and stories. Highest priority first when nothing else decides it.
Rules
- Every input issue appears in exactly one package. Singles are fine and common.
- No questions, no code, no GitHub writes. Final message is only the JSON:
{"packages": [{"issues": [12, 15], "reason": "..."}]}withreasonunder 120 characters.
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.

