ffroliva/gflow-cli/skills/plan/SKILL.md
plan
Creates a structured task-by-task implementation plan for a gflow-cli feature. Gathers predict/scenario context, asks ≤3 clarifying questions, decomposes the feature into atomic committable tasks with step and test checklists, and writes docs/superpowers/plans/<YYYY-MM-DD>-<slug>/PLAN.md. Invoke after /gflow:predict returns GO or CAUTION and /gflow:scenario output is available.
- Source repository stars
- 96
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-08-04
- Source checked
- 2026-08-04
Decision brief
What it does—and where it fits
Turns a feature description into a task-by-task implementation plan and writes it to docs/superpowers/plans/-/PLAN.md.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/ffroliva/gflow-cli --skill "skills/plan"Inspect the Agent Skill "plan" from https://github.com/ffroliva/gflow-cli/blob/c64a8d8b246f9551e8a96c7fcf363d15e045c9b2/skills/plan/SKILL.md at commit c64a8d8b246f9551e8a96c7fcf363d15e045c9b2. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Phase 1 — Gather inputs from context
From /gflow:predict output in context (do not ask if already present): - Verdict (GO / CAUTION) and confidence score - Architectural constraints and module placement - Security risks and mandatory mitigations - Devil's Advocate simplifications or sequencing blockers
Verdict (GO / CAUTION) and confidence scoreArchitectural constraints and module placementSecurity risks and mandatory mitigations - 02
Phase 2 — Ask clarifying questions (only if not answerable from context)
Ask at most 3. Focus on decisions that materially change the task breakdown:
Scope boundary — what is explicitly out of scope for this plan?Module ownership — which existing module does this extend, or is a new module justified?Acceptance criteria — what does "done" look like from the user's perspective (command output, exit code, log event)? - 03
Phase 3 — Decompose into tasks
Task rules: - Each task must be independently committable as one atomic git commit. - Test scaffold tasks (red tests, BDD skeleton) come before the code that makes them green. - Tasks that create new files come before tasks that modify callers. - Derive test requirements from sc…
Each task must be independently committable as one atomic git commit.Test scaffold tasks (red tests, BDD skeleton) come before the code that makes them green.Tasks that create new files come before tasks that modify callers. - 04
Phase 4 — Draft the plan and show it to the user
Produce the full PLAN.md content using this schema:
Produce the full PLAN.md content using this schema: - 05
Implementation Plan
For agentic workers: Run /gflow:status --feature to find the next unchecked task. Implement one task at a time. Run /gflow:check before every commit.
tests/... —[ ][ ] —
Permission review
Static risk signals and limitations
Writes files
The documentation asks the agent to create, modify, or delete local files.
### Phase 5 — Write the fileEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 84/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 96 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- ffroliva/gflow-cli
- Skill path
- skills/plan/SKILL.md
- Commit
- c64a8d8b246f9551e8a96c7fcf363d15e045c9b2
- License
- MIT
- Collected
- 2026-08-04
- Default branch
- develop
View the original SKILL.md
plan — Feature Plan Creator
Turns a feature description into a task-by-task implementation plan and writes it
to docs/superpowers/plans/<YYYY-MM-DD>-<feature-slug>/PLAN.md.
Position in the gflow-cli workflow:
/gflow:predict <proposal> → GO / CAUTION / STOP verdict
/gflow:scenario <feature> → edge cases + BDD skeleton
/gflow:plan <feature> → writes the task checklist ← this skill
/gflow:status → surfaces next task during execution
/gflow:check → before each commit
When to invoke
- After
/gflow:predictreturns GO or CAUTION - When a backlog item in
PLAN.mdneeds a concrete task breakdown before starting work - Any feature larger than a single isolated file change
When not to invoke
- Simple bug fixes (< 10 lines, no boundary crossing) — go straight to the fix
- Pure doc changes
- A task already fully specified in a superpowers plan — use
/gflow:statusto find it
Protocol
Phase 1 — Gather inputs from context
From /gflow:predict output in context (do not ask if already present):
- Verdict (GO / CAUTION) and confidence score
- Architectural constraints and module placement
- Security risks and mandatory mitigations
- Devil's Advocate simplifications or sequencing blockers
From /gflow:scenario output in context (do not ask if already present):
- Critical and High scenarios → these become must-cover tests in the task checklist
- BDD
Scenario:blocks → seeds the BDD scaffold task
From the feature description passed to this skill:
- Feature name → derive a slug (lowercase, hyphen-separated, no dates)
- Stated goal (one sentence)
From the repo — run once:
uv run python scripts/dev/active_plan.py
Note the active phase name and its open tasks. Then read PLAN.md § "Phase status" and § "Decision log" directly to verify the proposed feature is within current scope and does not contradict an existing ADR. (The script shows the current task, not a backlog index — use PLAN.md for scope confirmation.)
Phase 2 — Ask clarifying questions (only if not answerable from context)
Ask at most 3. Focus on decisions that materially change the task breakdown:
- Scope boundary — what is explicitly out of scope for this plan?
- Module ownership — which existing module does this extend, or is a new module justified?
- Acceptance criteria — what does "done" look like from the user's perspective (command output, exit code, log event)?
Skip any question already answered by predict/scenario output or the feature description.
Phase 3 — Decompose into tasks
Task rules:
- Each task must be independently committable as one atomic
git commit. - Test scaffold tasks (red tests, BDD skeleton) come before the code that makes them green.
- Tasks that create new files come before tasks that modify callers.
- Derive test requirements from scenario output: Critical → must-cover (
- [ ]), High → should-cover. - Every task lists: what it does, which files change, step checklist, test checklist.
Typical task order for a gflow-cli feature:
| # | Task | Notes |
|---|---|---|
| 1 | Unit test scaffold | Red tests only. No production code. |
| 2 | BDD scaffold | Red BDD scenarios. No production code. |
| 3 | Core implementation | Domain objects / value types / parsers. |
| 4 | Transport / API layer | FlowApiClient or UiAutomationTransport changes. |
| 5 | CLI surface | cli_*.py + Click commands + --help text. |
| 6 | Docs update | USAGE.md, CONFIGURATION.md (new env vars), KNOWN_ISSUES.md if relevant. |
| 7 | Full gates + release prep | /gflow:check green; CHANGELOG updated. |
Adjust: not every task applies to every feature. Merge or split tasks as the scope demands.
Phase 4 — Draft the plan and show it to the user
Produce the full PLAN.md content using this schema:
# <Feature Display Name> Implementation Plan
> **For agentic workers:** Run `/gflow:status --feature <slug>` to find the next
> unchecked task. Implement one task at a time. Run `/gflow:check` before every commit.
**Goal:** <one sentence — the user-visible outcome>
**Architecture:** <2–3 sentences — which modules change, key design decisions, what stays the same>
**Predict verdict:** <GO / CAUTION — confidence N/10> (or "pending — run /gflow:predict first")
**Risk register:**
| Severity | Risk | Mitigation |
|---|---|---|
| (from predict output) | | |
---
## File structure
### New files
\`\`\`
src/gflow_cli/<module>.py
<one-line description>
tests/<module>/test_<module>.py
<one-line description>
\`\`\`
### Modified files
\`\`\`
src/gflow_cli/<existing>.py
<what changes>
\`\`\`
---
## Task 1 — <name> (test scaffold)
**What:** <one sentence>
**Files:**
- `tests/...` — <description>
**Steps:**
- [ ] <step>
**Tests created (red):**
- [ ] <test name> — <what it asserts>
---
## Task 2 — ...
(repeat for each task)
---
## Definition of done
- [ ] All task steps checked off
- [ ] `/gflow:check` green (ruff / format / pyright / pytest ≥ 80% coverage)
- [ ] `CHANGELOG.md` `[Unreleased]` section updated
- [ ] Docs updated (`USAGE.md` / `CONFIGURATION.md` as applicable)
- [ ] BDD feature file covers all Critical + High scenarios from `/gflow:scenario`
- [ ] No `# TODO` in diff without a tracked issue link
Show the drafted plan to the user. If they approve (or say "write it"), proceed to Phase 5.
Phase 5 — Write the file
mkdir -p docs/superpowers/plans/<YYYY-MM-DD>-<slug>
Write the plan to docs/superpowers/plans/<YYYY-MM-DD>-<slug>/PLAN.md.
Confirm with:
Plan written to
docs/superpowers/plans/<YYYY-MM-DD>-<slug>/PLAN.md. Run/gflow:status --feature <slug>to start working on it.
Output example (header only)
# Batch Manifest Ledger Implementation Plan
> **For agentic workers:** Run `/gflow:status --feature batch-manifest-ledger` to
> find the next unchecked task. Implement one task at a time. Run `/gflow:check`
> before every commit.
**Goal:** Add a local SQLite ledger to `gflow video batch` so interrupted runs skip
already-completed items on resume.
**Predict verdict:** GO — confidence 8/10
**Risk register:**
| Severity | Risk | Mitigation |
|---|---|---|
| High | Schema migration on user's existing DB | Checksummed migration runner (already in data/) |
| Medium | Ledger path drift between runs | Normalize to absolute path at record time |
Integration & Pipeline Continuation (Next Step Handoff)
- Claude Code: invoke via
/gflow:plan <feature>(thin wrapper around this skill). - Cursor / Aider / Codex: paste this file into your context and call
plan <feature>. - Antigravity (
agy): include in system context before asking for a plan. - Next step: Upon completing and user-approving
PLAN.md, proactively announce: "Implementation Plan approved. Next step: Phase 6 Task Execution (/gflow:status --feature <slug>)."
Alternatives
Compare before choosing
mgiovani/cc-arsenal
team-review
Multi-agent review team: architecture, security, performance, testing, style, docs/UX, plus an adversary that cross-examines the other 6, for security-sensitive, architectural, or large PRs (15+ files) where a single-agent pass risks missing cross-cutting issues. Use for auth/payments/PII changes, schema/pattern changes, compliance sign-off, or when asked to 'get the review team on this' / 'multi-agent review' / 'thorough review before merge'. For a standard PR or a quick pre-merge check, use /r
dotnet/skills
dotnet-webapi
Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling. USE FOR: adding new API endpoints (controllers or minimal APIs), wiring up OpenAPI/Swagger, creating .http test files, setting up global error handling middleware. DO NOT USE FOR: general C# coding style, EF Core data access or query optimization (use optimizing-ef-core-queries), frontend/Blazor work, gRPC services, or SignalR hubs.
fcakyon/claude-codex-settings
livekit-skills
Build voice AI agents with LiveKit Agents SDK. Use when the user asks to "build a voice agent", "create a LiveKit agent", "add voice AI", "implement handoffs", "structure agent workflows", or is working with LiveKit Agents SDK. Covers both LiveKit Cloud and self-hosted deployments using lk CLI.
PramodDutta/qaskills
API Test Suite Generator
Automatically generate comprehensive API test suites from OpenAPI specifications covering CRUD operations, error handling, authentication, pagination, and edge cases