agentleFS
buildpad-aibuildpad-ai/skills/planning-and-task-breakdown/SKILL.md

planning-and-task-breakdown

Skill1 starsChanged 4 months agoMITView on GitHub

Decomposes specs into implementable tasks. Use when you have a spec or feature description and need to break it into small, verifiable tasks with acceptance criteria and dependency ordering.

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use constraint-driven-development, deprecation-and-migration and 9 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.
  • vinvcnSkill

    constraint-driven-development

    把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。

    Also in 4 projects that use this

  • az9713Skill

    deprecation-and-migration

    Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.

    Also in 19 projects that use this

  • galandoSkill

    source-driven-development

    Version-aware, source-driven development — fetch official docs before writing framework code

    Also in 19 projects that use this

  • borhen68Skill

    observability-and-instrumentation

    Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.

    Also in 8 projects that use this

  • mycelium-hqSkill

    doubt-driven-development

    Use when correctness matters more than speed: about to commit non-trivial code, make an architectural call under uncertainty, work in unfamiliar code, or assert what the compiler cannot check (''this is safe'', ''thread-safe'', ''this scales'', ''matches the spec''). Strongest on high-stakes surfaces (production deploys, security-sensitive logic, data migrations, irreversible operations) and when the user asks to sanity-check, red-team, double-check, or get a second opinion on a decision.

    Also in 12 projects that use this

  • luischanciSkill

    interview-me

    Interactive interview to formalize a research idea into a structured specification with hypotheses and empirical strategy.

    Also in 12 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 45 edited versions we read keep these.

  • 1

    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:

    No dependency ordering (just a flat list)

    line 143

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

Planning and Task Breakdown

Overview

Decompose specifications into small, verifiable tasks with clear acceptance criteria and dependency ordering. Good planning prevents the "implement everything at once" anti-pattern and enables incremental delivery with verification at each step.

When to Use

  • You have a spec or feature description and need implementable units
  • A feature is too large to build in one pass
  • Multiple agents or developers will work in parallel
  • You need to estimate effort or report progress

Task Decomposition Process

Step 1: Identify the Deliverables

From the spec, list every concrete deliverable:

Feature: Task Management

Deliverables:
1. Database migration for tasks table
2. API route for CRUD operations
3. TypeScript interfaces
4. List page with CollectionList
5. Create/Edit form with CollectionForm
6. RBAC permissions (roles, policies)
7. Tests (API, page, E2E)
8. Documentation

Step 2: Order by Dependencies

                ┌─── 3. Types ───────┐
1. Migration ───┤                    ├─── 5. Form ──┐
                └─── 2. API Route ───┤              ├─── 7. Tests
                                     └─── 4. List ──┘       │
                     6. RBAC ────────────────────────────────┘
                                                             │
                                                        8. Docs

Step 3: Write Tasks with Acceptance Criteria

Each task should be:

  • Small — completable in one sitting (~100 lines)
  • Verifiable — has clear pass/fail criteria
  • Independent — can be tested without other unfinished tasks
  • Committed separately — each task = one commit
### Task 1: Create tasks migration
**Depends on:** Nothing
**Files:** supabase/migrations/YYYYMMDD_create_tasks.sql
**Acceptance criteria:**
- [ ] Migration creates tasks table with fields: id, title, status, date_created, date_updated
- [ ] Standard audit fields included (user_created, user_updated)
- [ ] RLS policies for authenticated users
- [ ] Migration runs without errors

### Task 2: Create tasks API route
**Depends on:** Task 1 (migration)
**Files:** app/api/items/tasks/route.ts
**Acceptance criteria:**
- [ ] GET returns paginated task list
- [ ] POST creates a task with validation
- [ ] Proxy pattern used (calls DaaS backend)
- [ ] API tests pass

DaaS Layer Ordering

This skill feeds the tasks.md stage of spec-driven development (/buildpad-spec-tasks, or Kiro's native specs). Order tasks along DaaS dependency layers — each layer builds on the one before:

LayerTask Types
DataMigrations, API routes, types, API tests
UIList pages, form pages, navigation, page tests
LogicValidation hooks, RBAC setup, workflow definitions
RelationsJunction tables, relational fields, file uploads
HardeningError handling, performance, a11y, docs, E2E tests

Task Size Guidelines

~30 min  → Single file change (migration, type definition)
~1 hour  → Small feature slice (API route + test)
~2 hours → Moderate slice (page + form + tests)
~4 hours → MAXIMUM for a single task — split further if larger

Output Format

## Implementation Plan: [Feature Name]

### Data Foundation
- [ ] Task 1.1: Create migration — [acceptance criteria]
- [ ] Task 1.2: Create API route — [acceptance criteria]
- [ ] Task 1.3: Define TypeScript types — [acceptance criteria]
- [ ] Task 1.4: Write API tests — [acceptance criteria]

### Core UI
- [ ] Task 2.1: Create list page — [acceptance criteria]
- [ ] Task 2.2: Create form page — [acceptance criteria]
- [ ] Task 2.3: Add navigation — [acceptance criteria]
- [ ] Task 2.4: Write page tests — [acceptance criteria]

### Risks & Dependencies
- [Known risk 1 and mitigation]
- [External dependency and fallback]

Parallelization with Subagents

Once tasks are ordered, independent branches of the dependency graph can run as parallel subagents (see subagent-delegation). Define any shared contract (API types, DaaS collection schema) as a first task, then fan out.

  • Safe to parallelize: independent feature slices, read-only research, per-module reviews.
  • Keep sequential: migrations, shared-state changes, and anything on one dependency chain.
  • Integrate and verify each subagent's result on the main thread before marking a task done.

Common Rationalizations

RationalizationReality
"Planning takes too long"Debugging an unplanned implementation takes longer.
"I'll figure out the order as I go"Dependency loops discovered mid-implementation cause rework.
"These tasks are too granular"Granular tasks are verifiable. Vague tasks hide unknowns.
"We can parallelize everything"Dependencies exist. Ignoring them causes integration failures.

Red Flags

  • Tasks without acceptance criteria
  • Tasks estimated at more than 4 hours
  • No dependency ordering (just a flat list)
  • Tasks that can't be independently tested
  • Mixing different layers in a single task
  • No risk identification

Verification

After planning:

  • Every spec requirement maps to at least one task
  • Every task has acceptance criteria
  • Dependencies are identified and ordered
  • No task exceeds ~4 hours of estimated work
  • Each task can be independently verified
  • Tasks follow DaaS layer ordering and land in the spec's tasks.md

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.