agentleFS
GuillemRocaGuillemRoca/agent-skills-android/skills/planning-and-task-breakdown/SKILL.md

planning-and-task-breakdown

Skill2 starsChanged 40 days agoMITView on GitHub

Use when starting implementation of a feature or change that involves multiple files or steps. Produces a structured task list with vertical slices, acceptance criteria, and verification steps.

77 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use architecture-decision-records, verification-before-completion and 3 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.
  • GSA-TTSSkill

    architecture-decision-records

    Load when a user wants architecture decision records (ADRs) drafted from requirements or a design discussion, asks which decisions need an ADR, or wants an ADR draft reviewed for one-sided trade-offs, weak alternatives or missing requirement links. Not for setting up a project's whole documentation system (project-documentation-system).

    Also in 3 projects that use this

  • OpenAISkill

    verification-before-completion

    Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

    Also in 7 projects that use this

  • AnasX7Skill

    minimalist-ui

    Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.

    Also in 3 projects that use this

  • delphi-aiSkill

    animate

    Animation patterns and best practices for Next.js/React applications. Use this skill when implementing animations, transitions, hover effects, page transitions, modals, or any motion in React components. Based on Emil Kowalski's "Animations on the Web" course.

    Also in 3 projects that use this

  • VercelSkill

    web-design-guidelines

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

    Also in 6 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 1 is common, 5 are distinctive, and 2 are very specific to this project.

  • 1

    Common

    Most of the 70 edited versions we read keep these.

  • 5

    Distinctive

    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
  1. Distinctive:

    Before implementing any feature spanning more than 2–3 files

    line 17
  2. Very specific:

    After writing a spec (follows spec-driven-development)

    line 18
  3. Distinctive:

    When a task feels "too big to start"

    line 19
  4. Distinctive:

    When multiple developers will work on related code

    line 20
  5. Very specific:

    Check for an incomplete plan first: If tasks/plan.md or tasks/todo.md already exists with unchecked tasks:

    line 70
  6. Distinctive:

    Add checkpoints: every 2–3 tasks: run full test suite, review with human

    line 98
  7. Distinctive:

    No verification steps on tasks

    line 127
  8. Common:

    No checkpoints between tasks

    line 129

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

"The plan is the task — 10 minutes upfront prevents hours of rework." Break work into small, ordered, verifiable tasks before writing code. Each task is a vertical slice that leaves the system in a working state.

When to Use

  • Before implementing any feature spanning more than 2–3 files
  • After writing a spec (follows spec-driven-development)
  • When a task feels "too big to start"
  • When multiple developers will work on related code

Skip when: The change is a single-file fix with obvious scope.

Core Process

Step 1: Read-Only Analysis

  1. Read the spec (SPEC.md) or requirements — do not modify any code
  2. Map the codebase:
    • Which modules are involved? (:app, :feature:*, :core:*)
    • Which layers? (UI → ViewModel → UseCase → Repository → DataSource)
    • What existing code can be reused?
  3. Identify constraints:
    • Android API level requirements
    • Existing architecture patterns to follow
    • Library versions and compatibility

Step 2: Map Dependencies

  1. Draw the dependency graph:
    • Data models → Repository → UseCase → ViewModel → UI
    • Room entities → DAOs → Database migrations
    • Navigation graph changes → Screen composables → ViewModels
  2. Identify the critical path — what must exist before other work can start

Step 3: Vertical Slicing

  1. Slice vertically, not horizontally:

    Wrong (horizontal):

    • Task 1: Create all Room entities
    • Task 2: Create all DAOs
    • Task 3: Create all repositories
    • Task 4: Create all ViewModels
    • Task 5: Create all screens

    Right (vertical):

    • Task 1: User can view item list (Entity + DAO + Repo + ViewModel + Screen)
    • Task 2: User can create new item (AddScreen + ViewModel + Repo insert)
    • Task 3: User can edit existing item (EditScreen + ViewModel + Repo update)
    • Task 4: User can delete item (swipe-to-delete + Repo delete + undo)
  2. Each slice must:
    • Deliver observable functionality
    • Be testable in isolation
    • Leave ./gradlew build passing

Step 4: Write Structured Tasks

  1. Check for an incomplete plan first. If tasks/plan.md or tasks/todo.md already exists with unchecked tasks:
    • Same work being replanned (the user asked to revise or extend it) → update the files in place
    • Different work → stop and ask. The unchecked tasks may be mid-build in another session. Don't delete, overwrite, or rename them; let the user decide (finish the old plan, discard it explicitly, or say where the new plan goes). The same applies to an external tracker: never bulk-close another plan's open items to make room.
  2. Create tasks/plan.md with the dependency graph and approach. Always markdown — design decisions, risks, and open questions don't map onto tracker issues.
  3. Record tasks in the task list target, in execution order:
    • Default: tasks/todo.md — the checklist the /build command expects
    • External tracker: if the project's agent rules (AGENTS.md, CLAUDE.md) or the user designate one (GitHub Issues, Jira, Linear, …), create one item per task instead of writing tasks/todo.md. Put acceptance criteria and verification in the item body, dependencies in the tracker's "blocked by" links, and note the tracker in tasks/plan.md with an ordered index of item IDs so future sessions know where to look.

Each task uses this structure, in either target:

## Tasks

### Task 1: [Short description]
**Files:** `feature/src/.../ItemListScreen.kt`, `core/data/src/.../ItemDao.kt`
**Acceptance criteria:**
- Item list loads from Room database
- Empty state shown when no items exist
- Loading state shown during fetch
**Verification:**
- [ ] `./gradlew test` passes
- [ ] `./gradlew assembleDebug` succeeds
- [ ] Compose Preview renders correctly

Step 5: Order by Dependencies

  1. Sequence tasks so each builds on the previous
  2. Add checkpoints every 2–3 tasks: run full test suite, review with human
  3. Flag risks on tasks with uncertainty — mark as "spike" if investigation needed

Task Sizing Guide

SizeFilesDurationAction
Small1–2< 30 minExecute directly
Medium3–530–60 minExecute with checkpoint
Large6+> 60 minSplit further

Split when: task touches >2 independent subsystems, or acceptance criteria exceed 5 items.

Common Rationalizations

ShortcutWhy It Fails
"I'll plan as I go"Without a task list, you lose track of scope and dependencies. Rework multiplies.
"The spec is the plan"Specs describe what. Plans describe how and in what order.
"Planning takes too long"A 10-minute plan prevents hours of backtracking.
"I know this codebase, I don't need a plan"Plans catch dependency gaps that familiarity masks.
"The old tasks/plan.md is stale, I'll just replace it"Unchecked tasks may be mid-build in another session. Overwriting them destroys work state that exists nowhere else. Stop and ask.

Red Flags

  • Implementing without a written task list
  • Overwriting a tasks/plan.md or tasks/todo.md that still has unchecked tasks for different work, without asking
  • Writing tasks/todo.md when the project designated an external tracker (or scattering tasks across both)
  • Tasks missing acceptance criteria
  • No verification steps on tasks
  • Tasks spanning >5 files without splitting
  • No checkpoints between tasks
  • Horizontal slicing (all DAOs, then all repos, then all VMs)

Verification

  • tasks/plan.md exists with dependency graph
  • Ordered tasks recorded in the task list target (default tasks/todo.md)
  • No pre-existing incomplete plan was overwritten without explicit user confirmation
  • Every task has acceptance criteria and verification steps
  • Tasks are vertically sliced (each delivers observable functionality)
  • No task exceeds "Large" sizing without justification
  • Checkpoints placed every 2–3 tasks
  • Human has reviewed the plan before implementation starts

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.