spec-work

Solid

Implement the next ready task. Use when starting a development session — selects the highest-priority ready task, plans with a specialist subagent, implements with approval at every step, verifies quality gates, and commits. One task per session. NOT for batch task execution or planning new work — use spec-plan for planning.

Code & Development 33 stars 5 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
51
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# `spec work` — main implementation workflow CLI at `scripts/specctl`. Full development workflow for one task per session, with user control at every step. Input: empty (next ready task), `EPIC-id` (next ready in that epic), or `TASK-id` (specific task). ## Step 0: Check state ```bash scripts/specctl status 2>/dev/null || echo "NO_SPEC" ``` If `NO_SPEC`: "Use the `spec-init` skill to initialize the project first." Stop. ### Check for interrupted session ```bash scripts/specctl session show 2>/dev/null git branch --show-current 2>/dev/null ``` If a session is in progress, ask the user a multi-choice question: "Found interrupted session: <task> at step <step>. Resume or clear?" - Resume — continue from `<step>` - Clear & pick new — start fresh If resuming, jump to the step recorded in `SESSION.yaml`. ## Step 1: Select task - `TASK-id` argument → use it. - `EPIC-id` argument → `scripts/specctl ready --epic EPIC-id` and pick the highest-priority ready task. - Otherwise → `scripts/specctl ready` and pick the highest-priority ready task. If no ready tasks: ```bash scripts/specctl ready # shows blockers ``` Tell the user: "No tasks ready. Check blocked tasks or create new work." Stop. ### Load task and context ```bash scripts/specctl show TASK-<id> ``` Read the task file. Check for epic link (`epic:` field) and requirement link (`implements:` in the epic). Read when present: - Epic file - Requirement file - `CONTEXT.md`, `CONTEXT-MAP.md`, ADRs - `.out-of-scope/...

Details

Author
alexei-led
Repository
alexei-led/cc-thingz
Created
11 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category