How do I set up a Tares software factory for Claude Code for a documentation website?
Tares sets up a software factory for Claude Code for your documentation website: run tares factory crew up once, then tares factory spec in the docs repo. If the site spans several repos, run spec in a folder that holds them. The crew builds each ticket into a pull request. By default builders merge once the reviewer passes and CI is green, and you can instead choose to approve every merge yourself.
How it works
The crew is a set of Claude Code sessions that run in the background on your machine: an orchestrator, a reviewer and builders. A releaser joins only if you ask for one. Tares keeps the plan, tickets, reviews and your answers, so a crew that restarts carries on where it stopped.
Two folders matter, and they are different:
- The crew’s home. The crew lives in its own folder,
~/factory.tares factory crew upopens Claude Code there the first time so you can trust the folder once. You do not run spec from this folder. - Where you run spec. Run
tares factory specin the repo the project builds on. For a documentation website with content, theme and examples in separate repos, run it in the folder that holds those repos. Spec writes the plan into a Tares project: the spec, milestones with acceptance checks, tickets with a working doc each, and an AGENTS.md.
Builders are started one per milestone and repo, so a docs site split over several repos gets a builder for each. They push and open pull requests with your gh login. Tares reads the pull request, CI and merge state of every ticket with its own GitHub access.
The crew uses your Claude Code login. There is no separate model API key.
Set it up
-
Check the machine. You need Claude Code signed in on a plan that allows background sessions,
ghsigned in with write access to the docs repos, andgit,jqandcurlinstalled. The Codex CLI is optional, for a second model that checks every commit.gh auth login -
Install the CLI and start Tares locally.
uv tool install tares # or: brew install glassflow/tap/tares tares up -
In a second terminal, start the MCP endpoint every crew session shares. The crew reaches a local Tares only through it, so
crew upandspecstop and tell you when it does not answer. On Tares Cloud, runtares logininstead and pick your workspace in the browser. There is no MCP endpoint to start.tares mcp --transport streamable-http -
Give Tares access to GitHub. On a local Tares, add a GitHub token or App under Settings > GitHub. On Tares Cloud, choose Connect GitHub and pick the docs repos.
-
Bring up the crew. The first run asks how far the crew may go. You choose whether it merges on its own after review and green CI (recommended) or waits for your yes, whether it releases, whether a second model checks every commit, and how many builders run at once.
tares factory crew up -
Plan the site. Change into the docs repo, or the folder that holds its repos, then run spec.
tares factory spec "what you want to build"Spec interviews you one question at a time, has a second model attack the plan, and asks whether to hand the project to the crew. Say yes and the orchestrator picks it up.
-
Check the setup with
tares factory doctor. It prints a line for each thing the crew needs and the command that fixes each problem.
For a docs site, doctor’s language server check is the part most worth reading. It reads each handed-over repo’s languages from its manifests, at the repo root or one folder down. A package.json counts as JavaScript, and a tsconfig.json counts as TypeScript. For a missing server, doctor prints what to run. crew up offers the same install and runs it only when you say yes. The full walkthrough is on Get started.
What you get
- A crew that turns the plan for your docs site into pull requests, reviewed to a fixed bar by the reviewer.
- Merges that follow the policy you chose: automatic after review and green CI, or waiting for your yes. You can also require your yes on a single project while the rest of the crew merges on its own.
- One session to talk to, the orchestrator. Open it with
tares factory crew attach orchestrator. Questions reach you there one at a time, each with a recommendation. - A Crew page in the Tares console that shows the question waiting for you, the stations, each project’s builders and the pull requests waiting for review.
- A record on Tares of the plan, tickets, reviews, assumptions and your answers, so a restart loses nothing.
When something else fits
- For a small change to the docs, work in your own Claude Code session instead with
tares factory session. It plans a small project and builds it right there, still on Tares. - The software factory for Claude Code needs Claude Code and runs on one machine. It suits solo developers and very small teams working against their own GitHub repos.
Related
- Build a software factory with Claude Code
- How do I set up a Tares software factory for Claude Code on a Go microservice?
- How do I require green CI before Claude Code merges changes to a documentation website?
- How do I have a second model review dependency upgrades in a documentation website before each commit?
Still stuck? Get help