squad-refine
Installation
SKILL.md
Shared context: read
../squad/shared.mdfor pipeline levels, status transitions, API endpoints, error handling, and agent context flow. Safety principles: read../squad/principles.md— mandatory, not optional.
/squad-refine <ID> — Refine Backlog Requirements
Reads a rough backlog item and refines it into concrete, actionable requirements through structured user interview.
Target: tasks in todo status (backlog). If the task is not todo, warn the user and confirm before proceeding.
Procedure
⓪ Resolve the observation gate ONCE (the consent-gate seam — see ../squad/shared.md → Abstraction Rubric)
python3 ../squad/scripts/observe.py gate >/dev/null 2>&1; OBSERVE_OK=$?
# 0 = emit corrections, non-zero = skip. Cache it; every emit below reuses it (best-effort, || true).
# Mint ONE correlation_id for this refine run for any steering emits: CID=$(python3 -c 'import uuid;print(uuid.uuid4())')