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.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
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
- Distinctive: line 23
Read the SRS requirements and the architecture end-to-end.
- Distinctive: line 26
Run the Smell tests across the candidate task list.
- Distinctive: line 29
Verify coverage: every SRS User Story (§3.2) and every FR (§3.3) maps to at least one task.
- Distinctive: line 35
One developer, one session: If finishing the task requires more than one person or more than one focused day, split.
- Very specific: line 38
One track tag: If you can't pick a single be | fe | be+fe | infra | qa tag, the task is two tasks.
- Distinctive: line 39
DoD is testable: If you cannot write a one-sentence DoD that names the artifact and the verification, the task is under-defined.
- Distinctive: line 49
If any apply, split.
- Very specific: line 94
Never start before SRS = Signed-off and architecture exists.
- Very specific: line 95
Every SRS User Story and FR must map to at least one task.
- Distinctive: line 96
Every task has exactly one track tag and a one-sentence DoD.
- Distinctive: line 97
Never invent requirements not in the SRS.
≈ “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.
Files
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/, optionallydocs/instrumentation-contract.md - Outputs:
master-plan-proposal.mdin your worktree with phases, tasks, dependencies, track tags, DoD per task
Procedure
- Read the SRS requirements and the architecture end-to-end. List the user-visible features the SRS names.
- For each feature, propose a vertical or horizontal split (see Splitting patterns). Default to vertical — usable slices first.
- Sketch tasks at the smallest level you can defend. Apply the Sizing heuristics to each candidate task; split anything that fails.
- Run the Smell tests across the candidate task list. Combine, split, or rename until none apply.
- Group tasks into phases per the Phasing patterns: each phase ends at a verifiable milestone, tasks within a phase run mostly in parallel.
- Tag each task with its track (
be | fe | be+fe | infra | qa) and a one-sentence DoD. Mark FE tasks consuming new endpoints ascontract-pendingwith the BE task as a dependency. - 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:
- One developer, one session. If finishing the task requires more than one person or more than one focused day, split.
- ≤ 5 SRS acceptance-criterion mappings. A task linked to more ACs is doing too much. Split by AC group.
- ≤ 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.
- One track tag. If you can't pick a single
be | fe | be+fe | infra | qatag, the task is two tasks. (be+feis allowed only when the BE and FE pieces truly cannot ship independently.) - 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:
- Mark it
track: fe, statuscontract-pending. - List the BE task that publishes the contract as a dependency.
- The Orchestrator will not transition this task to
not-starteduntil the BE task's contract isFrozen.
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-offand 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
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.

