agentleFS
evolplusevolplus/talos/skills/task-sizing/SKILL.md

task-sizing

Skill9 starsChanged 6 months agoApache-2.0View on GitHub

Heuristics for breaking architecture into right-sized tasks for the master plan. Consult when TL is producing master-plan-proposal.md from a signed-off SRS and architecture.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the SRS requirements and the architecture end-to-end.

    line 23
  2. Distinctive:

    Run the Smell tests across the candidate task list.

    line 26
  3. Distinctive:

    Verify coverage: every SRS User Story (§3.2) and every FR (§3.3) maps to at least one task.

    line 29
  4. Distinctive:

    One developer, one session: If finishing the task requires more than one person or more than one focused day, split.

    line 35
  5. Very specific:

    One track tag: If you can't pick a single be | fe | be+fe | infra | qa tag, the task is two tasks.

    line 38
  6. Distinctive:

    DoD is testable: If you cannot write a one-sentence DoD that names the artifact and the verification, the task is under-defined.

    line 39
  7. Distinctive:

    If any apply, split.

    line 49
  8. Very specific:

    Never start before SRS = Signed-off and architecture exists.

    line 94
  9. Very specific:

    Every SRS User Story and FR must map to at least one task.

    line 95
  10. Distinctive:

    Every task has exactly one track tag and a one-sentence DoD.

    line 96
  11. Distinctive:

    Never invent requirements not in the SRS.

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

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

Task Sizing

When to use

You are the TL. You have a signed-off SRS and a current architecture. Your job is to produce a master plan that the Orchestrator can dispatch in parallel where possible. This skill gives you the sizing heuristics, the smell tests for an over-sized task, and the splitting and phasing patterns.

Inputs and outputs

  • Inputs: signed-off docs/SRS.md, docs/architecture.md, docs/decisions/, optionally docs/instrumentation-contract.md
  • Outputs: master-plan-proposal.md in your worktree with phases, tasks, dependencies, track tags, DoD per task

Procedure

  1. Read the SRS requirements and the architecture end-to-end. List the user-visible features the SRS names.
  2. For each feature, propose a vertical or horizontal split (see Splitting patterns). Default to vertical — usable slices first.
  3. Sketch tasks at the smallest level you can defend. Apply the Sizing heuristics to each candidate task; split anything that fails.
  4. Run the Smell tests across the candidate task list. Combine, split, or rename until none apply.
  5. Group tasks into phases per the Phasing patterns: each phase ends at a verifiable milestone, tasks within a phase run mostly in parallel.
  6. Tag each task with its track (be | fe | be+fe | infra | qa) and a one-sentence DoD. Mark FE tasks consuming new endpoints as contract-pending with the BE task as a dependency.
  7. Verify coverage: every SRS User Story (§3.2) and every FR (§3.3) maps to at least one task. Fail to verify = exit blocked.

Sizing heuristics

A right-sized task is one a single developer in a single role can complete in a focused work session. Use these checks:

  1. One developer, one session. If finishing the task requires more than one person or more than one focused day, split.
  2. ≤ 5 SRS acceptance-criterion mappings. A task linked to more ACs is doing too much. Split by AC group.
  3. ≤ 3 inter-task dependencies. A task that depends on more than three other tasks is in the wrong phase — your phase boundary is wrong, not the task.
  4. One track tag. If you can't pick a single be | fe | be+fe | infra | qa tag, the task is two tasks. (be+fe is allowed only when the BE and FE pieces truly cannot ship independently.)
  5. DoD is testable. If you cannot write a one-sentence DoD that names the artifact and the verification, the task is under-defined.

Smell tests for an over-sized task

  • Title contains "and" or "with" describing two distinct deliverables ("auth and profile", "list view with filtering")
  • DoD is a paragraph, not a sentence
  • Task touches three or more files in the architecture diagram
  • Task description includes both "implement X" and "while we're at it, refactor Y"
  • The same task appears with similar wording in two different phases (a sign you're modeling the same work as setup + finish)

If any apply, split.

Splitting patterns

Two main directions:

  • Vertical (narrower scope of feature): ship a thinner version end-to-end. Login with email-only first, MFA later. List with no filtering first, filtering as a follow-up. Splits the feature by user value.
  • Horizontal (one layer at a time): ship one architectural layer first (data model + migration), then the next (API), then UI. Splits by track. Use when the layers are slow-moving and worth freezing one at a time.

Vertical is usually safer (you ship something usable sooner). Horizontal is necessary when the BE-FE contract needs time to settle before FE can begin (per CLAUDE.md §4 contract-freeze rule).

Phasing patterns

A phase is a set of tasks that can complete before the next phase makes sense. Good phase boundaries:

  • A phase ends with a verifiable milestone (the auth flow works end-to-end, the data model is migrated and observable, etc.)
  • Tasks within a phase mostly run in parallel
  • Tasks across phases mostly have dependencies

Bad phase boundaries:

  • A phase ends with "everything in track X is done" (you've grouped by team, not by milestone)
  • Phases are sized by calendar time ("Phase 1 = first sprint") rather than by completed work
  • Phases require all of track Y to finish before any of track Z starts (you've serialized work that could parallelize)

See references/examples.md for a worked breakdown of a feature into phases and tasks.

The contract-pending pattern

For any fe task that consumes a new endpoint:

  1. Mark it track: fe, status contract-pending.
  2. List the BE task that publishes the contract as a dependency.
  3. The Orchestrator will not transition this task to not-started until the BE task's contract is Frozen.

This is a first-class status for a reason — it makes the BE→FE serial dependency explicit without forcing the whole feature into one task.

Sub-plans for blocking issues (CLAUDE.md §6)

When a task moves to failed (QA fail) or an open issue is promoted, you (TL) are dispatched to produce a sub-plan: remediation tasks, dependencies, expected resolution. The sub-plan goes under the affected task's phase folder in docs/plan/phase-NN-name/ (as additional tasks in that phase), not as a separate "sub-plans" hierarchy. Resume the original phase only after the sub-plan completes.

Build-blocker and environment-failure sub-plans: diagnose first, fence second. When the promoted issue is a build/toolchain/environment failure whose cause has not been read from source (only the error message is known), do not write scope guards that presuppose the cause — e.g. "pure build-config pin, do NOT add or upgrade any dependency". State the hypothesis as a hypothesis, make the first DoD item "name the failing component from its own source (the dependency's build file in the package cache, the plugin manifest)", and leave the fix class open. If the role that owns the task cannot execute the build in its sandbox, say so in the task and name who runs the verification, so a reopen is recorded as a reopen (orchestrator-operating-rules.md §9 Step 7.6). A "no dependency change" guard on a build-blocker whose real fix is a dependency upgrade turns one diagnosis into several failed attempts.

Hard rules

  • Never start before SRS = Signed-off and architecture exists.
  • Every SRS User Story and FR must map to at least one task. Verify coverage before exit (per .claude/rules/sub-agent-registry.md §3.3).
  • Every task has exactly one track tag and a one-sentence DoD.
  • Never invent requirements not in the SRS. If implementation needs something the SRS does not state, raise an Open Question.
  • A task with > 5 AC mappings or > 3 task dependencies is unsplit work — split before submitting the proposal.

References

  • references/examples.md — worked feature breakdown
  • CLAUDE.md §3.3 — TL role and exit criteria
  • .claude/rules/parallel-execution.md §4 — what can parallelize, what must serialize
  • .claude/rules/master-plan-discipline.md §8 — task statuses and design sub-statuses

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.