flow-planning
Skill17 starsChanged 2 months agoApache-2.0View on GitHub
Use when drafting PRDs, researching, planning, refining, revising, or creating .agents/bundles/specs/<flow_id>/spec.md worksheets for Flow.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/flow.mdcCursor rule
- apilookupSkill
- architecture-criticSkill
- challengeSkill
- consensusSkill
- debloatSkill
- deepthinkSkill
- devils-advocateSkill
- docgenSkill
- flow-completionSkill
- flow-executionSkill
- flow-setupSkill
- flowSkill
- flow-stateSkill
- flow-sync-statusSkill
- okfSkill
- performance-analystSkill
- perspectivesSkill
- security-auditorSkill
- tracerSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Single-Pass Spec & Worksheets: Write spec.md and complete vertical-slice worksheets in tasks/<short_id>.md specifying public interfaces, …
- Distinctive: line 43
Every task must be a vertical slice sized for one subagent invocation and one atomic Git commit.
- Very specific: line 57
Put the selected verification_strategy in task frontmatter.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flow Planning
<!-- lifecycle-ownership: owner=flow-planning; operations=prd,plan,refine,revise,research,task -->Trigger
Use for prd|plan|refine|revise|research|task.
<!-- planning-contract: structured-choice-v1 -->interaction_authority: skills/flow/references/interaction.md
planning_loop:
phases: [research_closed, draft, gap_scan, refine, revision_update, review, approved, revise, blocked]
gap_scan:
reject: [deferred_research, unresolved_decisions, stub_body, vague_verification, missing_verification_strategy, overlapping_ownership, oversized_task]
require: [requirement_to_task_traceability, one_invocation_per_task, one_commit_per_task]
revision_update:
on_plan_change: [increment_plan_revision_once, copy_revision_to_spec_and_all_tasks, clear_plan_commit, rerun_validation]
review:
max_external_rounds: 3
blocking_severities: [Critical, Important]
on_limit: blockedWorkflow
- Proportional Research & Frontier Analysis: Resolve local codebase facts directly with file reads (0 subagents). Dispatch at most 1–2
@researchersubagents only when at least two independent unknowns or external primary-source lookups exist. Map design choices as an unblocked frontier with opinionated recommendations (❓ Choice [ID] ... ➡️ Recommendation). - Deep-Module Interface Exploration: Explore competing interface shapes only when public contracts genuinely compete, and apply the
architecture-criticdeep-module lens inline before spec lock. - Single-Pass Spec & Worksheets: Write
spec.mdand complete vertical-slice worksheets intasks/<short_id>.mdspecifying public interfaces, types, and testing seams. - Inline Adversarial Stress-Testing: Apply the
devils-advocatelens inline before presenting for approval to catch edge cases without spawning extra subagents. - Approval Gate: Present
Approve|Revise|Refine. Upon approval, hand off toflow-execution.
Guardrails
- Planning modifies files exclusively under
.agents/bundles/specs/<flow_id>/. Never edit application source code during planning. - A plan is Ready only when a zero-context agent can implement every task correctly from the worksheet alone.
- Every task must be a vertical slice sized for one subagent invocation and one atomic Git commit; never split one behavior into separate test-only and implementation-only tasks.
- Select exactly one verification strategy from the maintained matrix below.
Verification Strategy Selection
| Strategy | Change class | Required initial evidence | Required final evidence |
behavior_tdd | New observable behavior | Focused behavior test fails because the behavior is absent. | Focused test and relevant aggregate verification pass. |
regression_tdd | Defect correction | Focused reproduction fails with the reported symptom. | Regression and relevant aggregate verification pass. |
characterization | Behavior-preserving refactor or deletion | Focused behavior baseline passes before the change. | The same behavior evidence passes unchanged; compare affected coverage when execution could be lost. |
static_validation | Manifest, config, generated output, or tooling | Native parser, lint, type, build, or generator baseline runs. | An isolated representative violation fails with the expected diagnostic, then restored focused and aggregate gates pass. |
documentation_validation | Links, examples, or document structure | Applicable documentation-native baseline runs. | Documentation-native checks and promised examples pass. |
integration_acceptance | Composition of existing contracts | Focused integration baseline passes. | End-to-end scenario passes and injected negative states prove refusal paths. |
Put the selected verification_strategy in task frontmatter. In ## Verification,
name the exact initial and final commands, expected result, and any required
diagnostic. A waiver must retain the strategy and record rationale, approver,
and compensating evidence.
Output
Return the finalized spec path, child tasks, review findings, and the next lifecycle command (/flow:implement).
Validation
Confirm requirement-to-task traceability, complete worksheets, an allowed verification strategy with concrete initial/final evidence, test command specifications, and user approval.
Example
For a new subsystem, research codebase patterns, map design choices, draft spec.md with refined task worksheets, and present for user approval.
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.

