원클릭으로
refactor
Safely refactor code with test coverage as a safety net. Use `--diff` to simplify just the current working diff before committing.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Safely refactor code with test coverage as a safety net. Use `--diff` to simplify just the current working diff before committing.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Set up dotclaude in any project. Deep-scans the codebase, interviews the user, installs only justified components, customized to the stack.
Rebuild working context fast after /clear or a fresh session — reads the handoff note and the branch's changes, then summarizes where work stands. Add `handoff` to write the note before stopping.
Keep CLAUDE.md current and lean — capture this session's durable learnings into it (default), or `audit` it for stale commands, drift, and bloat. Enforces the line budget either way.
Take a GitHub issue from number to tested fix — read the issue and comments, reproduce, locate the cause, fix with a regression test, and prep a PR that closes it.
Review code changes or a pull request. Delegates to specialist agents (code quality, security, performance, silent failures, test quality, docs) in parallel.
Scan changes, commit, push, and create a PR. With confirmation at each step
| name | refactor |
| description | Safely refactor code with test coverage as a safety net. Use `--diff` to simplify just the current working diff before committing. |
| argument-hint | [file, function, or pattern | --diff] |
| disable-model-invocation | true |
Refactor $ARGUMENTS safely. If $ARGUMENTS contains --diff, use Diff mode below instead.
--diff): simplify what you just wroteThe pre-commit polish pass. Target = the current working diff (git diff + git diff --cached; if clean, the last commit). Goal: make the diff smaller and clearer with identical behavior.