一键导入
refactor
Refactor code to improve readability, reduce duplication, and align with conventions — no behavior change
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refactor code to improve readability, reduce duplication, and align with conventions — no behavior change
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | refactor |
| description | Refactor code to improve readability, reduce duplication, and align with conventions — no behavior change |
| version | 2.0.0 |
| compat | claude-code, codex, cursor, openclaw |
Refactors existing code to improve readability, reduce duplication, and align with project conventions, without changing behavior.
.knowledge/conventions.md to understand project patternstsc --noEmit before and after to confirm no type regressions/lib/utils/any with explicit typesAtomic commits with message refactor: <concise description of the change>
Reset estratégico de un producto existente: diagnosticar, visionar, planificar, ejecutar
Formal epic closure ritual — security audit, CHANGELOG consolidation, tagging, merge
Format commit messages following Conventional Commits — works in terminal and IDE
Format and create commits following Conventional Commits with project-specific scopes
Universal workflow orchestrator — Pre-Flight checklist + 5 Gates for task lifecycle
Generate and update technical documentation — architecture, conventions, design decisions, changelogs