ワンクリックで
refactor
Refactor existing code while preserving behavior, keeping changes scoped, and verifying with relevant tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Refactor existing code while preserving behavior, keeping changes scoped, and verifying with relevant tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Release a new version of the project.
Inspect git status, draft a commit message that matches the repo's style, and commit staged changes.
Ask focused clarifying questions to resolve ambiguous requirements before planning or implementing work.
Explain code, behavior, architecture, or diffs with concrete references to the relevant files.
Diagnose failing tests, determine whether code or tests are wrong, and make the smallest passing fix.
Review current code changes for bugs, regressions, test gaps, and project-guideline violations.
| name | refactor |
| description | Refactor existing code while preserving behavior, keeping changes scoped, and verifying with relevant tests. |
Refactor goal (optional): $ARGUMENTS
Clarify the target. Identify the specific code, behavior, or design issue the user wants improved. If the goal is broad, choose the smallest useful scope and state that assumption before editing.
Establish current behavior. Read the relevant code and tests before changing anything. Prefer existing abstractions and local patterns over new ones.
Plan a behavior-preserving change.
Edit surgically.
Verify behavior.
Report the result. Summarize what changed, why it remains behavior preserving, and which verification commands passed.