From strikethroo
Breaks down an existing Strikethroo plan into atomic Markdown task files. Activated by requests to decompose, generate tasks, or create task blueprint.
How this skill is triggered — by the user, by Claude, or both
Slash command
/strikethroo:st-generate-tasksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Drive the end-to-end decomposition of an existing Strikethroo plan into
Drive the end-to-end decomposition of an existing Strikethroo plan into
atomic Markdown task files. The skill is assistant-agnostic and self-contained:
every script it invokes lives under this skill's scripts/ directory and is
referenced by relative path.
The user supplies the numeric plan ID conversationally. Treat it as the only authoritative source of intent. Do not invent answers to clarifying questions — prompt the user instead.
Run scripts/find-strikethroo-root.cjs from the user's working directory.
The script walks up looking for .ai/strikethroo/.init-metadata.json and
prints the absolute path of the resolved root on success.
If the script exits non-zero, the working directory is not inside an
initialized strikethroo workspace. Stop and ask the user to run the project
initializer (e.g. npx strikethroo init) before continuing. Do
not attempt to generate tasks outside of a valid root.
For every subsequent step, treat the path printed by this script as <root>.
Run scripts/validate-plan-blueprint.cjs <plan-id> planFile to obtain the
absolute path of the plan file. The same script also accepts these field
names (single-field output mode) and exposes them on demand:
planDir — absolute path of the plan directorytaskCount — number of existing task files in that plan's tasks/blueprintExists — yes or notaskManagerRoot — absolute path of <root>planId — the resolved numeric plan IDIf the script exits non-zero, stop and ask the user to confirm the plan ID. Do not guess a different ID.
Read these files, in order:
<root>/config/STRIKETHROO.md — directory conventions for plans, tasks,
and the archive layout.<root>/config/templates/TASK_TEMPLATE.md — every task file you emit must
conform to this template's frontmatter schema and section structure.<root>/config/shared/anti-rationalization.md — apply in step 4.Read the entire plan. Identify all concrete deliverables explicitly stated. Decompose each deliverable into atomic tasks only when genuinely needed.
Task minimization (mandatory):
Antipatterns to avoid:
Apply <root>/config/shared/anti-rationalization.md to this rationalization table:
| You catch yourself thinking… | The binding rule |
|---|---|
| "One extra task won't hurt." | It violates the 20–30% minimization target. Every task traces to an explicitly stated deliverable or it does not exist. |
| "This edge case deserves its own task." | Fold it into the task that owns the behavior. Do not split trivially small operations into separate units. |
| "I'll add a test suite to be safe." | Comprehensive tests for trivial functionality are gold-plating. Follow the test philosophy — meaningful tests only. |
| "Future extensibility justifies this task." | YAGNI. The plan does not mention it, so it is not a task. |
Each task must be:
Skill assignment (kebab-case, automatically inferred from the task's technical requirements):
["css"], ["vitest"]).["api-endpoints", "database"],
["react-components", "vitest"]).When generating test tasks, keep this constraint:
Definition. Meaningful tests verify custom business logic, critical paths, and edge cases specific to this application. Test your code, not the framework or library.
When TO write tests:
When NOT to write tests:
Test task creation rules:
If any test task is generated, restate this section verbatim or near-verbatim in that task's "Implementation Notes" so the executing agent applies it.
For each task, identify:
A task B depends on A if B requires A's output or artifacts, modifies code created by A, or tests functionality implemented by A. Validate that the final dependency graph is acyclic.
For every candidate task, assign a complexity_score (integer 1–10) before
writing any file. Base the score on these four dimensions:
| Score | Skill breadth | Acceptance-criteria clarity | Integration surface | Decomposition depth |
|---|---|---|---|---|
| 1–3 | One well-known skill | Criteria are concrete and observable | None or a single file/module | No further split possible |
| 4–5 | One primary skill plus a familiar adjacent skill | Criteria are clear with few edge cases | One component or API boundary | Already atomic |
| 6–7 | Two distinct skills, or one skill with ambiguous requirements | Criteria need clarification or have multiple edge cases | Multiple components or contracts | Could still be split |
| 8–10 | Three or more skills, or cross-cutting design decisions | Criteria are vague, unknown, or depend on unresolved choices | Wide integration surface or external systems | Must be decomposed further |
Pre-emission sanity rules — apply these before any task is written:
Required frontmatter:
complexity_score (integer 1–10).complexity_notes when the score needs justification,
such as "Ambiguous API contract" or "Decomposed from a higher-score parent".Loop-back rule:
After applying split, sharpen, or merge, re-run dependency analysis and re-score the adjusted tasks. Repeat this loop no more than three times. If complexity is still unresolved after three passes, stop and surface the blocker to the user.
Run scripts/get-next-task-id.cjs <plan-id> to obtain the first available
task ID. Allocate subsequent IDs by incrementing in-process; do not invoke
the script repeatedly. Use the unpadded integer in the task frontmatter id
field and the zero-padded form ({padded-id}--{slug}) for the filename.
The slug derives from a short task title: lowercase, alphanumeric and hyphens only, collapsed, trimmed.
Write each task to:
<root>/plans/<plan-dir-name>/tasks/{padded-id}--{slug}.md
Each file must conform to <root>/config/templates/TASK_TEMPLATE.md,
including required frontmatter fields:
id (integer)group (string)dependencies (array of task IDs, possibly empty)status — pending for new taskscreated (YYYY-MM-DD)skills (array of 1–2 kebab-case skills)Required additional frontmatter:
complexity_score (integer 1–10, required on every emitted task)Optional frontmatter:
complexity_notes (string) — include when the score needs justification,
such as "Decomposed from a cross-cutting parent task" or "Ambiguous API
contract".execution_profile (string) — optional durable routing profile metadata.
Omit it during initial task emission; the routing helper writes it only
after validating the complete task-to-profile mapping.The body sections (Objective, Skills Required, Acceptance Criteria, Technical
Requirements, Input Dependencies, Output Artifacts, Implementation Notes)
must be filled with task-specific content. Place detailed implementation
guidance inside a <details> block under "Implementation Notes" — write it
so a non-thinking LLM could execute the task from that section alone.
Before declaring task generation complete, verify:
get-next-task-id.cjs.scripts/validate-plan-blueprint.cjs <plan-id> complexityScoresValid. Stop
unless it prints yes; if it prints no, run
scripts/validate-plan-blueprint.cjs <plan-id> invalidComplexityTasks to see
which files are missing, non-integer, or out-of-range, fix them, and re-run.
Every generated task must carry an integer complexity_score from 1 to 10.complexity_notes only when a score needs explanation (typically atomic
tasks scoring greater than 4).Read <root>/config/hooks/TASK_EXECUTION_ROUTING.md and follow its
instructions together with this procedure:
scripts/route-task-execution.cjs profiles <plan-id> and interpret
its JSON result. On no-config or disabled, routing is off: skip the
remaining routing steps and continue. On invalid-config, stop and
surface the errors to the user — do not generate the blueprint.tasks/ directory against the
configured profile descriptions. For tasks generated in this run, use the
task content already in your context — objective, acceptance criteria,
technical requirements, skills, and complexity_score; do not reread
the emitted task files to reconstruct information you already hold. If
the plan carried task files from an earlier generation run, read those
files (and only those) to classify them — the mapping must cover every
task in the plan. Assign each task ID exactly one configured profile
name. Never invent a profile name, model, or harness.{"1": "routine", "2": "demanding"}.scripts/route-task-execution.cjs apply <plan-id> <mapping-file>. The
helper validates the mapping (every task exactly once, only configured
profiles), writes one execution_profile frontmatter field per task, and
verifies the written files. Target selection and resolver execution happen
later at task dispatch, never during generation.routed, delete the temporary mapping file and continue. On any
failure result (invalid-assignments, invalid-tasks,
routing-failure, infrastructure-failure), stop
and surface the JSON errors to the user. Never proceed to blueprint
generation with partially routed tasks.Profile names are durable routing labels. Persist them only through the
helper's execution_profile field; never hand-write a concrete execution
target into task frontmatter or task bodies.
Read <root>/config/hooks/POST_TASK_GENERATION_ALL.md and follow its
instructions. Run it only after routing succeeded or reported routing off.
This typically requires:
<root>/config/templates/BLUEPRINT_TEMPLATE.md for structure.Conclude with exactly this block as the final output:
---
Task Generation Summary:
- Plan ID: [numeric-id]
- Tasks: [count]
- Status: Ready for execution
The summary is consumed by downstream automation; keep the format exact.
status: "needs-clarification" and document the open question in the
task's "Implementation Notes". Do not invent answers.execution_profile or execution frontmatter, and do not continue with partially
routed tasks.npx claudepluginhub e0ipso/strikethrooWrites detailed implementation plans from specs or requirements, breaking work into tasks with file structure and testing guidance.
Analyzes project work, builds mental models, decomposes into stacked task graphs with backends and difficulty ratings, and gets approval before execution. For multi-task projects needing planning.
Breaks down requirements into detailed, actionable task lists with dependency analysis, research decisions, and execution strategies. Adapts to available context and scales to scope.