commit
Selectively stages and commits only the changes related to the current session, skipping unrelated modifications.
Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying with the repo's own checks after each group. Use only after the user has reviewed
$ npx -y skills add dcouple/Pane --skill refactor-apply --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/refactor-applyContext preview
The summary Claude sees to decide when to auto-load this skill.
Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying with the repo's own checks after each group. Use only after the user has reviewed
name: refactor-apply description: Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying with the repo's own checks after each group. Use only after the user has reviewed the plan and said to apply it. argument-hint: "<plan-path> [--auto-only]"
Turns a reviewed plan into edits. Never runs unasked; the plan it consumes was shown to the user first, by `refactor` or by the user invoking an analysis directly.
One plan file: an individual `./tmp/simple-refactor-plan-*.md` or `./tmp/deep-refactor-plan-*.md`, or the orchestrator's `./tmp/refactor-merged-*.md`. All three share the same shape - Critical / Warning / Info sections, each item with `file:line`, a fix, and an `Auto-fixable: Yes/No` flag.
Parse every item. Then find what "passing" means in this repository - its lint, typecheck, and test commands from `package.json`, `Makefile`, `CLAUDE.md` or `AGENTS.md`. Run them once before touching anything so a pre-existing failure is not mistaken for one you caused.
Apply every `Auto-fixable: Yes` item, grouped by file. Rules:
A refactor pass does not widen a PR's scope.
auto-fixable - move it to manual and say why.
introduced; revert an item you cannot make pass and report it.
`--auto-only` stops here with a summary.
For each `Auto-fixable: No` item, in plan priority order - Critical first: state the finding, the proposed change, and any judgment call it needs; wait for the user's answer; apply; run the checks. The user may skip any item; a skipped Critical is recorded, not argued.
Applied: X auto-fixable, Y manual (Z skipped by user) Checks: [each command] PASS/FAIL Reverted: [items that could not pass, with reason] Left for follow-up: [skipped or out-of-scope items]
Do not commit. The user (or `prepare-pr`) owns the commit, and the diff should be reviewable as its own step.
user's explicit yes and a test.
user asks for it by name.
Repo: dcouple/Pane
Selectively stages and commits only the changes related to the current session, skipping unrelated modifications.
Creates a reconciled implementation plan by combining a structured plan draft with a normalized intent brief and a PRP-style research dossier, then…
Have an interactive discussion about a topic, approach, or feature. Researches the codebase as needed, talks through options, and updates ./tmp/context.md with…
Executes an approved plan with one primary implementation stream by default, using bounded parallel sidecars only when the write scopes are truly disjoint.…
Investigates bugs through hypothesis-driven root cause analysis. Automatically invoked when the user reports a bug, error, broken behavior, or something not…
Commits changes grouped by done-plans, rebases main, runs build and quality gates, then creates or updates a PR. Replaces the commit command. Use when you're…