plan-backlog
Skill4 starsChanged 5 days agoMITView on GitHub
Backlog decomposition for the Planning phase — slicing rules, dependency ordering, and per-task acceptance criteria sized for single Codex runs.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- h2xd/skillstheir own version, first seen Nov 29, 2026
- theam/claude-dev-kittheir own version, first seen Nov 1, 2026
- leosimini/keelokittheir own version, first seen Oct 13, 2026
- scharissis/polakotheir own version, first seen Aug 27, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- theam/claude-dev-kit★ 17same name
- leosimini/keelokit★ 2same name
- h2xd/skills★ 1same name
- scharissis/polako★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accounting-bookkeepingSkill
- agent-context-persistenceSkill
- asoSkill
- brainstorm-argumentationSkill
- brainstorm-debateSkill
- brainstorm-lensesSkill
- causal-inferenceSkill
- context-disciplineSkill
- creative-briefSkill
- customer-support-opsSkill
- data-quality-checksSkill
- design-fundamentalsSkill
- ecommerce-operationsSkill
- event-taxonomySkill
- exec-coding-standardsSkill
- exec-cppSkill
- exec-csharpSkill
- exec-deliverableSkill
- exec-github-actionsSkill
- exec-goSkill
- exec-jvmSkill
- exec-phpSkill
- exec-pythonSkill
- exec-rubySkill
- exec-rustSkill
- exec-self-testingSkill
- exec-swiftSkill
- exec-typescriptSkill
- executor-fallbackSkill
- exec-visualizationSkill
- fast-pathSkill
- final-reviewSkill
- financial-auditSkill
- hr-recruitingSkill
- influencer-strategySkill
- interview-ask-backSkill
- interview-elicitationSkill
- jev-assistSkill
- json-data-wranglingSkill
- legal-contract-basicsSkill
- localization-copySkill
- manufacturing-ops-planningSkill
- marketing-attributionSkill
- media-planningSkill
- okr-planningSkill
- pack-game-analyticsSkill
- parallel-executionSkill
- performance-marketingSkill
- personal-financeSkill
- plan-architectureSkill
- plan-research-firstSkill
- preflightSkill
- profile-contentSkill
- profile-designSkill
- profile-pilotSkill
- profile-planSkill
- real-estate-analysisSkill
- review-conformanceSkill
- review-dualSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
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
- Very specific: line 40
Bounded blast radius: prefer a diff a reviewer reads in a single sitting — roughly ≤ ~5 files / a few hundred changed lines.
- Very specific: line 45
Mandatory slice overflow: if context-slice.mjs reports mandatory slice content exceeds tokenBudget, split the oversized task in the backlog.
- Very specific: line 85
Run node "${CLAUDE_PLUGIN_ROOT}/scripts/requirements-coverage.mjs" --requirements .codex-flow/REQUIREMENTS.md --tasks .codex-flow/TASKS.md …
- Distinctive: line 90
No tasks that could run concurrently (in the same wave) touch the same file.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Backlog Breakdown
Helpers: required — task-waves.mjs, requirements-coverage.mjs (helper rule: missing → STOP and tell the user to reinstall the codex-flow plugin; non-zero exit → surface the error and STOP).
Decompose the approved plan into .codex-flow/TASKS.md. Each task is one Codex run and one review cycle.
Task format
## T1: <imperative title>
- Depends on: — | T<n>
- Files: <create/modify list>
- Requirements: <R-IDs covered>
- Steps: <concrete, file-level steps>
- Skills: <relevant skills from PLAN.md "Skills plan" (*Skills to use* + before-execution created skills), or — >
- Acceptance: <verifiable criteria for THIS task alone>; satisfies A<n>[, A<n>]
- Session: —
- Status: pendingSession and the transition log beneath Status are execution-time fields that the orchestrator
fills in Phase 4. The backlog always writes - Session: — and - Status: pending; do not add
transition lines while planning.
The Files: and Depends on: fields are also what scripts/task-waves.mjs reads to compute
parallel execution waves — keep them accurate and file-level, not vague.
Sizing: size for one execution AND one review
A task is the unit Codex builds in one run and Claude verifies in one pass — size it for both:
- One reviewable concern per task: it should satisfy one clear acceptance check that a reviewer can confirm without holding several unrelated changes in their head. If review would have to juggle two unrelated concerns, that's two tasks.
- Bounded blast radius: prefer a diff a reviewer reads in a single sitting — roughly ≤ ~5 files
/ a few hundred changed lines. Bigger diffs review shallowly and risk the 64 KB
diffcap truncating what the reviewer sees. Too big → split. - ~5–30 min of Codex work as a secondary check: a task you can't describe in a few file-level steps is too big; a one-line tweak is usually too small to be its own review cycle — fold it in.
- Mandatory slice overflow: if
context-slice.mjsreportsmandatory slice content exceeds tokenBudget, split the oversized task in the backlog; never raise the slice budget. - Self-sufficient: each task must be doable by a fresh Codex session from PLAN.md + the task
text alone (a domain shift starts a new session with no prior memory). Put the context it needs in
Stepsand name the files to read — don't rely on "as we did in T2".
Slicing rules
- Contracts/foundations first: the shared seams from PLAN.md (types, schemas, interfaces, migrations) become the earliest tasks, so every dependent task builds and reviews against a fixed contract instead of a moving one. Isolate risky tasks (migrations, public API changes) so a failed run has a small blast radius.
- Independently verifiable: each task's acceptance must be checkable when only that task is done (its tests pass, build stays green) — never "works after T5 lands".
- Acceptance names the exact check: state the command the reviewer runs — the test file/pattern,
npm run build, or a concrete manual probe — not just prose. Phase 5 runs it verbatim. - Acceptance cites the plan's A-entries: end each
Acceptance:field with the citation form; satisfies A<n>[, A<n>]— every PLANA<n>must be cited by at least one task, and the tokens aftersatisfiesmust be bareA<n>IDs (no suffixes). Citations are matched case-insensitively (a3resolves toA3), but each token must still be a bareA<n>ID. - Vertical over horizontal where possible: a thin end-to-end slice (one endpoint + its test) reviews better than "all models, then all controllers".
- File-disjoint where independent: actively reshape task boundaries so independent tasks
own disjoint
Files:sets. If multiple tasks would edit a shared helper, move that helper edit into its own earlier task and make the other tasks depend on it. For multi-task backlogs, maketask-waveswidth > 1 the norm, not the exception; serialize only work that truly must share a file. - Dependency-ordered: a task may only depend on earlier tasks; no cycles.
- Tests live inside the task that adds the behavior — never a trailing "write tests" task.
- Map skills once, here: fill each task's
Skills:field from PLAN.md's "Skills plan" (Skills to use + any before-execution created skills) so Phase 4 embeds a consistent, user-reviewable set per task instead of re-guessing each run (— if none apply).
Sanity checks before showing the user
Re-run every check below after a plan change updates affected tasks or the improvement gate appends tasks; do not schedule the changed backlog until all checks pass.
- Union of all task acceptance criteria covers every plan acceptance criterion (no orphan requirements).
- Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/requirements-coverage.mjs" --requirements .codex-flow/REQUIREMENTS.md --tasks .codex-flow/TASKS.md --plan .codex-flow/PLAN.md. Every effective R<n>.<m>must be cited by at least one task and no task may cite an unknown ID; fix the backlog before presenting it for approval. Every PLANA<n>acceptance entry must be cited by at least one task'sAcceptance:field; treat a non-zero exit (orphanA<n>, unknown citation) as fix the backlog before presenting it. - No tasks that could run concurrently (in the same wave) touch the same file; dependency-ordered tasks may share files because they serialize (avoids Codex-vs-Codex merge conflicts).
- First task is small — it validates the plan's assumptions cheaply before the expensive middle.
- Mirror tasks with TaskCreate so the user sees live progress during execution.
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.

