/arn-code:arn-code-execute-task [task-number-or-description]from arn-code
Executes a single task from the task list by spawning a task-executor agent, with optional review validation. For re-running failed tasks or testing individual phases.
Ships in arn-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Execute a single task from the task list by spawning a arn-code-task-executor agent. Optionally run a arn-code-task-reviewer to validate the implementation before marking the task complete.
Pipeline position (this is an alternative entry point, not in the main pipeline):
arn-code-taskify -> arn-code-execute-task (single task) -> [optional] arn-code-review-implementation
Use cases:
If no ## Arness section exists in the project's CLAUDE.md, inform the user: "Arness is not configured for this project yet. Run /arn-implementing to get started — it will set everything up automatically." Do not proceed without it. Task list must exist (run /arn-code-taskify first).
Read the project's CLAUDE.md and extract the ## Arness section to find:
ask, auto, or manual (if present)Template version check: If Template version and Template updates fields are present, run the template version check procedure documented in arn-code-save-plan Step 1 (Template Version Check) before proceeding. If ## Arness does not contain these fields, treat as legacy and skip.
Ask (using AskUserQuestion):
"Run with review gate after execution?"
Options:
If review chosen, also ask:
Ask (using AskUserQuestion):
"How should Arness handle critical review findings?"
Options:
Store the choice for the execution session.
Ask the user for PROJECT_NAME if not provided in the trigger message
Verify the project directory exists:
<plans-dir>/<PROJECT_NAME>/
├── INTRODUCTION.md
├── TASKS.md
├── PROGRESS_TRACKER.json
├── plans/PHASE_*.md
└── reports/
If PROGRESS_TRACKER.json is missing, warn that progress tracking will not be available. Execution can still proceed.
Mark task as in_progress via TaskUpdate
Check if the project has ### Visual Testing configured in the ## Arness section of CLAUDE.md. If found, extract: capture script path, compare script path, baseline directory, diff threshold.
Note: Extract only the top-level fields (implicit Layer 1). Do NOT parse #### Layer N: subsections — multi-layer visual validation runs during /arn-code-review-implementation, not per-task.
Determine the executor model. First check the per-phase upgrade override:
implementation.taskId matches the current task ID.phase.implementation.modelOverride is non-null (e.g., "opus"), use that value as the model parameter for this dispatch. Skip the standard agent-models lookup. Emit a one-line status to the user: Phase <N> (<phaseTitle>) executor model: <override> (upgraded — complex phase per pipeline.complex-phase-upgrade).phase.implementation.modelOverride is null or the field is missing, fall through to the standard lookup: pass the model from .arness/agent-models/code.md as the model parameter (see ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-ensure-config/references/ensure-config.md "Dispatch convention" for fallback).Then spawn arn-code-task-executor via the Agent tool with the determined model. Full context:
<PROJECT_NAME><plans-dir>/<PROJECT_NAME>/<project-folder>/INTRODUCTION.md<code-patterns-dir>/<specs-dir>/ (if relevant to the task)<template-path>/Record the agent ID returned by the Agent tool (needed for resume mode)
Wait for executor to complete
arn-code-task-reviewer via the Agent tool, passing the model from .arness/agent-models/code.md as the model parameter (see ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-ensure-config/references/ensure-config.md "Dispatch convention" for fallback). Context:
/arn-code-review-implementation.reviewFindings section), mark task as completed via TaskUpdateresume parameter of the Agent tool) with review feedback, then re-run reviewerPROGRESS_TRACKER.json:
<plans-dir>/<PROJECT_NAME>/PROGRESS_TRACKER.jsonimplementation.taskId or testing.taskId matches this task"completed" and completedAt to current ISO 8601 timestampreview.verdict to the reviewer's verdict and review.reviewCycles to the number of review cyclesimplementation.status = "completed" (and testing.status = "completed" or "none"), set overallStatus to "completed"; otherwise set overallStatus to "in_progress" (if not already)lastUpdated and write to diskreview.verdict and review.reviewCycles at their initial valuesPROGRESS_TRACKER.json does not exist, skip this step silentlyShow: what was implemented, tests run, review verdict, reports generated.
Offer next step: "Would you like to run /arn-code-review-implementation to validate the full project, or continue with another task?"
If the review verdict is pass or pass-with-warnings: also offer "Or run /arn-code-simplify to review the implementation for simplification opportunities before full review."
If deferred visual testing layers exist in CLAUDE.md (any #### Layer N: subsection with **Status:** deferred) and this task is the last task in a phase, suggest: "Deferred visual testing layers detected. Consider running /arn-spark-visual-readiness to check if they can be activated now that this phase is complete."
## Arness config missing in CLAUDE.md -- suggest running /arn-implementing to get started
No tasks in TaskList -- suggest running /arn-code-taskify to convert TASKS.md into tasks
Task not found -- show available tasks and ask user to select one
Task is blocked by incomplete dependencies -- warn user, let them decide whether to proceed anyway
Project directory missing -- suggest running /arn-code-save-plan to create the project structure
Executor fails -- read agent output, report to user, offer retry
Executor reports test failures. Branch on the executor's classification (from the implementation/testing report's unrelatedTestFailures array and any 3-attempt self-heal failures):
Branch 1 — only unrelatedTestFailures reported (no 3-attempt self-heal failure): the executor confirmed the failing tests are not related to the task's modified files. Show the full classification reasoning (test names, modified files checked, observed test imports). Then ask (using AskUserQuestion):
One or more pre-existing tests are failing but appear unrelated to this task. How would you like to proceed?
- Address now — pause this task, investigate and fix the failing tests
- File a backlog issue and continue — record the failures as a tracked issue, mark task complete
- Continue with documented reason — proceed without filing a backlog issue, annotate the task report
Apply the choice. For "File a backlog issue", create the issue on the configured platform (gh issue create for github, Jira MCP for jira; if Issue tracker is none, warn the user and fall back to "Continue with documented reason"). Use the failing test names + classification reasoning as the issue body.
Branch 2 — executor reports a 3-attempt self-heal failure on a related-or-uncertain test: present failure details (test name, error output, files involved). Then ask (using AskUserQuestion):
A test failure persists after 3 fix attempts. The failure may be related to this task. How would you like to proceed?
- Retry with more context — give the executor more guidance and try again
- Skip the failing task — mark this task as incomplete and continue
- Abort execution — stop now
If unrelatedTestFailures are also present in the same report, mention them briefly so the user has the full picture.
Reviewer fails -- report to user, offer to skip review or retry
Review cycle exceeds 2 retries -- escalate to user with full review findings, ask: retry with more context, skip review, or abort
Resume fails (API error or agent ID no longer valid) -- fall back to fresh dispatch mode, inform user
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub appsvortex/arness --plugin arn-code37 skills in this plugin
/arn-assessingThis skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find improvements", "what should I improve", "tech debt review", "pattern compliance check", "codebase health check", "improvement plan", "review my codebase", "what needs fixing", "code quality check", "audit my code", "run an assessment", "arn-assessing", or wants a comprehensive technical assessment of the codebase against stored patterns followed by prioritized improvement execution. Chains to arn-implementing if improvements are identified./arn-code-assessThis skill should be used when the user says "arness code assess", "arn-code-assess", "tech debt audit", "assess the project", or wants a comprehensive technical assessment of the codebase against stored patterns followed by prioritized improvement execution through the full Arness pipeline./arn-code-batch-cve-fixThis skill should be used when the user says "fix CVEs", "patch vulnerabilities", "apply security patches", "batch CVE fix", "remediate CVEs", "arness CVE fix", "arn-code-batch-cve-fix", "fix all open CVE tickets", "cleanup resolved CVE proposals", or wants Arness to apply per-group dependency bumps for CVEs already triaged by arn-code-batch-cve-scan and open one human-reviewed PR per group against the configured Security branch. Interactive only./arn-code-batch-cve-scanThis skill should be used when the user says "scan for CVEs", "CVE scan", "check for vulnerabilities", "dependabot triage", "audit dependencies", "security scan", "arness CVE scan", "arn-code-batch-cve-scan", "run a scheduled CVE scan", "finalize a CVE proposal", or wants Arness to discover, triage, and ticket security advisories across project dependencies (GitHub Dependabot plus locally-detected scanners). Three modes: interactive, proposal (unattended, safe for Routines or claude -p), and finalize (review a proposal and file tickets on GitHub or Jira)./arn-code-batch-implementThis skill should be used when the user says "batch implement", "implement all", "batch execution", "implement all features", "parallel implement", "implement in parallel", "arness batch implement", "arn-code-batch-implement", "run batch implementation", "implement everything", "launch batch workers", or wants to spawn parallel worktree-isolated background agents to implement multiple pending features simultaneously. Each worker runs as a full independent session with all tools. This skill requires pending plans in .arness/plans/ — run arn-code-batch-planning first if none exist./arn-code-batch-mergeThis skill should be used when the user says "batch merge", "merge batch", "arness batch merge", "arn-code-batch-merge", "merge all PRs", "merge batch PRs", "merge the batch", "merge implemented features", "batch merge PRs", "merge open PRs", "merge all feature PRs", "combine batch PRs", "land the batch", "land all PRs", or wants to discover open batch implementation PRs, analyze them for conflicts, determine an optimal merge order, and execute merges with user-guided conflict resolution. This skill is typically invoked after arn-code-batch-implement completes and chains to arn-code-batch-simplify upon completion.Other plugins' skills for the same job