From strikethroo
Automates the complete end-to-end Strikethroo workflow for a work order: plan creation, task generation, and blueprint execution in one shot.
How this skill is triggered — by the user, by Claude, or both
Slash command
/strikethroo:st-full-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Drive the complete end-to-end Strikethroo workflow from initial plan creation through final blueprint execution and archival. 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.
Drive the complete end-to-end Strikethroo workflow from initial plan creation through final blueprint execution and archival. 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.
Execute all three steps sequentially without waiting for user input between them. This is a fully automated orchestration workflow. Progress indicators are for user visibility only and do not pause execution.
The user supplies the work order conversationally. Treat it as the only authoritative source of intent. Do not invent answers to clarifying questions — prompt the user instead.
Information flows through the workflow via structured output parsing:
Plan ID from the Step 1 structured summary output. Use this exact ID to drive Step 2.Tasks count from the Step 2 structured summary output. Use this count for progress tracking during Step 3.Do not proceed to the next step until the structured output from the current step has been successfully parsed.
Display progress indicators at key transition points to provide visual feedback without interrupting execution:
⬛⬜⬜ 33% — Step 1: Plan Creation Complete⬛⬛⬜ 66% — Step 2: Task Generation Complete⬛⬛⬛ 100% — Step 3: Blueprint Execution CompleteThese indicators are purely informational. Do not pause or wait for user input when displaying them.
Progress: ⬛⬜⬜ 33% - Step 1/3: Starting Plan Creation
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 execute the full workflow outside of a valid root.
For every subsequent step, treat the path printed by this script as <root>.
Read <root>/config/STRIKETHROO.md for directory structure conventions. Read <root>/config/hooks/PRE_PLAN.md and execute its instructions before proceeding. Read <root>/config/templates/PLAN_TEMPLATE.md so the plan conforms to the project's template.
Identify:
If any critical context is missing, ask the user targeted questions. Loop until no further questions remain. Explicitly confirm whether backwards compatibility is required. Never invent answers.
If the user declines to clarify a blocking question, stop and report the plan as needing clarification. Do not produce a partial plan.
Run scripts/get-next-plan-id.cjs to obtain the next available plan ID. The script prints a single integer.
Compute the zero-padded form for directory naming ({padded-id}--{slug}) and use the unpadded integer in the plan frontmatter and the final summary.
Write the plan to:
<root>/plans/{padded-id}--{slug}/plan-{padded-id}--{slug}.md
The output must conform to <root>/config/templates/PLAN_TEMPLATE.md, including required YAML frontmatter fields (id, summary, created). Avoid time estimates, task lists, or code samples — those belong to the later task-generation step.
The <slug> is derived from the plan summary: lowercase, alphanumeric and hyphens only, collapsed, trimmed.
Execute <root>/config/hooks/POST_PLAN.md after the plan file is written.
Conclude Step 1 with exactly this block:
---
Plan Summary:
- Plan ID: [numeric-id]
- Plan File: [absolute-path-to-plan-file]
Parse the Plan ID value from this output and pass it to Step 2.
Progress: ⬛⬜⬜ 33% - Step 1/3: Plan Creation Complete
Progress: ⬛⬜⬜ 33% - Step 2/3: Starting Task Generation
Using the Plan ID extracted from Step 1:
Run scripts/validate-plan-blueprint.cjs <plan-id> planFile to obtain the absolute path of the plan file. If the script exits non-zero, stop and report the error. Do not guess a different ID.
Read these files in order:
<root>/config/STRIKETHROO.md — directory conventions.<root>/config/templates/TASK_TEMPLATE.md — every task file must conform to this template.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:
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. 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 Step 2 with exactly this block:
---
Task Generation Summary:
- Plan ID: [numeric-id]
- Tasks: [count]
- Status: Ready for execution
Parse the Tasks count from this output and pass it to Step 3 for progress tracking.
Progress: ⬛⬛⬜ 66% - Step 2/3: Task Generation Complete
Progress: ⬛⬛⬜ 66% - Step 3/3: Starting Blueprint Execution
Using the Plan ID from the previous phases:
Run scripts/validate-plan-blueprint.cjs <plan-id> planFile to obtain the plan file path. Also query:
planDir — absolute path of the plan directorytaskCount — number of existing task filesblueprintExists — yes or noIf the script exits non-zero, stop and report the error.
If taskCount is 0 or blueprintExists is no:
scripts/validate-plan-blueprint.cjs <plan-id> planFile (and the other fields) to refresh the resolved paths and counts.Run scripts/create-feature-branch.cjs <plan-id> once before phase execution. Branch creation is best-effort: when the script reports that it skipped creation (for example, not on main/master), continue on the current branch and do not retry or create a branch manually. Uncommitted or untracked changes are permitted only when every change is inside the repository-root .ai/strikethroo subtree, so a newly generated plan and tasks can remain uncommitted before execution. When the script exits with an error—including changes anywhere outside that subtree or an inability to inspect Git status on main/master—halt and report the error. Do not treat a skipped branch as a failure or spend effort working around a skip.
Read these files in order:
<root>/config/STRIKETHROO.md — directory conventions and project context.<root>/config/shared/verification-gate.md — apply in the phase loop below.Use an internal task or todo tracker to monitor progress. For each phase defined in the Execution Blueprint:
Run scripts/check-phase-readiness.cjs <plan-id> <phase-number>. If the script exits non-zero, halt the phase and report the blocking issues before continuing.
Read <root>/config/hooks/PRE_PHASE.md and execute its instructions before starting the phase.
Identify all tasks scheduled for this phase whose dependencies are fully satisfied. Read <root>/config/hooks/PRE_TASK_ASSIGNMENT.md and follow its instructions for agent selection before dispatching tasks.
Resolve every selected task's execution route first. Invoke one resolver per selected task simultaneously in a single parallel tool operation:
scripts/dispatch-task-execution.cjs resolve <task-file> <current-harness> <workspace> <plan-id> <task-id>
Resolvers never launch external processes. After interpreting all route results, issue
all external-override executions and all native Task-tool agents together in one
parallel tool operation. External execution uses:
scripts/dispatch-task-execution.cjs execute <handoff> <task-file> <current-harness> <workspace> <plan-id> <task-id>
<handoff> is the exact opaque handoff string returned by that task's
external-override resolver result. Never reconstruct it, reuse it for another
task, or rerun resolution after launches begin. Execute validates the handoff
and does not reread routing configuration, so configuration changes cannot
alter an already selected target.
This two-step protocol is mandatory: do not execute external tasks during route
resolution, do not serialize external commands, and do not wait for external completion
before launching ready native agents. If an execute-time pre-flight returns fallback,
record its reason and immediately launch the ordinary native path without override prose.
<current-harness> is the exact supported harness identifier running this
skill and <workspace> is the project working directory. Interpret its JSON
result before choosing a route: native-default uses ordinary native dispatch;
native-override uses native dispatch with explicit exact-model prose and
reasoning-effort prose only when returned; fallback visibly records its
reason then uses ordinary native dispatch with no override prose;
launched-success has already completed externally and receives normal status
and evidence review; launched-failure is a failed task and must enter the
existing error-hook/status path without any native retry; infrastructure-failure
is also a failed task, must be marked failed, and must run
<root>/config/hooks/POST_ERROR_DETECTION.md without native retry. The command
always emits exactly one JSON line; exit code 2 identifies entrypoint/infrastructure
failure while exit code 1 identifies a launched task failure.
Deploy all remaining native agents simultaneously using your internal Task tool. Each agent MUST:
<root>/config/hooks/PRE_TASK_EXECUTION.md before starting any implementation work.Maximize parallelism within each phase. Run every task that is ready at the same time.
Ensure every task in the phase has status completed. Collect and review all task outputs. Document any issues or exceptions encountered.
Do not accept a subagent's report of success as proof. Apply the evidence gate in <root>/config/shared/verification-gate.md before marking the phase complete. Do not mark a phase complete on an unverified claim.
Read <root>/config/hooks/POST_PHASE.md and execute its instructions. Do not proceed to the next phase until this hook succeeds.
Update the phase status to completed in the plan's Execution Blueprint section.
Repeat for the next phase until all phases are complete.
Read <root>/config/hooks/POST_EXECUTION.md and execute its instructions. If validation fails, halt execution. The plan remains in plans/ for debugging.
Before declaring execution complete, apply the evidence gate in <root>/config/shared/verification-gate.md to the plan's Success Criteria and Self Validation steps.
Append an execution summary section to the plan document using the format described in <root>/config/templates/EXECUTION_SUMMARY_TEMPLATE.md. Populate:
Move the completed plan directory from <root>/plans/<plan-folder> to <root>/archive/<plan-folder>.
Preserve the entire folder structure (including all tasks and subdirectories) to maintain referential integrity. If the move fails, log the error but do not fail the overall execution — the implementation work is complete.
Progress: ⬛⬛⬛ 100% - Step 3/3: Blueprint Execution Complete
needs-clarification and stop. Do not produce a partial plan.execution_profile, or continue with partially routed tasks.PRE_PHASE.md, POST_PHASE.md, or POST_EXECUTION.md fails, halt execution. The plan remains in plans/ for debugging and potential re-execution.<root>/config/hooks/POST_ERROR_DETECTION.md, document the error in Noteworthy Events, halt the phase, and request user direction before continuing.Conclude with exactly this block as the final output:
---
Execution Summary:
- Plan ID: [numeric-id]
- Status: Archived
- Location: [absolute path to archive directory]
---
The summary is consumed by downstream automation; keep the format exact.
npx claudepluginhub e0ipso/strikethrooExecutes Strikethroo plan blueprints by numeric ID. Validates dependencies, auto-generates missing tasks/blueprints, and runs task phases in parallel. For running plans from the Strikethroo system.
Orchestrates plan-driven builds by reading plan.json or requirements.md and dispatching workers. Use when executing /execute or running a blueprint plan.
Executes implementation plans by dispatching parallel task-implementer subagents with worktree isolation. Use when running multi-phase plans with independent tasks.