一键导入
safe-refactor-checklist
Checklist for safe code refactoring without breaking changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Checklist for safe code refactoring without breaking changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when code changes require documentation updates. Ensures documentation stays synchronized with code, API, and feature changes. Detects doc drift and maintains consistency.
Use when working with GitHub issues, pull requests, releases, or repository operations. Provides systematic approach to GitHub API interactions via gh CLI.
Use when releasing a new version of the software. Automates version bumping, changelog updates, git tagging, and release creation. Supports both single and dual-repository release workflows.
Use when starting a new feature or project to systematically capture user requirements through Socratic questioning. Creates a requirements document that can be used for design and implementation planning.
Decompose complex tasks into GitHub sub-issues and coordinate workflow
Systematic approach to identifying, analyzing, and fixing bugs
| name | safe-refactor-checklist |
| description | Checklist for safe code refactoring without breaking changes |
| license | MIT |
// Before
function process(data) {
// validation logic
// processing logic
// formatting logic
}
// After
function process(data) {
validate(data);
const result = processData(data);
return formatResult(result);
}