spec-project
/spec-project
Use when the user wants to spec, plan or brainstorm a new project, feature or piece of work so that another session or a tares-factory crew can build it later (any wording, or /tares:spec). Interviews one question at a time with a recommended answer, removes unknowns with research and throwaway prototypes, has a second model attack the plan, then writes everything the build needs into a Tares project (spec, plan, milestones with acceptance checks, AGENTS.md, starting prompt, tickets with dependencies and a working doc each), with the tickets in Linear or GitHub Issues when the user wants them
- Author
- glassflow ↗
- Repository
- tares ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when the user wants to spec, plan or brainstorm a new project, feature or piece of work so that another session or a tares-factory crew can build it later (any wording, or /tares:spec). Interviews one question at a time with a recommended answer, removes unknowns with research and throwaway prototypes, has a second model attack the plan, then writes everything the build needs into a Tares project (spec, plan, milestones with acceptance checks, AGENTS.md, starting prompt, tickets with dependencies and a working doc each), with the tickets in Linear or GitHub Issues when the user wants them
Original author description
Use when the user wants to spec, plan or brainstorm a new project, feature or piece of work so that another session or a tares-factory crew can build it later (any wording, or /tares:spec). Interviews one question at a time with a recommended answer, removes unknowns with research and throwaway prototypes, has a second model attack the plan, then writes everything the build needs into a Tares project (spec, plan, milestones with acceptance checks, AGENTS.md, starting prompt, tickets with dependencies and a working doc each), with the tickets in Linear or GitHub Issues when the user wants them
How it works
- 0. Read what is already decided
- 1. Understand the idea, one question at a time
- 2. Remove the unknowns before planning
- 3. Plan in milestones that ship something checkable
- 4. Have a second model attack the plan
- 5. Where the tickets live
- 6. Write the project into Tares
- 7. The starting prompt
- 8. Check, then hand over
- 9. Hand the project to the crew (crew-built projects only)
SKILL.md preview
---
name: spec-project
description: Use when the user wants to spec, plan or brainstorm a new project, feature or piece of work so that another session or a tares-factory crew can build it later (any wording, or /tares:spec). Interviews one question at a time with a recommended answer, removes unknowns with research and throwaway prototypes, has a second model attack the plan, then writes everything the build needs into a Tares project (spec, plan, milestones with acceptance checks, AGENTS.md, starting prompt, tickets with dependencies and a working doc each), with the tickets in Linear or GitHub Issues when the user wants them there.
---
# Spec a project into Tares
You are the spec session. Your job ends when a fresh Claude Code session, or a tares-factory
crew, told only the project's name, can read everything it needs from Tares and build it without
asking the user anything you could have written down. Cheaper models may build the tickets, so
nothing may be left for them to guess. You do not build anything here.
**Light mode** (the `session` skill sends you here for `tares factory session "<idea>"`): a small
project planned and built in the same session. Follow the section "Light mode" at the end instead
of steps 1 to 9.
## 0. Read what is already decided
- Call `read_global_docs` first: the AGENTS.md and memory every project shares hold the user's
standing rules and facts. Follow them and do not ask again for what they answer.
- For a project a tares-factory crew will build, call `read_grants` and `get_crew_settings`:
the user's standing permissions and how far the crew may go alone. Only ask about what is
different for this project; save a new grant with `add_grant`, quoting the user's own words.
- If the project builds on a repo that exists, **read the repo before asking about it**: layout,
stack, how it builds and tests today, its own AGENTS.md or README.
- When this session runs in a folder that holds several repos (`tares factory spec` started in a
workspace), the project may span them, for example an API, its UI and its chart. Read each, and
ask which ones the project changes, recommending the ones the idea touches.
**Throughout the session:** when the user states something that holds beyond this project (a
standing rule such as "always build on a branch", or a fact such as "prices are in euros"), ask
once whether to add it to the shared AGENTS.md (or memory). On yes, `add_to_global` with `agents`
for a rule or `memory` for a fact, one short line.
## 1. Understand the idea, one question at a time
Interview the user the way a good tech lead would: **one question per message, each with your
recommended answer and why**, so the user can just say yes. Never send a list of questions. Stop
when you could explain the project to a new engineer. Cover:
- the goal in one line, who it is for, and what a user can do when it is done
- what is in and what is explicitly out of scope
- constraints: stack, hosting, data, deadlines, budget, what must not change
- where the code lives: every repo the project changes, each with its folder on this machine, its
GitHub name (`owner/name`) and branch, and the git rules (push or not, PRs or not)
- how we will know it works, and where it is checked (a performance target needs the machine it
is measured on)
- how it ships: where it runs, how a release is done and checked, how it is rolled back
- whether it will run on a tares-factory crew, or be built by one session (see step 8)
**As soon as the user agrees the goal** (usually the first question), call `create_project` with a
short unique name and the one-line goal, and tell the user its name in one line. From then on the
project, and this session, show on Tares while you work; use that name as `project` in every call
after this. Nothing else goes to Tares yet.
Push back on vague answers. Write nothing more to Tares until the user agrees the idea is clear
enough to write down.
## 2. Remove the unknowns before planning
For anything uncertain (a library you have not used, an API whose behaviour you are guessing, a
performance question, a UI the user cannot picture):
- research it (docs, the repo, the web) and say what you found;
- prove a risky assumption with a quick throwaway prototype in a scratch git worktree, delete it
afterwards, and say what it showed;
- show a UI idea as a mockup (an HTML page or a sketch) and get a yes before planning around it;
- check how the work fits the existing code: what it touches, what could break.
Every open question is answered here, by the user or by evidence, or becomes an explicit
assumption written in the spec.
## 3. Plan in milestones that ship something checkable
- **Milestones** each ship something a person can see and check. Small first milestone. No
milestone depends on a later one. Each has **acceptance checks**: a command and what it should
show, or a URL and what it returns, that a releaser can run after the milestone ships.
- **Tickets** are an hour or two of agent work each, one PR each, in order. Each belongs to a
milestone and names the tickets it depends on. A ticket a cheaper model cannot finish without
guessing is too big or too vague: split it or say more.
- **Several repos:** a ticket changes one repo, since one PR lives in one repo. A change that needs
two repos is two tickets joined by `depends_on`, the one that provides first (the API endpoint
before the UI that calls it), and both working docs say what crosses the line between them (the
route, the field names, the version). Each repo gets its own builder, so tickets in different
repos run side by side unless a dependency holds one back.
## 4. Have a second model attack the plan
Before writing anything to Tares, give a subagent on a **different model from yours** (`model:
"sonnet"` if you run on Opus, `"opus"` if you run on Sonnet) the spec, the plan with its checks,
and every ticket with its working doc, and ask it to find:
- steps a builder would have to guess, and words that mean two things;
- tickets that are too big, in the wrong order, or with hidden dependencies;
- acceptance checks that cannot fail or cannot be run;
- anything missing from AGENTS.md that a builder needs to build, test or release;
- risks the plan ignores.
Fix what holds up. **Show the user a short list of what changed and why**, then continue.
## 5. Where the tickets live
Ask (one question, with your recommendation): "Should the tickets live in Linear, GitHub Issues,
or only in Tares?"
- **Linear:** you need Linear's own MCP tools in this session (a `linear` server or the user's
Linear connector). If they are missing, say so and offer Tares instead. Tares also needs Linear
connected (Tares console, Settings, Linear) to keep its list in sync.
- **GitHub Issues:** one repo holds the issues, marked by an issue label. You need `gh` logged in
with `repo` scope, and a GitHub credential on Tares (Settings, GitHub) that can read that repo's
issues. Ask which repo, recommending the repo that holds the plan. GitHub owns these tickets:
Tares refuses to change a ticket's title, status, order, milestone or dependencies, so change
those with `gh`. `set_stage`, `add_check`, the working doc and `repo` still work in Tares.
- **Tares only:** nothing else to set up.
## 6. Write the project into Tares
Write for a reader who was not here: no "as discussed", no references to this conversation.
1. The project was made when the goal was agreed (step 1). If the goal changed since, the spec's
first line says the goal now agreed.
2. `write_doc` kind `spec`: what is built and why, who it is for, scope in and out, constraints,
decisions made here (with the user's words where they decided), assumptions still open.
3. `write_doc` kind `plan`: the milestones in order with their goal and the tickets in each.
4. `write_doc` kind `agents`, the AGENTS.md of the build: where the code lives (each repo's
absolute path or clone URL, GitHub name and branch), layout, exact commands to install, build,
run, test, lint, per repo when they differ; conventions; the
git rules; what not to touch; and the **release section**: how to release, where it runs, how
to check it went out, how to roll back, as exact commands. Propose the release section and get
the user's yes. Ask for anything you do not know; a builder cannot guess it.
5. Milestones: `write_milestone` once per milestone, in order, with its goal and its acceptance
checks (`[{"check": ..., "expect": ...}]`).
6. Tickets, in order:
- **Linear:** create the Linear project named like the Tares project, its milestones, and one
issue per ticket in its milestone, with a two or three line description; add a "blocks"
relation for each dependency. Then `link_linear_project` with the Linear project's URL, and
`write_milestone` again for each milestone to add its checks (Linear has no place for them).
Check the ticket list Tares returns matches what you created. For a project that spans
several repos, then `write_ticket(id=<label>, repo="owner/name", title="")` for each ticket.
- **GitHub Issues:** `R` is the repo (`owner/name`) and `L` is the label `tares:<project>`, cut
to 50 characters. In order:
1. `gh label create "L" --repo R --force` and `gh label create "in progress" --repo R --force`
2. one GitHub milestone per Tares milestone, in plan order:
`gh api repos/R/milestones -f title="<milestone name>" -f description="<goal>"`
3. one issue per ticket, in plan order (the issue number is the order):
`gh issue create --repo R --title "<title>" --body "<two or three lines>" --label "L" --milestone "<milestone name>"`
4. each dependency: get both node ids with `gh issue view <n> --repo R --json id -q .id`, then
`gh api graphql -f query='mutation($i:ID!,$b:ID!){addBlockedBy(input:{issueId:$i,blockingIssueId:$b}){clientMutationId}}' -f i=<blocked issue id> -f b=<blocking issue id>`
5. `link_github_issues(repo=R, issue_label=L)`, then `write_milestone` again for each milestone
to add its checks (GitHub has no place for them). Check the ticket list Tares returns
matches what you created (identifiers `GH-<n>`). If `link_github_issues` answers
`error 429: GitHub rate limit reached`, nothing is linked: wait about 5 minutes and call it
again. If the answer shows `github.error` naming the rate limit, the link is saved: wait
about 5 minutes and check `list_tickets`.
6. For a project that spans several repos, then
`write_ticket(id=<GH-n>, repo="owner/name", title="")` for each ticket.
- **Tares only:** `write_ticket` once per ticket with `milestone`, `depends_on` (the
tickets' labels, `T1`, `T2`, ...) and, for a project that spans several repos, `repo` (the
GitHub `owner/name` it changes). Titles say what the ticket does, without a number.
7. A working doc per ticket: `write_doc` kind `working`, titled `Working: <ticket title>`, then
`attach_working_doc`. Working docs never go to Linear or GitHub. Use exactly these sections:
```markdown
## Goal
What this ticket delivers, in one or two lines.
## Context and files
Why it exists, what it builds on (its dependencies), and the files or modules likely touched.
## Steps
1. Concrete steps in order, naming files and functions.
## Definition of done
- Observable results that must hold.
## Out of scope
- What this ticket must not do.
## How to check
- `<command>` -> <expected output>
## Progress
(The builder keeps this current: what is done, what is next, how to run what it needs.)
```
## 7. The starting prompt
`write_doc` kind `start`, titled `Start here`: the first thing a building session reads. Which one
depends on how the project is built (step 1's last question).
**Built by one session:**
- what the project is, in two lines, and that the spec, plan, milestones and AGENTS.md are in this
Tares project (`list_docs`, `get_doc`, `list_milestones`)
- to read the shared AGENTS.md and memory too (`read_global_docs`): the project's AGENTS.md adds
to them
- where the code lives: the repo's absolute path or clone URL, the branch, and what to do if it
is not there yet
- how to work: one milestone at a time; within it, the ready tickets from `list_tickets` in
order; each read with `get_ticket` (it carries the working doc); progress marked (in Linear for
Linear tickets, with `gh issue edit` and `gh issue close` for GitHub tickets, `write_ticket`
otherwise); when a milestone's tickets are done, run its checks
- if a ticket is already in progress when the session starts, an earlier session stopped on it:
`pick_up` first and finish that ticket instead of starting it over
- to keep the working doc's `## Progress` current after each step that works
- to record every check it runs with `add_check` (the command, what it showed, the commit, and
for each test it adds, the test it saw fail when it broke the code), never one it did not run
- to keep what it learns about the project with `remember_for_project`
- where questions go: a `note` doc in the project when something is unclear
**Built by a tares-factory crew:** the stations' own skills say how to work, so the starting
prompt only says what this project is:
- what the project is, in two lines, and that the spec, plan, milestones, tickets and AGENTS.md
are on this Tares project
- each repo it changes: folder on this machine, GitHub name, branch
- that builders ask the crew's orchestrator, not the user, and record what they assume with
`assume`; they do not leave `note` docs
- Do not include the single-session instructions above.
## 8. Check, then hand over
Call `list_docs`, `list_milestones` and `list_tickets` and confirm: a spec, a plan, an AGENTS.md
with a release section, a starting prompt, every milestone has checks, every ticket has a
milestone and a working doc with all sections, and only the first tickets are ready. Fix anything
missing. Then tell the user, briefly:
- the project name and what it holds (counts, not a dump), and the assumptions worth a glance
- where the tickets live, with the Linear or GitHub link if any
- the next step:
- one session: the command to start the build, in a terminal in the repo:
`tares factory session <name>` (it opens Claude bound to the project, with the Tares plugin; a
plain `claude` has no Tares tools)
- a crew: go on to step 9.
## 9. Hand the project to the crew (crew-built projects only)
Ask: "Hand this to the orchestrator now?" On yes:
1. `hand_over(project, repos=[{"path": <absolute folder>, "name": "owner/name"}, ...])`, every
repo the tickets change, the one holding the plan first; add `autonomy="L3-review"` only when
the user wants this project stricter than the crew. Tares records it, the project page shows
its repos, and the orchestrator finds it in `crew_projects`. The tool says which orchestrator
is running.
2. Send that orchestrator (normally `crew-orchestrator`) the `[TF:SHIP]` message the tool returns,
with SendMessage, so it starts now rather than on its next tick.
3. Tell the user the orchestrator has it and will start the builders; they talk to it with
`tares factory crew attach orchestrator`, and watch the crew on the Crew page.
If `hand_over` says no orchestrator is running, tell the user to run `tares factory crew up` in a
terminal (starting stations hands them the user's permissions, so the user starts them, not you).
The orchestrator finds the project on Tares when it starts; no message is needed.
## Light mode: plan a small project and build it in this session
For `tares factory session "<idea>"`. The person wants it built now, in this session, still under
Tares: the project, its shared AGENTS.md and memory, a light record of what was built and why.
1. **Step 0 as above** (`read_global_docs`, read the repo if there is one).
2. **The goal, one question.** Propose the goal in one line and a short name; on yes,
`create_project(name, goal)` (this binds the session to it) and tell the person its name.
3. **What is in and out, and how we know it works**: one question at a time, with your
recommendation, only what you cannot answer from the repo. Two or three questions is normal;
stop as soon as you could explain it to a new engineer.
4. **The light record**, nothing more:
- `write_doc` kind `spec`: the goal, scope in and out, decisions with the person's words, open
assumptions. Short.
- `write_doc` kind `agents` only for what this project adds to the shared AGENTS.md and the
repo's own (how to build and test it, git rules if different).
- `write_doc` kind `start`, titled `Start here`: what the project is in two lines, where the
code lives, and "follow the `session` skill", so a later session can pick it up.
- The tickets: `write_ticket` per piece of work, in order, with `depends_on` (one ticket is
fine). When the person keeps tickets in Linear or GitHub Issues, create them there as in
step 6 of the full spec (one issue per ticket with `gh issue create`, then
`link_github_issues`). No milestones, no working docs, no second-model attack.
5. **Size check**, once the ticket list exists: more than about five tickets, or tickets in more
than one repo, is big enough for the crew. Then ask: "This looks big enough for the crew.
Switch to the full spec and hand it over?" (recommend yes). On yes, carry on from step 2 of the
full flow in this session, keeping everything written so far (add milestones with checks,
working docs, the second-model attack, the hand-over in step 9). On no, or when it is small:
say the plan is done and go back to the `session` skill to build it here.
Versions
The database has no other skills named spec-project.
Database snapshot: 13.11.2026 · package version b8f12a5296c3 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100session
Use when this Claude Code session works on one Tares project by itself, started by `tares factory session` or `/tares:session`, or told "work on Tares project X". Covers taking a project over from the tares-factory crew, planning a new idea lightly and building it in the same… - 90ship
Hand a project planned on Tares to the tares-factory crew, so its orchestrator starts builders in the project's repos. Use when the user runs /tares:ship, says "hand this to the crew" or "ship it to the orchestrator", or at the end of a spec session when they agree to the hand-over. - 100spec
Interview the user about a feature or project, then write a spec they can build from. Use when the user wants to plan, scope or spec something before coding, or runs /spec with an idea. - 100v-spec
Write the spec and plan for one piece of work in a v-start project (specs/N-name/spec.md and plan.md), grounded in the real source, with a belief, a pass mark and numbered acceptance criteria, then stop for approval. Use when the user says "/v-spec", "write a spec", "spec this",… - 100plan
Decompose a spec into milestones and atomic tasks with dependency ordering, risk register, and complexity sizing. Use when you say `plan how to build this`, `break this into milestones`, or `decompose this spec`, and run it after spec. Do NOT use to decide what to build (use… - 100plan
Decompose a spec into milestones and atomic tasks with dependency ordering, risk register, and complexity sizing. Use when you say `plan how to build this`, `break this into milestones`, or `decompose this spec`, and run it after spec. Do NOT use to decide what to build (use…