plan
Skill367 starsChanged 58 days agoMITView on GitHub
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.
184 other projects use a version of this.
Adopted by
Most recently taken up by
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- joeldevz/skynex-pitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use heartmula, webhook-subscriptions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
math-incSkillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 9 projects that use this
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 5 projects that use this
john-data-chenSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 6 projects that use this
gaebalaiSkillcodex-system
PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".
Also in 3 projects that use this
ibahgatSkillcontext-optimize
Improve context efficiency and cache stability for long or complex sessions.
Also in 3 projects that use this
- +3 more from math-inc
Other versions184 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 184
- Yeachan-Heo/oh-my-codex★ 34ksame name
- crbnos/carbon★ 2.8ksame name
- graphistry/pygraphistry★ 2.6ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- math-inc/OpenGauss★ 1.3ksame name
- kdlbs/kandev★ 1.1ksame name
- suboss87/FDEOps★ 940same name
- codewithmukesh/dotnet-claude-kit★ 808same name
- witnesstodark/mr-mak-workspace★ 718same name
- loongclaw-ai/loongclaw★ 640same name
174 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- changelogSkill
- checkSkill
- doc-reviewSkill
- gflow-cliSkill
- issue-assessmentSkill
- issue-resolveSkill
- known-issuesSkill
- live-verifySkill
- llm-councilSkill
- pr-council-reviewSkill
- predictSkill
- releaseSkill
- scenarioSkill
- sonarSkill
- spikeSkill
- statusSkill
- video-productionSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
After /gflow:predict returns GO or CAUTION
- Very specific: line 31
When a backlog item in PLAN.md needs a concrete task breakdown before starting work
- Distinctive: line 68
Ask at most 3. Focus on decisions that materially change the task breakdown:
- Distinctive: line 80
Test scaffold tasks (red tests, BDD skeleton) come before the code that makes them green.
- Distinctive: line 83
Every task lists: what it does, which files change, step checklist, test checklist.
- Distinctive: line 99
except task 6: If the plan has a task 5, it has a task 6, because gflow ships every capability twice and the automated gates cannot see the …
- Very specific: line 184
Write the plan to docs/superpowers/plans/<YYYY-MM-DD>-<slug>/PLAN.md.
“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 commitWhen 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.pyNote 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 | MCP surface mirror | Never optional when task 5 exists. mcp/tools.py signature + docstring claims, the queued-path payload keys in worker/codec.py, tests/mcp/test_cli_parity.py for a new leaf. |
| 7 | Docs update | USAGE.md, CONFIGURATION.md (new env vars), docs/MCP.md, KNOWN_ISSUES.md if relevant. |
| 8 | 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 —
except task 6. If the plan has a task 5, it has a task 6, because gflow ships every
capability twice and the automated gates cannot see the two drifting apart. A plan that
touches the CLI and has no MCP task is incomplete, not lean. The mirror axes are enumerated
once, in skills/check/SKILL.md step 1b; cite them, do not copy them.
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 linkShow 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>)."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

