agentleFS
MrPengujnMrPengujn/dev-flow-skills/skills/dev-plan/SKILL.md

dev-plan

Skill1 starsChanged 6 days agoMITView on GitHub

Planning phase of dev-flow. Reads the project, asks clarifying questions until the request is understood, writes a task plan with file ownership and model/effort per task, and asks the user for lite, economy or fast mode. Use when dev-flow reaches its planning phase or when the user explicitly invokes "/dev-plan". Do not load it for ordinary coding requests.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use dev-brainstorm, dev-review and 1 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.
  • phdengSkill

    dev-brainstorm

    结构化开发头脑风暴助手。用于:(1) 新项目/功能的需求分析与方案设计,(2) 技术选型讨论与权衡分析,(3) 架构设计与系统拆解,(4) 问题解决与调试思路梳理,(5) 代码重构与优化方向探索。当用户说"帮我想想"、"头脑风暴"、"怎么设计"、"技术方案"、"架构讨论"时触发。

    Also in 3 projects that use this

  • codihausSkill

    dev-review

    Code review with focus on quality, security, and best practices

    Also in 3 projects that use this

  • VercelSkill

    agent-browser

    Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the dev-flow core rules are not loaded in this session, load the dev-flow skill first and apply its core rules (do not start its …

    line 8
  2. Distinctive:

    Read what the feature depends on: README and agent instruction files, the manifest, the files the feature touches, one neighbouring feature …

    line 13
  3. Distinctive:

    If answering needs a sweep over many files or an unfamiliar area, launch one exploration subagent with specific questions and ask for …

    line 15
  4. Distinctive:

    Follow core rule 2. Cover whatever applies:

    line 18
  5. Distinctive:

    Tests: if the project already has tests, each task adds tests for its logic in the existing style.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 6 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dev Plan

If the dev-flow core rules are not loaded in this session, load the dev-flow skill first and apply its core rules (do not start its pipeline unless the user asked for it).

A good plan is what makes delegation work: subagents start with no context, so everything they would otherwise guess must be settled here.

1. Read the project

Read what the feature depends on: README and agent instruction files, the manifest, the files the feature touches, one neighbouring feature to copy patterns from, and how checks are run (test, lint, type-check, build). Note whether the project has tests at all.

If answering needs a sweep over many files or an unfamiliar area, launch one exploration subagent with specific questions and ask for conclusions with file paths, not file dumps.

2. Ask until about 95% sure

Follow core rule 2. Cover whatever applies:

  • Behaviour and scope: what exactly happens, what is explicitly out.
  • Edge cases and errors: invalid input, empty states, failures, limits.
  • Data and interfaces: shapes, names, storage, API contracts, migrations.
  • Fit: compatibility with existing behaviour, UI/UX expectations.

You are done when you could brief an implementer without inventing anything. If the request is already fully specified, say so and move on; do not ask filler questions.

3. Draft the plan

Split the work so each task is a coherent unit one subagent can finish and verify alone.

  • No shared files: a file is owned by exactly one task. When several tasks need the same file (a router, an index, a config), give that file to one task and make the others depend on it, or add a final wiring task.
  • Contracts first: types, interfaces, schemas and function signatures that several tasks rely on are written into the plan itself, or built by a first task the others depend on.
  • Waves: group tasks so everything in a wave is independent. Waves run in order; tasks inside a wave can run in parallel.
  • Right size: every subagent costs tens of thousands of tokens before it does any work, so a small feature is often a single task. Split only when a task would be too large for one subagent, or when the split buys real parallelism in fast mode. Fold tiny jobs (wiring, docs) into a neighbouring task when file ownership allows.
  • Tests: if the project already has tests, each task adds tests for its logic in the existing style. If the project has no tests, no task adds any.
  • Model and effort per task from the core table. Mark any task or review you would give to Fable.
  • Security review: note whether you expect one to be relevant, and why.

4. Get the user's decisions

Show the plan compactly (per task: id, what, files, wave, model/effort) and ask in one round:

  1. Approve or change the plan.
  2. Mode: lite, economy or fast. Describe each in one line and recommend one, as in dev-flow, "Modes".
  3. Git for this feature: no git actions, a commit per task, one commit at the end, and whether to use a new branch.
  4. Fable approval, only if you proposed it: which task or review, and why.

5. Write the plan file

If the user chose economy or lite, first merge tasks that were split only to run in parallel. In lite, also put the tasks in the order you will do them and mark as large any task expected to touch more than about 5 files or 300 source lines. Then write the approved plan to .dev-flow/plan.md. It is temporary: never commit it; it is deleted at wrap-up. Subagents read their task from it, and in lite mode it is your own checkpoint, so write it for a reader with no context.

# <feature>
Mode: lite | economy | fast
Git: <what the user chose>
Checks: <exact commands>
Tests: add in <style/location> | project has no tests, add none
Security review expected: yes/no, <reason>

## Decisions
<every answer from the Q&A that affects implementation, as plain statements>

## Contracts
<shared types, signatures, schemas>

## Tasks
### T1 <title>  [wave 1 | opus/high | status: todo]
Goal: ...
Owns: <files to create or modify>
Depends on: none
Acceptance: <verifiable criteria>
Notes: <added when the task is done: what changed, deviations, what a later task needs>

Then hand over to dev-implement if the pipeline is running. If dev-plan was invoked alone, stop here and tell the user the plan is ready.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.