/dev-process-toolkit:simplify [focus area]from dev-process-toolkit
Reviews recently changed code for reuse, quality, and efficiency issues, then applies fixes. Use after completing a feature to clean up.
Ships in dev-process-toolkit. 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.
Review recently changed files for code quality issues and fix them. This skill complements agents/code-reviewer.md (the canonical defect/security rubric used by /implement Stage B and /gate-check Code Review) by focusing on cleanup — reuse, clarity, and efficiency — on files that have already passed review. Where wording overlaps (naming, hardcoded values, pattern compliance), follow the code-reviewer rubric as the source of truth.
Find changed files — Check git diff --name-only HEAD~1 (or git diff --name-only for uncommitted changes)
Review for:
agents/code-reviewer.md § Code quality)Fix issues — Apply changes directly, keeping fixes minimal and focused
Verify — Run gate check to ensure nothing broke. If no refactors are warranted (the diff is already minimal) and the no-op preconditions documented in ## When this is a no-op hold, the gate re-run is skipped — re-running an unchanged tree against a clean gate is wasted tokens. Consult the most recent /implement or /gate-check log for the active gate stamp. When that /gate-check run's receipt call printed reuse: on, precondition 2 of ## When this is a no-op holds only when bun run "${CLAUDE_PLUGIN_ROOT}/adapters/_shared/src/gate_reuse.ts" verdict "<root>" prints clean; otherwise the log read decides, as today.
Closing summary — dirty-tree advisory (STE-216) — At the end of every /simplify invocation (after Verify, before exit), capture git status --porcelain once. If the output is non-empty (any modified, added, deleted, or untracked file), emit two lines to stdout:
⚠ tree dirty: M <files> — run /pr or git commit to land the simplification
Capability: simplify_tree_dirty
Rendered: tree dirty after /simplify — modified files: <list>; run /pr or git commit to land the simplification
<files> and <list> are the per-file paths from git status --porcelain, comma-joined. The literal token tree dirty: is machine-greppable so the smoke driver and operator-side automation can detect the dirty case deterministically. The simplify_tree_dirty capability key is registered in the static plain-language map shared by /spec-write step 7 (single source of truth).
When the output is empty (clean tree — the no-op gate-skip path or the rare case where the operator committed concurrently), no advisory fires and no capability row emits. The two-line dirty-case output is opt-in by tree state.
The advisory is informational: /simplify continues to exit 0 in the dirty case. Auto-commit was considered as the symmetric fix to /implement Phase 4 and rejected per CLAUDE.md core principle "human approval before commit". Subsequent /pr / /gate-check / git commit are the operator's responsibility; the fix is purely a visibility increase. The advisory fires regardless of whether /simplify itself made the change (canonical case) or /simplify ran on a tree that was already dirty before the skill started — distinguishing source is non-essential, the actionable signal is the dirty tree at exit time.
If $ARGUMENTS specifies a focus area, prioritize that:
/simplify exits as a no-op without re-running gate checks when both preconditions hold:
/simplify entry, so there is nothing to simplify./gate-check returned clean — no failing gate to re-verify.Rationale: re-running an unchanged tree against an already-clean gate produces no signal change, so the gate re-run is skipped to save tokens. The skill emits a single line acknowledging the no-op (referencing this section by name — "per ## When this is a no-op, gate re-run is skipped") and exits. If either precondition fails — the tree has uncommitted changes, or the prior gate stamp is dirty (with the reuse knob on: or the verdict prints rerun) — the carve-out does NOT apply and the full Verify step (3 → 4) runs as normal.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nesquikm/dev-process-toolkit --plugin dev-process-toolkit29 skills in this plugin
/best-practicesManage the project best-practices manifest at `specs/best-practices.yaml`. Add, edit, delete, or list entries cataloguing house best-practices docs with scope globs and topics that feed guidance retrieval into planning and implementation./brainstormSocratic design session for greenfield features with open solution spaces. Clarifies goals one question at a time, proposes 2-3 approaches with tradeoffs, gets design approval, then feeds into /spec-write./debugStructured debugging protocol for failed gate checks, failing tests, unexpected behavior, or a reported bug. Use when /gate-check or /tdd fails and the cause is unclear, or when a reported bug (a symptom, a ticket, a bug FR) needs its cause found and a test that proves the fix. Phases: Root Cause → Pattern Analysis → Hypothesis Testing → Implementation./deliverFull delivery pipeline orchestrator — takes a feature request from idea through specs to shipped, merged milestones by chaining the toolkit's phase skills end-to-end./depsManage the sibling-package dependency manifest at `specs/deps.yaml`. Add, edit, delete, list, or sync entries that feed topic-aware retrieval into /brainstorm and /spec-write via the deps-researcher fork./deps-researchInternal research fork — invoked exclusively by /brainstorm and /spec-write via context:fork pairing with the deps-researcher subagent. Returns topic-aware sibling-package retrieval as a ≤25-line block. Do not invoke directly.Other plugins' skills for the same job