by cbeeswax
An agentic software factory for Claude Code: GitHub issues in, reviewed pull requests out.
# Add to your Claude Code skills
git clone https://github.com/cbeeswax/software-factoryGuides for using ai agents skills like software-factory.
See how software-factory compares with popular alternatives.
software-factory is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cbeeswax. An agentic software factory for Claude Code: GitHub issues in, reviewed pull requests out. It has 117 GitHub stars.
software-factory's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/cbeeswax/software-factory" and add it to your Claude Code skills directory (see the Installation section above).
software-factory is primarily written in JavaScript. It is open-source under cbeeswax on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh software-factory against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
An agentic software factory for Claude Code and GitHub Copilot. GitHub issues go in; reviewed pull requests come out. A team of specialist agents does the work, a small deterministic program decides what happens next, and a human is asked only when the stakes call for it. The pipeline is chosen for each task, and the factory remembers its mistakes so the next job does not repeat them.
FORWARD PRESSURE THE LINE BACK PRESSURE
what starts work what stops bad work
GitHub issues ─┐
Sentry errors ─┤ ┌────────┐ ┌──────┐ ┌───────┐ ┌──────┐ ┌─────────┐ ┌─────────┐
Inbox notes ─┼─▶ issue ─▶ │ intake │─▶│ spec │─▶│ build │─▶│ GATE │─▶│ reviews │─▶│ approve │─▶ merge
Any command ─┘ └────────┘ └──────┘ └───────┘ └──────┘ └─────────┘ └─────────┘
reject or │ ▲ ▲ │ │ │
ask a human ▼ │ gaps └──────────┴──────────┘ ▼
┌────────────┐ fails go back to human approves when
│ spec check │ the builder risk, protected paths
└────────────┘ or a spot-check say so
human answers open questions,
and approves the plan when it
is hard to reverse
Every trigger is an accelerator, and accelerators without brakes produce slop at speed. The factory ships with the brakes on:
approval.autoMerge is false until you turn it on.factory:triage until a person adds the factory label.Open one throttle at a time as the checks and reviews earn your trust. factory/DESIGN.md lists every throttle and where it starts.
Intake. An agent reads the issue against the codebase, checks its claims, decides whether it is worth building, narrows the scope or sends an oversized request to be split into tickets, says what kind of job it is, and rates the risk. Code turns that into the job's plan and writes a brief every later agent reads first.
| Kind of job | How it is handled |
|---|---|
| feature | Designed first when it is risky or hard to reverse; built test-first in thin slices. |
| bug | No design stage. Reproduced with a failing test first, fixed at the root cause, nothing else changed. |
| refactor | Behaviour pinned down by tests before anything moves; an architecture reviewer always looks at it. |
| docs | Light pipeline, one reviewer; every statement checked against the code. |
| chore | Light pipeline; one thing changed at a time, the full checks prove nothing else moved. |
| spike | Quick experiment to answer a question; never merged without a human. |
Design. For work that is risky or expensive to reverse, an agent works out how the change fits the existing system: boundaries, interfaces, data model, and the alternatives it rejected.
Spec. An agent writes acceptance criteria and a task plan. If the work fixes something hard to change later (a schema, a public API), a human approves the plan before any code is written.
Spec check. A second agent grills the spec for gaps before any code is written: decisions it left open, criteria nobody could test, claims about the codebase that are not true. Gaps the code or the issue can settle go back to the spec writer. Questions only a person can answer stop the job and are put to you, each with a recommended answer. When the gaps persist but the spec check marks no item as needing a person, the factory accepts its recommended answers itself (at most maxAutoAnswers times per job) instead of stopping.
Build. An agent implements the spec test-first in its own git worktree, so several jobs run in parallel without touching each other or your checkout.
Gate. No agent involved. A script runs your real checks (lint, types, tests, build) and scans the diff for committed credentials, suppressed lint rules, skipped or deleted tests, oversized files and oversized diffs. A failing build goes straight back to the builder and never reaches a reviewer. A failed check shows its first 40 and last 80 lines in the gate file, with the number of lines left out between them, and its full output is saved to a log in the job folder that the gate file names.
Reviews. Reviewers are chosen per job and run in parallel:
| Reviewer | Runs when | Looks for |
|---|---|---|
| code | always | correctness, fit with the codebase, code that should not exist |
| qa | always | whether each acceptance criterion is met and properly tested |
| security | medium or high risk, or the job touches auth, data, APIs, infrastructure or dependencies | what an attacker could now do |
| privacy | the job touches personal data or stored data | what the system does with people's data: collection, logs, third parties, retention, deletion |
| ux and ui | the job touches the interface | flows, states and wording; design consistency and accessibility |
| architecture | refactors, high risk, or hard-to-reverse designs | boundaries, dependencies, invariants, whether the build follows the design |
| performance | intake flagged a hot path or cost that grows with data | regressions at realistic scale, measured where possible |
| doubt | high risk | takes every claim the builder made and tries to prove it false |
Any failure sends the job back to the builder for another round, up to a limit.
From round 2 on, every reviewer still runs, but a reviewer that gave a verdict in an earlier round is told to read only the change since the commit it last reviewed: it checks its earlier findings were fixed, reads that change in full, and opens the whole diff wherever the change touches code it passed. A reviewer new to the job, and any case the factory cannot prove safe (a rewritten history, a merge in between, a git error, a job from before this rule), reads the whole diff. The gate file records each reviewer's range.
Approve. An agent recommends merge or escalate. Then rules it cannot override apply: high risk, protected paths, and a random spot-check all force a human review. Before any merge, the factory's or a human's, the base check runs: if the base branch moved since the gate, the factory merges it into the job's branch and runs the whole gate again. A clean, green result merges without another review; a conflict or a failed check goes back to the builder.
Merge. Once the base check passes, the pull request is merged, the worktree is removed, and the issue is closed with the full history in its comments.
Learn. If anything went wrong on the way, a retro agent works out the cause and records a lesson. See "How it learns" below.
/factory collect turns production errors and inbox notes into new issues, which closes the loop.
When intake finds a request is several pieces of work, a decompose agent splits it into two to twelve tickets, each buildable and reviewable by itself, and records which depend on which. The factory files them in order with "Depends on #n" lines. A ticket is not started until the tickets it depends on are closed, and tickets with no dependencies between them are built in parallel. You can write "Depends on #12" in any ticket yourself and get the same ordering.
The ticket tracker is where people talk to the factory. Each ticket shows what the factory is doing through labels (factory:running, factory:needs-human) and comments from every stage. When a job is waiting on you, reply on the ticket with a comment that starts with /factory:
/factory approve approves the plan, the recommended answers, or the merge, whichever it is waiting for./factory reject <why> drops the job./factory <anything else> is taken as your answer or feedback.Only comments from the repository's owner, members and collaborators count. The next /factory run picks them up. You can also just answer in the session.
The factory:running label is also what keeps two factories, on two machines, from building the same ticket.
The factory keeps a record of its own mistakes and feeds them back into later jobs.
factory/memory/lessons.json holds them, each tagged with the agents it is for and the kinds of job and areas of code it applies to. factory/LESSONS.md is the readable view. Commit both and the whole team's factory shares one memory.