agentleFS
HarambeeAIHarambeeAI/bayes-ship/skills/atomic-planning/SKILL.md

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.

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

    Before defining tasks, map out ALL files:

    line 9
  2. Distinctive:

    Add a database column and migration

    line 22
  3. Distinctive:

    Add a single UI component to a page

    line 23
  4. Distinctive:

    Update a server action with new logic

    line 24
  5. Distinctive:

    Add a filter dropdown

    line 25
  6. Distinctive:

    Never put dependent tasks in the same wave.

    line 57

≈ “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.

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

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 tasks
  • sonnet: 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.

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.