factory-triage
Skill33 starsChanged 32 days agoMITView on GitHub
Classify one GitHub issue for the factory. Reads the issue, its comments, its batch parent, the scope rule, the principles and the shared issue flow, then returns a verdict (ready | split | decide | human | later) with a priority, and writes a `## Verify` section into the issue when it is ready. Invoked headless by the factory tick; can also be run by hand as "/factory-triage acme/app#123".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- addyosmani/factory-demotheir own version, first seen Aug 19, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- addyosmani/factory-demo★ 2same 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-planSkill
- factory-projectSkill
- factory-runSkill
- factorySkill
- review-loopSkill
- review-multi-modelSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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 33
Never ask a human. If you cannot decide, the verdict is decide.
- Very specific: line 34
Never change labels yourself (except batch on a split).
- Very specific: line 35
Keep reason under 200 characters.
- Very specific: line 36
Prefer later over ready when unsure about scope.
≈ “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-triage
One issue in, one verdict out. No code changes, no questions to a human. Output is the JSON object the caller's schema asks for; nothing else in the final message.
Read
- The issue with its comments:
gh issue view <n> -R <repo> --comments. Its batch parent and siblings if it has one (gh api repos/<repo>/issues/<n> --jq .parent_issue_url, then the parent's body andsub_issues). Linked PRs and commits. - The scope rule, the principles file (
principles/common.mdbeside it, then the repo's file) and the issue flow (~/.claude/factory/issues.md), all named in the prompt. - The repo's
CLAUDE.mdand enough of the codebase to judge size and risk: the two nearest files for the area. Do not plan the implementation.
Decide
Pick exactly one verdict:
- ready: inside the scope rule; one worker can finish it (one PR, or a few commits in a push repo); the behavior is clear from the issue plus documents; no product fork left open; nothing only the owner can do. If the issue lacks a
## Verifysection of yes/no lines, write one (3 to 8 lines, each answerable by running the product or the tests) and save it into the body withgh issue edit <n> -R <repo> --body-file <file>, keeping the rest intact. Setverify_added: truewhen you did. - split: in scope but too big for one worker. Make the issue a batch (
issues.md§3): create the sub-issues perissues.md§2 (same labels as the parent, each with its own## Verify, blocked-by relations in build order, each still matching the target's labels), attach them, addbatchto the parent. Verdictsplit. - decide: a UX, architecture or product fork the documents and principles do not settle, and users would notice. Post one comment starting with
<!-- factory-note -->: the fork in plain words, 2 to 4 options, the recommended one and why. - human: the work needs a step only the owner can do (an account, a payment, a post, outreach, playing or reading something, a privileged deploy) and there is no code part a worker could do first. When there is a code part, it's
readyand the worker parks at the human step. - later: outside the scope rule (new capability, speculative hardening with no occurrence, nice-to-have no one asked for), or a duplicate. Search first (
gh issue list -R <repo> --state all --search "<3-4 title words>"); a duplicate's reason is "duplicate of #N".
Also return:
priority:mediumorlow, used only when the issue has no priority label (customer-visible bug > data correctness > observability > polish). Neverhigh: only the owner sets it.stream: thestream:label the issue should carry (the part afterstream:, one the repo already has),""when unsure.kind:bug,feature,rolloutortask,""when unsure. The tick adds these only when missing.
Rules
- Never ask a human. If you cannot decide, the verdict is
decide. - Never change labels yourself (except
batchon a split); the tick applies them from your JSON. - Keep
reasonunder 200 characters; it goes on the issue. - Prefer
lateroverreadywhen unsure about scope. Preferreadyoverdecidewhen the principles answer the question.
Output
Final message is only the JSON object: {"verdict": "...", "priority": "medium|low", "stream": "...", "kind": "...", "reason": "...", "verify_added": true|false}.
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.

