一键导入
refactor
Verify-refactor-verify loop for safe code style changes. Records baseline checksums, applies style-only transformations, then verifies identical output.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify-refactor-verify loop for safe code style changes. Records baseline checksums, applies style-only transformations, then verifies identical output.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Recover context after compression or a new session. Reads MEMORY.md, recent plans, session logs, and git state to reconstruct working context.
Recover context after compression or a new session. Reads MEMORY.md, recent plans, session logs, and git state to reconstruct working context.
Save a durable, project-specific lesson to MEMORY.md in a structured [LEARN] format.
Trace an ambiguous result or failure back to its most likely cause using competing hypotheses and evidence. Produces a diagnostic report rather than a code change by default.
Save a durable, project-specific lesson to MEMORY.md in a structured [LEARN] format.
Trace an ambiguous result or failure back to its most likely cause using competing hypotheses and evidence. Produces a diagnostic report rather than a code change by default.
| name | refactor |
| description | Verify-refactor-verify loop for safe code style changes. Records baseline checksums, applies style-only transformations, then verifies identical output. |
| disable-model-invocation | true |
| argument-hint | [file or directory] |
| allowed-tools | ["Bash","Read","Grep","Glob","Write","Edit","Task"] |
Use the canonical shared protocol in protocols/skills/refactor.md.
protocols/skills/refactor.md.$ARGUMENTS.