atomic-planning
Skill1 starsChanged 7 months agoMITView on GitHub
Task decomposition methodology for Bayes Ship. File decomposition first, then 2-5 minute atomic tasks, XML plan format, model routing, wave grouping. Auto-invoked during planning phases.
In this repository43 other files it gives its agents.
- accessibilitySkill
- agent-evalSkill
- agentic-engineeringSkill
- ai-regression-testingSkill
- api-designSkill
- backend-patternsSkill
- coding-standards-eccSkill
- context-engineeringSkill
- frontend-patternsSkill
- git-worktreesSkill
- langchain-dependenciesSkill
- langchain-fundamentalsSkill
- langchain-middlewareSkill
- langchain-ragSkill
- langgraph-fundamentalsSkill
- langgraph-persistenceSkill
- minimalist-skillSkill
- output-skillSkill
- redesign-skillSkill
- security-scanSkill
- ship-architectSkill
- ship-autoSkill
- ship-bugfixSkill
- ship-deploySkill
- ship-discoverSkill
- ship-executeSkill
- ship-finish-branchSkill
- ship-newSkill
- ship-planSkill
- ship-researchSkill
- ship-resumeSkill
- ship-reviewSkill
- ship-settingsSkill
- ship-specSkill
- ship-statusSkill
- ship-testSkill
- ship-worktreeSkill
- soft-skillSkill
- systematic-debuggingSkill
- taste-skillSkill
- test-driven-developmentSkill
- two-stage-reviewSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
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
- Distinctive: line 9
Before defining tasks, map out ALL files:
- Distinctive: line 22
Add a database column and migration
- Distinctive: line 23
Add a single UI component to a page
- Distinctive: line 24
Update a server action with new logic
- Distinctive: line 25
Add a filter dropdown
- Distinctive: line 57
Never put dependent tasks in the same wave.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Atomic Planning
File decomposition first
Before defining tasks, map out ALL files:
- What files will be created?
- What files will be modified?
- What is each file's single responsibility?
- What are the interfaces between files?
Lock in decomposition decisions here. Units should have clear boundaries.
Task sizing
Each task: 2-5 minutes of AI work. If it cannot be described in 2-3 sentences, split it.
Right-sized examples:
- Add a database column and migration
- Add a single UI component to a page
- Update a server action with new logic
- Add a filter dropdown
Too big (must split):
- "Build the dashboard" → schema + queries + UI components + filters
- "Add authentication" → schema + middleware + login UI + session handling
XML plan format
<task type="auto" model="sonnet">
<n>Task title</n>
<files>file1.ts, file2.ts</files>
<skill>skill-name</skill>
<test-first>Write test: [description]. Watch fail (RED).</test-first>
<action>[Implementation]. Watch pass (GREEN).</action>
<verify>Run tests. All pass. Typecheck passes.</verify>
<done>Completion criteria.</done>
</task>Model routing
haiku: mechanical 1-2 file taskssonnet: standard multi-file integration (default)opus: architecture decisions, complex refactors, review
Wave grouping
- Wave 1: all independent tasks (run in parallel)
- Wave 2: tasks that depend on Wave 1 results
- Wave N: tasks that depend on Wave N-1
Never put dependent tasks in the same wave.
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.

