agentsclimarketplace

Flow planning

Skill cofin/flow/plugins/flow/skills/flow-planning

Use when drafting PRDs, researching, planning, refining, revising, or creating .agents/specs/<flow_id>/spec.md worksheets for Flow.From its SKILL.md

Install
npx -y skills add cofin/flow --skill flow-planning

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.4 KB, 705 tokens by cl100k_base, as published. Nobody here has run it

Flow Planning

Use this lifecycle skill for PRDs, research, single-flow planning, refinement, revisions, and task creation.

Workflow

  1. Read project context, patterns, knowledge chapters, and relevant existing specs before asking questions.
  2. Research code paths and external APIs before locking implementation decisions.
  3. Create PRDs as roadmap epics and single-flow specs as implementation worksheets.
  4. Refine until tasks include concrete files, behavior, tests, commands, and acceptance criteria.
  5. Create Beads epics/tasks and sync markdown views according to policy.

Interrogate Before Finalizing (Grill)

Before locking a PRD, spec, or refined worksheet, interrogate the plan until every decision branch is resolved. This is how Flow meets the Zero-Ambiguity Standard and the Stateless Executor Test — apply it in flow-prd, flow-plan, and especially flow-refine.

  • Ask one question at a time and wait for the answer before the next. Walk the decision tree top-down, resolving dependencies between decisions in order.
  • For every question, give your recommended answer and the trade-off, so the user confirms rather than composes from scratch.
  • If a question is answerable from the repo, explore the codebase / patterns.md / knowledge/ / tech-stack.md instead of asking. Only ask product or trade-off questions a human must decide.
  • Challenge the plan against the project's domain language: reuse the terminology already in patterns.md and knowledge/ chapters, and flag/resolve term conflicts before finalizing.
  • Record decisions that are hard to reverse, surprising, and a real trade-off into knowledge/ (or learnings.md); skip low-value notes.
  • Stop only when no open branch remains and a zero-context executor could implement from the artifact alone.
  • The finished spec/worksheet doubles as a handoff: reference existing artifacts (PRD, patterns, knowledge, affected files) rather than duplicating them, and name the next skill to invoke. (If the harness exposes grill-me / grill-with-docs / handoff skills, you may invoke them to drive these steps; otherwise apply the discipline directly.)

Guardrails

  • Planning must be decision-complete; do not defer obvious research to implementation.
  • Ask only product or tradeoff questions that cannot be answered from the repo.
  • Store plans under .agents/specs/<flow_id>/, not ad hoc docs paths.
  • Do not modify production code during planning.

Validation

  • Confirm every requirement maps to an implementation task and test scenario.
  • Confirm tasks are small enough for a low-context executor to complete without guessing.
  • Run spec review or code-reviewer validation before presenting final planning artifacts when available.

References Index

Example

User: "Plan skill trigger optimization."

Action: inspect current skills and validators, ask unresolved product tradeoffs, create a Flow spec with Beads tasks, and refine until the implementation path is explicit.

What ships with it: 1 file

140 B alongside SKILL.md

agents/

Gives 2 of the 12 instructions most plan spec skills give in 705 tokens

Counted across 1,360 of the 2,617 authors here whose files we hold, read 2026-09-06

  • Ask one question at a timehere, and in 73 of 1360
  • Write the spec using the templatein 22 of 1360
  • Ask clarifying questions if neededin 19 of 1360, across 18 files
  • Wait for user confirmation before proceedingin 19 of 1360
  • Save plans to the plans directoryin 17 of 1360, across 13 files
  • Check for product marketing context firstin 16 of 1360, across 5 files
  • Read the plan file completelyin 16 of 1360
  • Order tasks by dependencyin 16 of 1360
  • Gather context from the conversationin 15 of 1360, across 9 files
  • Explore the codebase instead of askinghere, and in 15 of 1360, across 13 files
  • Wait for explicit user approvalin 14 of 1360, across 13 files
  • Quiz the user on the breakdownin 13 of 1360, across 7 files

Said here and by no other author read

  • Research code paths before locking decisions
  • Create PRDs as roadmap epics
  • Create single-flow specs as worksheets
  • Refine tasks to include concrete details
  • Record hard-to-reverse decisions into knowledge
  • Confirm requirements map to implementation tasks

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.