summaryrefslogtreecommitdiff
path: root/skills/subagent-driven-development/references/batching.md
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-10-19 21:29:43 -0700
committerJesse Vincent <jesse@fsck.com>2026-10-19 21:29:43 -0700
commitc7730f7f276fb1d65d859962edb551dffd573427 (patch)
tree61ba4130a73d0cc0abe64561e3c300daf259c2f1 /skills/subagent-driven-development/references/batching.md
parentd079e1b85c8f964cb52da5e2be678c9fdfc8759b (diff)
subagent-driven-development: move situational content to references/ so SKILL.md survives compactionfix/sdd-under-compaction-cut
After a compaction, Claude Code re-attaches each invoked skill truncated to 20,000 characters (#2481). SDD was 32,358, so everything from the fix loop on (the five-round cap, the breaker, the ledger round line, the final review's single fix wave, Finish) was gone for the rest of a long session. One reported task ran 18 fix rounds after that. Content SDD only needs at particular moments now lives in references/, behind a pointer at the step that needs it: fix-loop.md (read before every round), final-review.md (with Finish), handling-reports.md (non-DONE statuses), resuming.md (an existing ledger), preflight.md (the conflict scan before Task 1), batching.md, and cannot-verify.md. Those reads come fresh from disk, so they don't depend on what survived compaction. The Process graph shows the fix loop and final review as pointer nodes, and the illustrative Example Workflow is gone. SKILL.md is 19,506 bytes. tests/skill-size/test-skill-size.sh fails when any SKILL.md reaches 20,000 bytes. It still fails for writing-skills and executing-plans. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
Diffstat (limited to 'skills/subagent-driven-development/references/batching.md')
-rw-r--r--skills/subagent-driven-development/references/batching.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/skills/subagent-driven-development/references/batching.md b/skills/subagent-driven-development/references/batching.md
new file mode 100644
index 0000000..6224e4b
--- /dev/null
+++ b/skills/subagent-driven-development/references/batching.md
@@ -0,0 +1,11 @@
+# Batching Small Same-Shape Work
+
+Part of superpowers:subagent-driven-development.
+
+**Batch small same-shape work.** When the plan lists several tasks that are
+each a small, independent edit of the same kind — the same one-line fix,
+constant change, or field addition repeated across files — do not dispatch
+one subagent per task. Compose ONE dispatch brief listing every file and
+its change, send the whole batch to a single subagent, and review its diff
+as one unit. Reserve one-dispatch-per-task for work that needs its own
+judgment, its own tests, or its own review surface.