一键导入
refactor-behavior-preserving
Improve code structure in small, safe steps without changing behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Improve code structure in small, safe steps without changing behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review a specific GitHub pull request with gh — fetch the diff, fan out reviewers, consolidate, and optionally post the review. Requires the `gh` CLI or the GitHub MCP server.
Stage the right changes and write a clear, conventional commit message.
Systematically diagnose and fix a bug instead of guessing.
Add clear docstrings/comments and update docs for changed or unfamiliar code.
Map and explain an unfamiliar codebase or module to the user.
Add focused, meaningful tests for code — happy path plus the edge cases that matter.
| name | Refactor (behavior-preserving) |
| description | Improve code structure in small, safe steps without changing behavior. |
| triggers | ["refactor","clean up","simplify","restructure"] |
Use this to improve readability/structure without changing what the code does.