/tares:spec-projectfrom Tares
Interviews users to spec, plan, and document new projects or features into a Tares project with milestones, tickets, and build-ready artifacts. Supports contributor mode for existing projects.
Ships in Tares. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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. Read light-mode.md in this skill's folder before
anything else, and follow it instead of steps 1 to 9.
Contributor mode (a session whose first message says "You are contributing to led by
"): you are not the project's lead. Read contributor.md in this skill's folder before
anything else, and follow it instead of steps 1 to 9.
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.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.search_brain or ask_brain), ask the brain
about the repo first, before asking the user and before reading files; read files only for repos
the brain says are not ready and to confirm an exact line.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.
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:
owner/name) and branch, and the git rules (push or not, PRs or not)Area owners. On an older Tares with no list_areas tool (factory-protocol), skip this part:
one person owns every repo. Otherwise, once you know which repos the project changes, read
area-owners.md in this skill's folder: who owns each repo, and how to ask an owner a question
with ask_area. Before you plan (step 3), call list_questions(project=<name>) and fold each
answered one into the spec; tickets go to the repo owners (step 6).
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.
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):
Every open question is answered here, by the user or by evidence, or becomes an explicit assumption written in the spec.
for: "person" only for what a person must see or try themselves (a screen,
a flow in the console), worded for them, not as a command; those are the only checks the
person is asked to accept.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.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:
Fix what holds up. Show the user a short list of what changed and why, then continue.
Ask (one question, with your recommendation): "Should the tickets live in Linear, GitHub Issues, or only in Tares?"
gh for it. Ask which repo, recommending the repo that holds the plan.set_stage,
add_check, the working doc and repo still work in Tares.Write for a reader who was not here: no "as discussed", no references to this conversation.
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.write_doc kind plan: the milestones in order with their goal and the tickets in each.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, a ## Release heading: 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.
When the project's CI is local (get_integrations shows the ci slot as local), call
set_required_checks with the test and lint commands from that AGENTS.md, exactly as a
builder runs them. A pull request counts as passing when each is recorded on its head commit.write-out.md in this skill's folder, then follow its items 5 to 7: link the tickets
(Linear or GitHub), write_milestone per milestone, write_ticket per ticket (every ticket
carries repo), and a working doc per ticket in the page's template.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:
list_docs, get_doc, list_milestones)read_global_docs): the project's AGENTS.md adds
to themlist_tickets in
order; each read with get_ticket (it carries the working doc: a long one as its Goal, Steps and Progress, section="all" for all of it; if the tool refuses section, call without: an older Tares sends it whole); 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 crew checks and record each with
record_milestone_checkpick_up first and finish that ticket instead of starting it over## Progress current after each step that worksadd_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 runremember_for_projectnote doc in the project when something is unclearBuilt by a tares-factory crew: the stations' own skills say how to work, so the starting prompt only says what this project is:
assume; they do not leave note docsCall list_docs, list_milestones and list_tickets (read on while it ends with more; the working docs are list_docs(kind="working")) 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:
list_questions is a tool). Call list_questions(state="open", project=<name>). For each one, say
who it is for ("Q2 for Kiran: is the cart in scope?"), and that they answer it from their own
machine with tares factory spec "<project>" (the exact project name, in quotes). The project
is not ready to start while one is open: it shows on the user's home under "You are waiting on".
Fold each answer into the spec when it comes.set_later(project=<name>) and tell them it is off their home,
under Later in All projects, until they start it (Start now on the project page, or the
hand-over). Then stop: no step 9.tares factory session <name> (it opens Claude bound to the project, with the Tares plugin; a
plain claude has no Tares tools)Ask: "Hand this to the orchestrator now?" On yes:
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.list_crew names it: <crew>-orchestrator) the [TF:SHIP] message the tool returns,
with SendMessage, so it starts now rather than on its next tick.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.
Read contributor.md in this skill's folder and follow it instead of steps 1 to 9.
Read light-mode.md in this skill's folder and follow it instead of steps 1 to 9.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub glassflow/tares --plugin tares9 skills in this plugin
/factory-protocolShared operating rules for every tares-factory crew station (orchestrator, reviewer, releaser, builder, helper) and any session that works with the crew. Covers the human rules, who owns which action, the message format, and the shared state on Tares. Load it at boot and whenever a message says "reload"./sessionUse 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 session, working the tickets, and finishing the project. Not for crew stations (FACTORY_ROLE set)./shipHand 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./station-builderOperating manual for a builder station of the tares-factory crew, which takes one project's tickets to merged pull requests. Load only when FACTORY_ROLE is builder (or a helper whose parent is a builder), after factory-protocol./station-orchestratorOperating manual for the orchestrator station (`<crew>-orchestrator`) of the tares-factory crew. Load only when FACTORY_ROLE is orchestrator, after factory-protocol./station-releaserOperating manual for the releaser station (`<crew>-releaser`) of the tares-factory crew, which tags, builds, deploys, verifies and rolls back each project's milestones through the release profile. Load only when FACTORY_ROLE is releaser (or a helper whose parent is `$FACTORY_CREW-releaser`), after factory-protocol.Other plugins' skills for the same job