Install
$ agentstack add skill-alexei-led-cc-thingz-spec-flow ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Spec flow
Lightweight spec loop for controlled task-by-task work.
Loop: plan one slice → execute one task → checkpoint or close → repeat.
specctl owns state. Do not edit task status or .spec/SESSION.yaml by hand.
Read first
references/method.mdfor artifact shapes, planning rules, task quality, and mini-interview guidance.references/specctl-commands.mdfor CLI commands.
State model
.spec/tasks/TASK-*.md— executable vertical slices. Required for work..spec/epics/EPIC-*.md— optional group for multi-task plans..spec/reqs/REQ-*.md— optional WHY/WHAT context for ambiguous work..spec/SESSION.yaml— active task, step, base commit..spec/PROGRESS.md— append-only activity log.
Task states: todo, in-progress, done.
Common flows
New project:
scripts/specctl init
Then plan the first executable slice. Do not build a full backlog unless the user asks.
Existing project:
- Inspect current code and project instructions.
- Create the smallest task that can be verified.
- Link optional REQ/EPIC context only when it reduces ambiguity.
Stop and resume:
scripts/specctl checkpoint --message ""
scripts/specctl session handoff
Iterate:
scripts/specctl ready
scripts/specctl start TASK-
# implement + verify
scripts/specctl done TASK- --summary "..." --tests "..."
Modes
Orient
Use when the user asks for status, next task, resume, health, or what to do next.
scripts/specctl status
scripts/specctl ready
scripts/specctl session handoff
scripts/specctl validate
Report active session, next ready task, validation issues, and the smallest next action.
Plan
Use when the user has an idea, requirement, bug, or project gap and wants an executable plan.
- Run
scripts/specctl init. - Check status/session before changing files.
- Ask 3-5 questions only if the slice is unclear.
- Optionally scan the codebase for relevant files and patterns.
- Draft the smallest useful artifact set:
- one clear slice → one
TASK-* - several slices → one
EPIC-*plus tasks - unclear WHY/WHAT → one
REQ-*first
- Show the proposed plan and ask before writing.
- Write with
scripts/specctl new taskwhen possible, then edit details. - Run
scripts/specctl validateandscripts/specctl ready.
Do not write implementation code in plan files.
Execute
Use when the user wants to work, continue, or implement a task.
- Run
scripts/specctl statusandscripts/specctl session show. - If a session exists, ask whether to resume, checkpoint, clear, or stop.
- Select with
scripts/specctl readyor verify the named task withscripts/specctl show TASK-. - Start with
scripts/specctl start TASK-. - Make a short implementation plan; ask before editing.
- Implement only the approved task.
- Run project-appropriate checks from project instructions and changed files.
- Show scoped diff or
scripts/specctl session handoffbefore close. - Close with
scripts/specctl done ...or checkpoint withscripts/specctl checkpoint.
Checkpoint or close
Use when the user stops, switches context, or finishes.
Checkpoint:
scripts/specctl checkpoint --message ""
Close:
scripts/specctl done TASK- \
--summary "" \
--tests "" \
--files "" \
--commits ""
specctl done needs --summary and --tests unless the user explicitly approves --force.
Guardrails
- One task is the execution unit.
- Checkpoint before stopping or switching.
- Keep work inside the approved task.
- File follow-up tasks instead of expanding scope.
- Verification is adaptive; do not assume every project has
make. - User approval is required before writing plan files, editing code, forcing state, or clearing another session.
Output
## Spec flow
Mode: orient | plan | execute | checkpoint | close
Task:
Status:
Evidence:
Next:
Failure handling
- No
.spec/: run or offerscripts/specctl init. - Active session conflicts: show handoff and ask before switching.
- No ready tasks: show blockers; plan new work or finish blockers.
- Validation fails: fix the smallest artifact issue before work.
- Verification fails: fix within scope, checkpoint, or stop; do not mark done.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: alexei-led
- Source: alexei-led/cc-thingz
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.