clarification
Use when a user's request is vague, ambiguous, or underspecified. Explores the codebase first, then runs an iterative Q&A loop…
Use after run-plan completes to independently verify the implementation. Reads only the plan document and inspects the codebase from scratch — information-isolated from the execution context. Produces a structured review document with PASS/FAIL verdict. Triggers when the user
$ npx -y skills add tmdgusya/engineering-discipline --skill review-work --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/review-workContext preview
The summary Claude sees to decide when to auto-load this skill.
Use after run-plan completes to independently verify the implementation. Reads only the plan document and inspects the codebase from scratch — information-isolated from the execution context. Produces a structured review document with PASS/FAIL verdict. Triggers when the user
name: review-work description: Use after run-plan completes to independently verify the implementation. Reads only the plan document and inspects the codebase from scratch — information-isolated from the execution context. Produces a structured review document with PASS/FAIL verdict. Triggers when the user says "review the work", "verify the implementation", "check if the plan was executed correctly".
Independently verifies implementation results using only the plan document and the codebase. Receives no information from the execution process.
The reviewer shares no memory with the executor. The plan's stated goals and the current state of the codebase — these two alone are the basis for judgment.
1. **Do not receive execution context.** No logs from run-plan, no worker output, no diffs, no task completion summaries, no conversation history. The only input is the plan file path. 2. **Read the plan document directly.** Read the plan file from disk — not a summary or a passed-along description. 3. **Run all tests yourself.** Do not trust previous execution results. Run the full test suite and every verification command specified in the plan. 4. **Verdict is PASS or FAIL — binary at every level.** Each success criterion and each task's acceptance criteria are judged met/not-met individually; the verdict is the AND of all of them. No conditional passes, no "almost done", no partial credit. 5. **The verdict judges only the goal contract.** Verdict inputs are: planned files exist, acceptance criteria met, tests pass, no regressions, plan success criteria met. Everything else — placeholder/debug code, commit message mismatches, style — is reported as advisory findings and never flips the verdict. A binary signal is only useful if it is not polluted by cosmetics. 6. **Save the review document to a file.** Review results must be saved as a structured document. Never end with a verbal report alone. 7. **Do not modify code.** This skill is read-only. If issues are found, report them — do not fix them.
The only input to this skill is the **plan file path**.
docs/engineering-discipline/plans/YYYY-MM-DD-<feature-name>.md
The following must never be provided as input:
1. Receive the plan file path as input 2. Read the plan document directly from disk 3. Extract the following:
If the plan contains a `## Plan Amendment Log` (appended by run-plan when plan defects were found mid-execution), the review judges against the **amended** plan — the log is part of the plan, not execution context. Amendments that weakened a criterion relative to the plan's Goal are themselves a FAIL finding.
Use the extracted results as the foundation for the review document.
Inspect the codebase against the files specified in the plan.
1. **File existence check:** Verify that all files specified in the plan actually exist 2. **Content alignment check:** Inspect whether each file's content matches the plan's requirements (function signatures, type definitions, logic, etc.) 3. **Residual artifact check (advisory — not a verdict input):**
These are recorded as advisory findings. Exception: if a placeholder sits where an acceptance criterion requires working code, the criterion itself fails — that is what flips the verdict, not the artifact. 4. **Verify acceptance criteria per task.** Check each criterion stated in the plan one by one and record met/not-met — binary per criterion, no partial credit.
1. Run all **individual test commands** specified in the plan 2. Run the **full test suite** to check for regressions 3. Record each test's result (PASS/FAIL) 4. If any test fails, record the error message
1. Compare the commit structure specified in the plan against the actual `git log` 2. Note mismatches in commit messages or scope (unrelated changes mixed into a single commit)
Findings here are **informational only** — plans rarely predict commit messages exactly, and workers may have legitimately adapted. Record mismatches in the review document; they never affect the verdict.
The verdict is computed from the goal contract only — Phases 2 (criteria) and 3 (tests).
**PASS conditions (all must be met — verdict is the AND):**
**FAIL if any single condition above is not met.** No conditional passes.
**Never verd
Engineering discipline skills for AI coding agents. Works with Claude Code, Gemini CLI, OpenCode, Codex, and Cursor.
Use when a user's request is vague, ambiguous, or underspecified. Explores the codebase first, then runs an iterative Q&A loop…
Corrective cleanup of AI-generated code — removes LLM-specific patterns while preserving behavior. Use when the user says…
Behavioral guardrails to prevent common LLM coding mistakes — enforces surgical changes, assumption verification, and scope…
Orchestrates multi-day execution of complex tasks through milestones. Each milestone goes through plan-crafting, run-plan…
Decomposes complex, multi-day tasks into optimized milestones (ultraplan). Broad parallel exploration grounds a draft milestone…
Use when a task's scope is clear and multi-step implementation is needed, before touching code. Triggered after clarification is…