From orc
Execute tasks through the worker, review, validate, and commit pipeline. Run after /orc:tasks, or directly with a task description for simple work.
How this skill is triggered — by the user, by Claude, or both
Slash command
/orc:executeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
$ARGUMENTS
$ARGUMENTS
Tasks MUST already exist (created via /orc:tasks or manually). If no tasks exist, stop and tell the user to run /orc:tasks first.
Exception — direct execution: If $ARGUMENTS contains a concrete, self-contained task description (not a reference to a plan), create a single task with acceptance criteria inferred from the description, then proceed.
Run these checks once before entering the execution loop.
Check these sources in priority order. Use the first match found:
Project CLAUDE.md — Read the project's CLAUDE.md. Look for a section with heading containing "Commit" (e.g., "Commit Messages", "Commit Convention", "Commits"). If found, follow that convention exactly. Skip remaining checks.
Commitlint config — Check for these files at the repo root (in this order):
.commitlintrc.json.commitlintrc.yml / .commitlintrc.yaml.commitlintrc.js / .commitlintrc.cjs / .commitlintrc.mjscommitlint.config.js / commitlint.config.cjs / commitlint.config.mjs / commitlint.config.tsIf found and the config is a static JSON/YAML file or a JS/TS file with a plain object export:
extends: ["@commitlint/config-conventional"] or extends: ["@commitlint/config-angular"] → confirms the preset format. Apply any custom rules (e.g., type-enum, scope-enum, subject-case).Default — Conventional Commits: type(scope): description
Precedence rule: Detected conventions replace format rules (message structure, type list, scope constraints). They do NOT replace process rules (logical grouping, gate requirements, no unrelated changes staged).
For each task, follow these steps in exact order. Do NOT skip ahead. Each step has a gate.
TaskGet to read the full description and acceptance criteria.blockedBy tasks are complete. If blocked, skip to the next unblocked task.TaskUpdate(status='in_progress').If the task has metadata.type === "verification", skip the main loop (Step 2 Implement, Step 3 Review + Validate, Step 4 Commit) and follow this path instead:
validator agent with the verification scenarios from the task description.worker to fix the failing areas. Re-run validator. Repeat until PASS.workerworker agent with the task description, acceptance criteria, and file paths.⛔ STOP. The worker is done. Do NOT commit. Three mandatory gates remain.
Spawn the validator agent:
Handling results:
worker, then re-run validator. Repeat until PASS.You may ONLY reach this step with:
validator PASS (this cycle)Apply the commit convention detected in Step 0.
TaskUpdate(status='completed').TaskList for the next unblocked task. Return to Step 1.workervalidatorGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub metalspawn/claude-ops --plugin orc