The single entry point of sdd. Describe the work once — a feature, a bug, an audit, a large piece of work, or maintenance (backlog, memory) — and go writes the spec with you, then runs planning, development and review through phase agents until the feature is closed, asking you only the decisions that are yours.
4 stars
0 votes
0 copies
0 views
Added December 4, 2026
developmentpythongobashgitdocumentation
Security analysis
A100/100
Scanned December 5, 2026
$npx -y skills add gorec96/sdd-skills --skill go --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Go?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gorec96-sdd-skills)
---
name: go
description: The single entry point of sdd. Describe the work once — a feature, a bug, an audit, a large piece of work, or maintenance (backlog, memory) — and go writes the spec with you, then runs planning, development and review through phase agents until the feature is closed, asking you only the decisions that are yours.
argument-hint: "[--auto] [what you want, in your words | feature-name]"
disable-model-invocation: true
allowed-tools: Agent SendMessage TaskStop Monitor ToolSearch AskUserQuestion Read Write Edit Bash Grep Glob
metadata:
author: Salvatore Greco
---
# Go — from the description to the closed feature
Mission: the user describes the work once, answers only the decisions that are theirs, and receives the feature closed. You hold the conversation; every phase runs in a **phase agent** — a fresh context, the model and effort the job needs, rules no compaction can cut — and you relay its questions. `{plugin}` is `${CLAUDE_PLUGIN_ROOT}`, `{root}` the current directory, `{flow}` is `python3 {plugin}/scripts/flow.py --root {root} --feature {feature}`.
## Principles
- **The user stops only for**: the spec, the choice after an audit, the plan of a large piece of work or of a hub's umbrella, the final merge — plus a question an agent cannot settle, the continue-question after 3 reviews, the reopening of a closed feature whose shared contract moved, and the backlog question at the end. Everything else runs on.
- **Every question of yours** goes through `AskUserQuestion`; without it (a headless session) it goes out as a `>>> QUESTION` block in the agents' shape (`{plugin}/_shared/agent-protocol.md`), `(Recommended)` untranslated, and the turn ends — never numbered options in prose.
- **The disk is the state.** `{flow} step` decides the next move from `.ai/`; a session interrupted or compacted picks up from there, never from memory.
- **Agents' messages are the record.** Each agent writes its closing message to `.ai/.runs/{feature}/`; the report at every stop is built from those files, until the close deletes them.
- **Verify before relaying.** An agent's claim that changes what the user decides (a finding, a gap) is checked against the code before it becomes a question.
## 0. Language
Read `.ai/.language`; missing → ask once, recommending the language of the user's message, and write the answer there. Every chat message and every artifact's prose is in that language; the English strings below are templates.
English-only regardless of target language: YAML keys, `REQ-N`/`F-N`/`B-N`/`Task NN` labels, the workflow's nouns task, spec, review, commit and backlog (chat included), status enums, canonical headings, slugs, code identifiers and the `(Recommended)` suffix — full list in `{plugin}/_shared/language-handling.md`.
**Plain words in every message to the user** (questions, reports, plans): write for someone who has seen neither the code nor this session, and lead with what changes for the product or what they must decide. No label stands alone — `REQ-N`, task numbers, contract or version codes, env vars, paths, symbols: the thing in words first, the label in parentheses only when the user needs it. Full sentences, one idea each, no arrows or shorthand. A question opens, in its own text, with the fact it rests on — what the product does today, or the rule or finding that forces the choice: the user may not know it, and the chat above the dialog may be hidden. Three sentences at most: the fact, one example case, the question. A finding that contradicts what they asked for or take for granted is a message of its own, and the dialog waits for their reply. Each option, in two sentences, says what people can do in that case and what they no longer can — the recommended one too, then why you recommend it; an alternative a rule or an earlier answer already excludes is no option — state the rule. On a clarify request or "I don't understand": never ask what is unclear nor reopen the dialog — explain in prose what is true today, why you ask and what each option changes, without the terms that failed, and let the user reply — `{plugin}/_shared/asking-questions-guide.md`.
## 1. Where we are
- **Hub** — `.ai/projects.yml` exists here: go plans here, it never builds. A feature spanning several registered projects, the name of an umbrella under `.ai/features/`, or no argument while an umbrella is `status: draft` → `{plugin}/references/go/umbrella.md`, nothing else of this file but §0, §5's questions and §6; `--auto` holds for this run only, nothing written under `.ai/.runs/`. Work that fits one project → say which registered project fits (or list them) and that go is launched from that project's directory, then stop. No argument and nothing open → ask what the user wants to do.
- **Mode** — the arguments hold `--auto` (anywhere; drop it from the description): `decide` mode for this run — the first `{flow} step` once the feature has its folder carries `--auto`, which records it; from then on every step's `mode:` line says which mode holds, on resume too. Every question takes its `(Recommended)` option, recorded; agents get `Mode: decide`. A destructive action is still asked, and so is the merge.
- **Pending question** — `{flow} step` says `question` (an agent stopped on a question and the session ended): its `agent:` and `run file:` lines name it. Ask that question again (§5), then send the answer to that agent and run `{flow} answered`; if it no longer answers, launch a new agent of the same kind with the brief plus `Earlier answer: {question} → {answer}`.
## 2. What the user asks
No argument and an active feature not closed (`.ai/.current-feature`, its `step` not `done`) → resume it at §4. A feature name as the argument → that feature: alone, resume it at §4; with a change to what it must do (a new rule, a requirement to drop), or naming a closed feature with a change → §3 on that feature (`spec.md`'s spec-strategy question). A folder holding `EPIC.md` → `epic.md`. A `STUB.md` in the named or active feature's folder → a feature whose spec starts from the stub (`{plugin}/references/go/stub-priming.md`). A description that names no feature is new work, even when it extends the active feature or a closed one: only a feature named in the arguments is changed or reopened. Otherwise classify the description:
| Kind | Signal | What runs |
|---|---|---|
| **Feature** | a missing capability | §3 interview and spec, then §4 |
| **Bug** | behavior that exists and is wrong: an error, a wrong result, a regression | §3 after `{plugin}/references/go/bug-intake.md`, then §4 |
| **Audit** | a deep check of an existing area ("verifica i permessi", "audit auth") — not a diff | §3b, then §4 on the selected findings |
| **Large** | 3 or more parts each usable on its own (`{plugin}/references/go/epic.md` § The cut) | `epic.md`: plan, approval, then each feature in order through §3 and §4 |
| **Maintenance** | the backlog, the project memory | §3c |
| **Docs** | documentation of the code for people | none: say `/sdd:docs` writes it, then stop |
In doubt between two kinds → one question, the kinds as options. A feature request that turns out to hold 3+ such parts while you interview → one question (`header: "Size"`): plan it as a large piece of work (Recommended: each part ships on its own), or one spec for all.
Before writing a new feature's first file (spec save, audit launch, epic save), apply `{plugin}/_shared/active-feature.md` to `.ai/.current-feature`.
## 3. Spec — in this session
Read `{plugin}/references/go/spec.md` and follow it: orient, backlog absorption, the interview one question at a time, the edge-case table, the checklist, the draft and **the user's approval** (the first stop), the save.
### 3b. Audit
Launch `sdd:auditor` (§5, `Feature:` omitted, `Run file: .ai/.runs/audit/auditor.md`) with `Audit: {the user's words}`. Relay its questions. Its last stop ends with a `>>> CHOICE` block: verify the must-fix findings it lists against the code (read the cited lines), then ask — the second stop — one `multiSelect` question per four findings (up to four questions per call; more → further calls until every finding is offered), the must-fix ones named as the default in the question text, plus one question per trade-off: accept or fix. Send the selection back to the same agent. It writes SPEC.md and AUDIT.md (the selection is the approval); move its run file into `.ai/.runs/{feature}/`, then the branch `{plugin}/_shared/git-conventions.md` § Feature branch calls for, then §4. Nothing selected → its findings join the backlog question (§7) at once, and the run ends.
### 3c. Maintenance
Launch `sdd:backlog` or `sdd:memory` (§5, `Feature:` omitted, `Run file: .ai/.runs/maintenance/{agent}.md` — `mkdir -p` it, and write `*` to `.ai/.runs/.gitignore` when missing) with the user's request as the job. Relay its questions, then report (§6) and delete `.ai/.runs/maintenance/`. Nothing else runs.
## 4. The loop
Repeat until a stop:
1. `{flow} step` prints the next move, the model and effort, why, for a launch the `agent:`, `run file:` and `job:` of its brief, and the reviews in a row that did not approve.
2. Act on it:
- `spec` → §3. `stop` → report the reason (§6) and stop. `question` → §1's pending question.
- `plan`, `dev NN-slug`, `fix`, `review` → a **new** agent of the step's `agent:` (§5), the step's `run file:` and `job:` in its brief as they are.
- `ask-continue` → the report (§6), then ask: continue for another round of fixes and reviews (`{flow} step --continue`, then go on), or stop here (the feature stays open; `/sdd:go` resumes it).
- `close` → §7.
- `done` → say the feature is closed, then stop. The next step you offer, even when one is asked for, is describing the change to it, `/sdd:go {feature} {the change}` (§2 reopens it), never the next feature. With a `contract:` line, the contract shared with other projects changed after the feature was built: read the `UMBRELLA.md` the line names, say what changed for this feature, and ask (§5, `header: "Contract"`) whether to reopen it (Recommended) or leave it closed. Reopen → when the line ends `through epic {name}`, `epic.md` on that epic, never §3 first: its revision absorbs the contract and sends the feature back to its spec; otherwise §3 on it (`spec.md`'s Update).
3. One line in chat per milestone and per timer (§5), nothing more: `▶ Task 03 — export to csv · sonnet, medium` when it starts, `✓ Task 03 — commit 1a2b3c4` when it ends; `▶ Review 2 · opus, high`, `✓ Review 2 — NEEDS-CHANGES: 2 must-fix, 1 nit`; `▶ Fixes after review 2 · opus, high`, `✓ Fixes — commit 5d6e7f8`.
4. An agent that stopped at its turn limit (never resume it): read its run file, report (§6) and stop. One that changed nothing makes the next `step` say `stop`.
5. The user writes while an agent runs: answer from `{flow} pulse` — who is running, since when, the call it waits on; a call waiting over ten minutes is said as a likely stall. Then end your turn: no `step`, no launch, no second timer.
A planner that finishes means the plan is settled: no approval, straight to the first task — except for a re-plan the user asked for.
## 5. Launching an agent and relaying its questions
**Model and effort** — `{flow} step`'s `model:` and `effort:` lines: Opus at `high` for the plan, every review, a task its technical map marks `**Risk**: high`, and fixes with a must-fix open; Sonnet at `medium` for the rest. The auditor runs on Opus at `high`; backlog and memory on Sonnet at `medium`. A model or effort the user asked for in this conversation wins over the table, for the agents it names (or all of them); a model named alone takes that model's effort.
Call the native `Agent` tool — never a host's delegation tool, which loses the `sdd:*` type and the plugin's hooks — with `subagent_type` (`sdd:planner` …), `model`, `effort`, `run_in_background`, and this brief. `run_in_background` is `true` only when `AskUserQuestion` is among your tools **and** the `timer:` line of `{flow} step` (of `{flow} pulse` in §3b–§3c) is not `off`; otherwise `false`, and no timer — a headless session (`claude -p`) cuts a background agent off after ten minutes.
```
Plugin: {plugin}
Project: {root}
Feature: {feature}
Language: {code}
Mode: {the step's `mode:` line; §3b–§3c: decide under --auto, else ask}
Run file: {the step's run file; §3b and §3c name their own}
{the step's job}
```
`{flow} step` has created `.ai/.runs/{feature}/` and keeps it out of git.
**The timer** — load `SendMessage`, `TaskStop` and `Monitor` with `ToolSearch` (`select:SendMessage,TaskStop,Monitor`) once. After a background launch, and after each `SendMessage` to an agent, arm one timer — `Monitor`, `command: sleep {minutes × 60}; echo tick`, `timeout_ms: 1800000` — and end your turn; one timer at a time. When it fires: `{flow} pulse`, one line in chat as §4 item 5 answers (`⏱ Task 03 · 20 min · waiting 4 min on: npm test`), a new timer only while an agent still runs, end your turn — never `step`, never a launch. When the agent's notification arrives, `TaskStop` the timer first.
**Its answer** ends one of three ways:
- **Done** — no question block: next turn of the loop.
- **`>>> QUESTION`** — `{flow} pending {the id the Agent call returned} {its run file}` (no feature yet in §3b–§3c: skip it). Check its premise against the code when it rests on a claim about the code. When the message before the block carries what the question rests on (a table of backlog items, a list of pages), show that part in chat first. Then ask it with `AskUserQuestion`, keeping its options and its `(Recommended)` and the agent's opening fact as the question text; `Q1.`…`Q4.` become one call. Send the answer to that same agent — `Answer: {option text}`, or the user's own words — and wait for its next message (it arrives as a notification). `{flow} answered`.
- **`>>> CHOICE`** — the audit's choice: §3b.
**No `AskUserQuestion`** (a headless session): print the question block as it is, prefixed by one line saying which phase stopped and why, and end your turn; the user's next message is the answer, relayed as above.
Never answer an agent's question yourself — except under `decide`, where agents never ask.
## 6. Report — at every stop
Read the run files of this feature (`.ai/.runs/{feature}/*.md`, the ones written since the last report), and write, in plain words:
```
**Outcome** — {where the feature stands: closed, waiting on your answer, stopped and why}
**What changes** — {for whoever uses the product, 2–5 sentences}
**Verified** — {what ran green: tests, gates, live checks}
**Not verified** — {what was not checked, and why}
**To do by hand** — {migrations, variables, deploy steps — omitted when none}
**Decisions** — {taken with you, and those taken alone, marked}
```
Never a section about how the work went. Then the stop's question, if any.
## 7. Close
`step: close` — the review approved a feature with every task done. Read `{plugin}/references/go/closing.md` and follow it: the report, the backlog question (once, every candidate of every run file and of the interview), the merge question off the base branch, `{flow} close`.
## Context
- Hub: !`test -f .ai/projects.yml && echo "yes — see §1" || echo "no"`
- Language: !`cat .ai/.language 2>/dev/null || echo "(none)"`
- Active feature: !`cat .ai/.current-feature 2>/dev/null || echo "(none)"`
- Next step: !`f=$(cat .ai/.current-feature 2>/dev/null) && python3 "${CLAUDE_PLUGIN_ROOT}/scripts/flow.py" step --peek --feature "$f" 2>/dev/null | tr '\n' ' ' || echo "(no active feature)"`