Blueprint repo
Generic skills, rules, routines, and their connectors. May import third-party blueprints too.
Fabrica is a software factory framework. Think of it as terraform for factories. Your skills, loops, and rules are infrastructure, but they are scattered and not versioned. Fabrica is here to help.
If your team uses AI coding agents, your “how we work” knowledge ends up all over the place.
So when you improve your process, you update it everywhere by hand. And when you switch tools, you start over.
Your product repo versions your code. A blueprint repo versions your software factory.
Generic skills, rules, routines, and their connectors. May import third-party blueprints too.
Serves your factory’s rules and skills.
Scheduled tasks in Claude Code, Cursor, and others.
Your actual software code.
Import blueprints inside larger blueprints. Build your software factory with reusable software factory fragments.
Fabrica is a single static binary
curl -fsSL https://raw.githubusercontent.com/staltz/fabrica/main/install.sh | bash
It puts fabrica in ~/.local/bin. Prefer Go? Build it from source.
On a Mac, you can use Fabrica.app instead: a menu bar app that installs the CLI too and edits your factories with forms. Download Fabrica-macos.zip.
Start from the starter blueprint that comes built in: five skills, three routines and four rules, ready to change.
$ fabrica new ~/code/my-blueprint
$ fabrica check
✓ No problems found.
One file in your home repo: this blueprint, on every repo, in Claude Code and Cursor.
blueprint: { git: github.com/you/my-blueprint, ref: main }
runtimes: [claude-code-local, cursor-local]
targets: ["*"]
Plan never changes anything. Apply adds one MCP server to each tool, and never writes into a product repo.
$ fabrica plan
$ fabrica apply
Make it the first line of a product repo’s AGENTS.md. From then on, every agent there works your way.
Before starting, load this repo's working rules from the Fabrica MCP server; if you don't have it, ignore this line.
Paste this into your coding agent, in your project’s repo. It installs Fabrica, moves your generic skills and rules into a blueprint, and deploys a factory back onto your repo.
I want you to use https://github.com/staltz/fabrica to set up a software factory for my project.
**Instructions:**
1. Read how Fabrica works
2. Install the `fabrica` CLI for me
3. Ask me if I want a local-only or a cloud-based factory, and with what AI harnesses
4. Create a new factory blueprint repository in a suitable location
5. Extract generic skills and rules from this product repository into the blueprint repository
6. Configure the factory in the home repo `~/.fabrica`
7. Use `fabrica plan` and `fabrica apply` to deploy the factory onto the product repository
8. Verify that it works
9. Report back to me with a simple summary (written in casual and conversational plain English) on: what changed in my product repository, how the factory was deployed, how it works, and follow ups to improve the factory.