groundwork
A lightweight, spec-driven development framework for coding agents. It turns "let's build X" into a PRD (Product Requirements Document), sharpened by an interview, broken into small vertical slices, built with TDD (Test-Driven Development), and reviewed against both the code standards and the spec that motivated it - as much or as little of that as a task actually needs.
Since 1.0, groundwork meets you halfway instead of waiting for commands. The advisory skills (brainstorm, to-prd, quick, validate, code-review) fire on their own when a request matches their trigger, orchestrators flow into each other instead of waiting for you to type the next command, and the first groundwork skill you touch bootstraps its own config with detected defaults. Every step with real side effects - creating tracker issues, building code, spawning parallel agents - still waits for an inline confirmation, and every skill remains directly invocable as a /groundwork:... command when you want to steer.
Install
Claude Code:
/plugin marketplace add mauriciovieira/groundwork
/plugin install groundwork
Codex: this repository is a Codex plugin too - .codex-plugin/plugin.json points at the same skills/ tree.
Anything else that reads ~/.agents/skills (opencode, Prime Agent, Gemini CLI): clone the repo and run ./install.sh, which symlinks each skill into place. It never overwrites a skill you already have under that name, and --dry-run shows what it would do first. ./install.sh --uninstall removes only the links pointing back at your clone.
Optionally run /groundwork:setup to customize the per-repository defaults (tracker, docs location, labels, rules file). If you skip it, the first groundwork skill you use bootstraps a config with detected defaults and tells you what it assumed.
Two tiers of skill
Every groundwork skill is one of two kinds:
- Orchestrators drive a stage of the flow. The advisory ones -
brainstorm, to-prd, quick, validate, code-review - are model-invoked: Claude starts them on its own when your request matches their trigger. The side-effectful or interview-heavy ones - setup, inception, survey, triage, to-issues, build, improve-codebase-architecture - keep disable-model-invocation: true and start only from your slash command or from another orchestrator handing off. Orchestrators flow into each other: read-only follow-ups (build into validate into code-review) chain automatically, and anything with side effects asks once, inline, before proceeding.
- Disciplines are reusable techniques Claude can reach for while executing an orchestrator - the interview loop, the TDD cycle, worktree management. Their descriptions are scoped tightly to groundwork's own workflows, so in practice they only ever fire from inside an orchestrator, not from a cold prompt.
The result: you can still drive everything with explicit commands, but a plain "let's build X" is enough for Claude to open the brainstorm, and a finished build flows into its own validation and review without you re-typing commands.
Commands