speci task
One-shot task generation from a plan file via GitHub Copilot CLI.
Usage
speci task -p <path> [-c] [--sleep-after] [-v]
Options
| Flag | Description |
|---|---|
-p, --plan <path> |
Path to the plan file generated by speci plan (required) |
-c, --clean |
Remove existing task files and PROGRESS.md before generating |
--sleep-after |
Put machine to sleep after command completes |
-v, --verbose |
Show the full prompt and agent output |
Flow
- Validate
--plan— the flag is required; exits with an error if missing. - Resolve path — resolves the plan file relative to the working directory.
- Validate file — checks the plan file exists and is readable.
- Clean (optional) — if
--cleanis set, removes any existing task files andPROGRESS.md. - Initialise — loads config, runs preflight, resolves the
speci-taskagent. - Dispatch agent — runs
speci-task.agent.mdwith the plan file context. - Write output — agent writes individual task files and a
PROGRESS.mdtracking file.
Example
speci task --plan docs/auth-plan.md
Next: run speci run to start the implementation loop.