Skip to content
ln-403-task-rework logo

Task Rework Executor

ln-403-task-rework

Fixes tasks in To Rework by applying reviewer feedback, then returns to To Review. Use when task was rejected during review.

SKILL.md

Full skill instructions

Paths: File paths (shared/, references/, ../​ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If shared/ is missing, fetch files via WebFetch from https://raw.githubusercontent.com/​levnikolaevich/​claude-code-skills/​master/​skills/​{path}.

Task Rework Executor

Type: L3 Worker

Executes rework for a single task marked To Rework and hands it back for review.

Purpose & Scope

  • Load full task, reviewer comments, and parent Story; understand requested changes.
  • Apply fixes per feedback, keep KISS/​YAGNI, and align with guides/​Technical Approach.
  • Update only this task: To Rework -> In Progress -> To Review; no other tasks touched.

Hex-line acceleration (if available): Use outline(file_path) before reading large code files. Use read_file() for discovery and read_file(edit_ready=true, verbosity="full") before any edit that needs revision and checksums. After edits: edit_file(base_revision=rev) → verify(checksums). Use changes() to show what was fixed.

Inputs

Use read_file() and edit_file() as the primary path for code/​config/​script/​test files during rework. Keep read_file() discovery-first by default; request edit_ready=true, verbosity="full" only when you are about to reuse its revision/​checksum protocol. Built-in Read/​Edit are fallback only when hex-line is unavailable.

InputRequiredSourceDescription
taskIdYesargs, parent Story, kanban, userTask to rework

Resolution: Task Resolution Chain. Status filter: To Rework

Task Storage Mode

MANDATORY READ: Load shared/​references/​environment_state_contract.md, shared/​references/​storage_mode_detection.md, and shared/​references/​input_resolution_pattern.md

Extract: task_provider = Task Management → Provider (linear | file).

AspectLinear ModeFile Mode
Load taskget_issue(task_id)Read("docs/​tasks/​epics/​.../​tasks/​T{NNN}-*.md")
Load review notesLinear commentsReview section in task file or kanban
Update statussave_issue(id, state)Edit the **Status:** line in file

File Mode transitions: To Rework → In Progress → To Review

MANDATORY READ: Load shared/​references/​mcp_tool_preferences.md — ALWAYS use hex-line MCP for code files when available. No fallback to standard Read/​Edit unless hex-line is down.

Workflow (concise)

  1. Resolve taskId: Run Task Resolution Chain per guide (status filter: [To Rework]).
  2. Load task: Read task (Linear: get_issue; File: Read task file), review notes, parent Story. 2b) Goal gate: MANDATORY READ: Load shared/​references/​goal_articulation_gate.md — State REAL GOAL of this rework (what was actually broken, not "apply feedback"). Combine with 5 Whys (shared/​references/​problem_solving.md) to ensure root cause is articulated alongside the rework goal. NOT THE GOAL: a superficial patch that addresses the symptom, not the cause.
  3. Plan fixes: Map each comment to an action; confirm no new scope added.
  4. Implement: MANDATORY READ: Load shared/​references/​code_efficiency_criterion.md — Follow task plan/​checkboxes; address config/​hardcoded issues; update docs/​tests noted in Affected Components and Existing Code Impact. Before handoff, verify 3 efficiency self-checks.
  5. Quality: Run typecheck/​lint (or project equivalents); ensure fixes reflect guides/​manuals/​ADRs/​research.
  6. Root Cause Analysis: Ask "Why did the agent produce incorrect code?" Classify: missing context | wrong pattern | unclear AC | gap in docs/​templates. If doc/​template gap found → update the relevant file (guide, template, CLAUDE.md) to prevent recurrence.
  7. Handoff: Set task to To Review (Linear: update_issue; File: Edit status line); move it in kanban; add summary comment referencing resolved feedback + root cause classification.

Critical Rules

  • Single-task only; never bulk update.
  • Do not mark Done; only To Review (the reviewer decides Done).
  • Keep language (EN/​RU) consistent with task.
  • No new tests/​tasks created here; only update existing tests if impacted.
  • Do NOT commit. Leave all changes uncommitted — the reviewer reviews and commits.

Runtime Summary Artifact

MANDATORY READ: Load shared/​references/​coordinator_summary_contract.md, shared/​references/​worker_runtime_contract.md, shared/​references/​task_worker_runtime_contract.md

Shared contract:

  • emit summary_kind=task-status
  • standalone mode omits runId and summaryArtifactPath
  • managed mode passes both runId and exact summaryArtifactPath before the worker writes its validated summary

Monitor (2.1.98+): When verification commands expected >30s, use Monitor. Fallback: Bash(run_in_background=true).

Definition of Done

  • Task and review feedback fully read; actions mapped.
  • Fixes applied; docs/​tests updated as required.
  • Quality checks passed (typecheck/​lint or project standards).
  • Root cause classified (missing context | wrong pattern | unclear AC | doc gap); doc/​template updated if gap found.
  • Status set to To Review; kanban updated; summary comment with fixed items + root cause.
  • Runtime summary artifact written to the shared task-status location.

Reference Files

  • Environment state: shared/​references/​environment_state_contract.md
  • Storage mode operations: shared/​references/​storage_mode_detection.md
  • [MANDATORY] Problem-solving approach: shared/​references/​problem_solving.md
  • Kanban format: docs/​tasks/​kanban_board.md

Version: 3.0.0 Last Updated: 2025-12-23

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View