feat(plan): add bite-sized work item decomposition#246
feat(plan): add bite-sized work item decomposition#246mvanhorn wants to merge 3 commits intoEveryInc:mainfrom
Conversation
|
@mvanhorn we've got another conflict to resolve |
Plans now include structured Work Items sections with exact file paths, complete code snippets, verification commands, and commit boundaries. Phase 5.5 decomposes implementation into 2-5 minute tasks that ce:work can execute directly as TodoWrite items. TDD-first when applicable. Only for MORE and A LOT detail levels - MINIMAL stays quick. Closes EveryInc#245 Refs EveryInc#146 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove tool-specific references (ce:work, TodoWrite) from plan templates to keep content tool-agnostic - Revert CHANGELOG.md entry (auto-generated by release process) - Revert plugin.json version bump (auto-release handles versioning) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
275f312 to
f88adcd
Compare
|
Rebased onto main - conflict resolved. Should be good to go now. |
|
@mvanhorn wondering about the metric based on time. Did you experiment with any other way to decompose and settle on that as a way? |
|
The time metric came from Superpowers (obra/superpowers) - they found that "2-5 minutes per step" was the granularity that kept agents and developers moving without getting stuck mid-task. I tried a few alternatives during development:
Time worked best because it's universal and correlates with cognitive load - if a step takes >5 minutes, it probably has hidden complexity that should be split. That said, it's a guideline for the planning agent, not a hard constraint. Open to other approaches if you have ideas. |
There was a problem hiding this comment.
Oops i missed this. drop this
No I think i'm gtg on this suggestion. I was mainly curious to what else you considered that I may not have leading up to your PR. After the one changelog feedback to yank I think this is gtg but i'll want to just sit with it a bit to think a bit more before merging. |
Changelog is auto-generated by the release process. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
/ce:planthat generates structured, bite-sized work items## Work Itemssection added to MORE template (3-8 tasks) and A LOT template (5-15 tasks grouped by phase)Motivation
/ce:workPhase 1 Step 3 says "Use TodoWrite to break plan into actionable tasks" - but this decomposition happens ad-hoc at runtime, without the planning context. Plans should do the heavy lifting (80/20 philosophy).Superpowers (42K stars) attributes much of its quality to this exact pattern - their plans produce 2-5 minute steps with exact paths, complete code, run commands, and expected output.
Related: #146 "Plan with files"
Changes
commands/ce/plan.md.claude-plugin/plugin.jsonCHANGELOG.mdTest plan
/ce:plan "add user auth"and select MORE - verify Work Items section appears with file paths, code, and verification commands/ce:plan "simple typo fix"and select MINIMAL - verify no Work Items section/ce:plan "major refactor"and select A LOT - verify Work Items grouped into phases/ce:workon a plan with Work Items - verify TodoWrite picks up tasks correctlyCloses #245
Refs #146