/jig-idea in Claude Code, $jig-idea in Codex.
1. Create the folder and install
Install Jig on your machine. Then create an empty folder, make it a Git repository, runjig init, and commit — a task starts on its own branch, and Git cannot branch from a
repository with no commits. On Windows, the installer does all of this for you when you let it set
up your first project.
With no code yet, jig init cannot tell your stack, so only the basic generic profile is on; the
right ones are switched on in step 3. The three knowledge documents it creates are empty templates
until then.
2. Test the idea
You say: “I have an idea: a booking app for small yoga studios. Poke holes in it.” The agent does: works in three phases, in order. First it makes sure it understands — the idea in one sentence, who is worse off without it, what success looks like. Then it puts weight on it: the assumptions it rests on, the trade-offs, the vague words, the cost of being wrong. Then it offers two or three other shapes — a different audience, scale or form — each with its recommendation. For a new project those shapes include the architecture: a plain layered application, modules by domain, ports and adapters, or what you name, with what each costs and pays back at the size you expect, the lightest always among them. And the stack. Every question comes with the agent’s recommended answer and what follows from each option. You choose how deep to go — easy, normal or deep; on deep (and on normal, if you accept the offer), a second agent with a clean context hunts for the ways the idea fails. Under the hood: thejig-idea skill. Everything decided is written down as it happens, into
.ai/specs/<id>/:
spec.md— the idea in your words, the goal, the stress test, scope, decisions with the rejected options and why, open questions;architecture.mdandstack.md— for a new project;roadmap.md— the destination, phases, items with their dependencies,fog:for what cannot be stated precisely yet, and waves of items that can run in parallel.
3. Turn decisions into architecture and rules
You say: “Set up the project’s knowledge from the spec.” (The agent offers this itself once the decisions are settled.) The agent does: carries the spec’s decisions — not its plans — into.ai/knowledge/:
Under the hood: the
jig-init skill, on its path for a project without code. The intended
architecture is written as an intention: the task that builds a part moves it out of Intended.
Profiles for the chosen stack report their checks as skipped — never passed — until the project’s
own tools and manifests exist.
Where you are needed: the agent shows every document in full before anyone relies on it.
4. Choose how the work is released
You say: nothing, usually — the agent asks while cutting the roadmap: does each phase give a user something on its own, or is the product released once, at the end?- Each phase ships on its own: tasks branch from your main branch as usual.
- Released once: the spec gets an epic branch. The spec’s tasks branch from the epic and their pull requests go into it; the main branch sees the feature in one piece when the epic is finished.
jig spec epic <id> creates the epic branch once the spec is on the main
branch; you push it. When every phase is in, finishing the epic lists what is still open in the
spec — unchecked items, fog, open questions — and asks you about each before the spec is retired.
5. Start the first tasks
You say: “File the tasks for phase 1.” The agent does: turns each item of the phase into a task, classifies it by risk, and links it to the spec. Filing starts nothing — no branch, no checkout change. You say: “Start the first one.” The agent does: starts the task on its own branch — from the epic, if there is one — reads the knowledge from step 3, and follows the route its class requires. When the task records what it taught the project, the roadmap item is checked in the same pull request. Where you are needed: wherever the task’s route puts a human gate, and at the end of every task, when the change is yours to review and merge. Working with tasks covers the rest: several agents at once, pausing, resuming.Things to know
- Commit before starting a task. Without a first commit Git has nothing to branch from.
- Replace the roadmap’s example lines. A fresh
roadmap.mdholds example items, and they count as items until the agent replaces them. - A spec can move. To start a new project from a spec written elsewhere, copy its
.ai/specs/<id>/folder into the new project; from then on that project’s Jig tracks it.