spec
Turn the current chat thread into a GitHub issue spec for an agent to execute
/plugin install vcaddetails
You are turning the current conversation into a tight, executable spec and filing it as a GitHub issue. The issue will be picked up by .github/workflows/agent.yml when labeled agent:ready, so the spec must be self-contained — the agent will not see this conversation.
Process
-
Draft. Read back over the conversation so far and render a spec using the template below. Pull the Goal, Context, Constraints, and Acceptance Criteria from what has actually been discussed — do not invent requirements.
-
Gate on missing sections. Every section except "Out of scope" is required. If any required section cannot be filled from the conversation, stop and ask the user to clarify before drafting. Do not pad a section with "TBD" or guesses.
-
Show the draft to the user in full. Include the title (under 70 chars) and the complete body. Do not call
ghyet. -
Require explicit approval. Ask the user to confirm with "send it" or equivalent. If they say anything else, treat it as a revision request. Never file the issue without an explicit go — mirrors the email-approval rule in the user's global CLAUDE.md.
-
File it. Once approved, run:
gh issue create \ --title "<title>" \ --label "agent:ready" \ --body-file -piping the rendered body on stdin. Print the returned issue URL.
-
Do not comment further. The agent workflow takes over from here.
Spec template
## Goal
<one sentence, concrete>
## Context / Why
<what prompted this, links to prior work, related issues/PRs>
## Constraints
- <non-negotiables: perf, API stability, coord system (Z-up), etc.>
- <each constraint on its own line>
## Acceptance criteria
- [ ] <testable bullet>
- [ ] <testable bullet>
## Files likely touched
- `path/to/file.rs`
- `path/to/other.ts`
## Out of scope
- <explicit non-goals, if any>
## Verification
Run before opening the PR:
- `cargo test -p <crate>` / `cargo clippy --workspace -- -D warnings`
- `npm run build -w @vcad/<package>` / `npm test -w @vcad/<package>`
- <any manual verification the agent cannot run>
Notes
- Keep the spec shorter than 60 lines. If it's longer, the task is too big — suggest splitting it into separate issues.
- Acceptance criteria must be testable. "Works correctly" is not acceptance; "
cargo test -p vcad-clipasses with a new test for--version" is. - The
Verificationsection should reuse commands already inCLAUDE.mdorci.ymlwhere possible — the agent builds on the same CI toolchain.
technical
- github
- ecto/vcad
- stars
- 364
- license
- Apache-2.0
- contributors
- 5
- last commit
- 2026-05-18T02:21:09Z
- file
- .claude/commands/spec.md