Documentation
Specifications that are checked, not admired. Start with Getting started if the folder is empty, or You cloned a repo if somebody handed you one.
Installnpx @rsaglobaltech/specgate@latest init
Start
Two journeys of five phases — from scratch, or on code you already have — every output recorded from the CLI.
Pick your pathStarting from scratch, or bringing code you already have? Both journeys at a glance.You cloned a spec-driven repoSomeone handed you a spec-driven repository. Start here instead.Install and set upCreate the project with your own tools, set Specgate up, run the gate once.Write the briefYour plan as docs/brief.md, the four fields on top — or let your agent propose them.SpecifyThe brief becomes a draft per module, checked by `draft --check`, then archived.BuildThe first requirement, test first — by hand or handed to the harness.Prove`done` closes it only through the gate; `check` and `report` show where it stands.Every dayThe gate in CI, the five-command loop, and Gato.Adopt`onboard` and `init` on a working codebase, touching no code.SpecifyOne behaviour you rely on, written as a requirement with a real example.First requirementThe test you already have names it; `done` closes it.CIThe gate on every pull request, without fixing the past first.Every dayOne behaviour per bug fix, one module at a time. New project (forja)
Start from an empty folder with a whole application: the architecture in place, sign-in working, Specgate adopted.
Getting startedGenerate a Next.js + Expo monorepo in TypeScript, with the hexagon in place.Java backendsA Spring Boot or Quarkus API, a Next.js web app and Keycloak sign-in.Daily useAdd use cases, entities and ports where the architecture expects them; check the setup.With SpecgateHow a generated project adopts Specgate, and how a use case names its requirement.End-to-end testsPlaywright drives the sign-in flow in a real browser.forja command lineinit, add, doctor: every flag and the values it accepts.forja.config.jsonEvery field, its values and its defaults.What it generatesRecipe by recipe: the folders, the files, the versions.The generated architectureThe hexagon forja generates and the rules that keep it.Contributing to forjaDevelop forja, write a recipe, verify what it generates. Every day
The loop a team runs on every pull request.
Proven on real products
Six products built from real client briefs — what worked, and what Specgate got wrong.
The gate in CI
What fails a pull request, and how to wire it in.
Existing code
Adopting Specgate on a repository that already ships.
Reference
Every command, the ideas behind them, and what to do when something fails.
Extensions
Agents, MCP, the harness, domain packs and your issue tracker.
Agent toolsWire Claude Code, Cursor, Copilot and six others into the same loop.The MCP serverThe daily loop as tools for Claude Desktop, Cursor and other MCP clients, and the guard on the spec.The harnessUnattended delivery: plan → agent → gate → done, one worktree per requirement.What the harness has costFirst-attempt rate and cost per delivered requirement, from the run ledger.Domain packsInstall requirements a pilot already proved, or package your own.Domain packs, end to endInstall a pack, upgrade it to a new version, and take it off again.Jira, Azure Boards, GitHubMirror requirements onto a board without letting the board define them. Advanced
Longer reads, setups and the reasons behind the design.