已经有结构问题证据,需要在多种保持行为的重构手法之间比较前置条件、选择最小安全方案,或决定多个重构步骤的合理先后关系时。
Scanned 9/3/2026
Install to Claude Code
npx -y skills add bovinphang/frontend-craft --skill fec-refactoring-catalog --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Fec Refactoring Catalog?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/bovinphang-fec-refactoring-catalog)More formats (shields.io, HTML) on the badges page.
---
name: fec-refactoring-catalog
description: 已经有结构问题证据,需要在多种保持行为的重构手法之间比较前置条件、选择最小安全方案,或决定多个重构步骤的合理先后关系时。
---
# 重构目录选择
## 概览
把完整重构目录作为决策辅助,而不是自动套用的配方。只有当证据、前置条件和行为契约匹配时,才选择最小可验证的手法。
## 工作流
1. 在[重构目录索引](references/catalog-index.md)定位标准手法。
2. 若从坏味道或症状出发,使用[选择指南](references/selection-guide.md)比较成因和候选手法。
3. 若需要多个步骤,使用[组合指南](references/composition-guide.md)只安排当前代码真正需要的前置关系。
4. 确定手法后再按需加载对应 family 的详细资料。
## 选择规则
- 一个坏味道可能对应多个候选,先确认真实成因。
- 优先可回滚、局部、小范围的变换,而不是直接大改架构。
- 执行前检查公共 API、路由、状态所有权、异步/生命周期、持久化和 SSR 边界。
- 组合关系都是有条件的,不是强制流水线。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!