目录 / Refactoring Catalog
Refactoring Catalog
--- name: fec-refactoring-catalog description: Use when selecting or composing behavior-preserving refactoring techniques after structural evidence is known, especially when multiple candidate transformations, preconditions, or ordering choices must be compared. --- # Refactoring Catalog Selection ## Overview Use the complete catalog as a decision aid, not as a list of automatic recipes. Select the smallest technique whose preconditions fit the evidence and behavior contract. ## Workflow 1. Locate the standard technique in [the catalog index](references/catalog-index.md). 2. If starting from a smell or symptom, use [the selection guide](references/selection-guide.md) to compare causes and alternatives. 3. If several transformations are needed, use [the composition guide](references/composition-guide.md) to order only the prerequisites that fit the current code. 4. Load the referenced family detail only when the technique is selected. ## Selection Rules - A smell can have several valid candidates; determine the actual cause first. - Prefer reversible, local transformations over broad redesign. - Check public API, routing, state ownership, async/lifecycle, persistence, and SSR boundaries before execution. - Treat composition edges as conditional relationships, never mandatory pipelines. ## Quick Reference | Need | Reference | | --- | --- | | All 61 techniques | [Catalog index](references/catalog-index.md) | | Choose by symptom/cause | [Selection guide](references/selection-guide.md) | | Order related techniques | [Composition guide](references/composition-guide.md) |
存档时间线
| 版本 | 存档时间 | 内容哈希 | 内容 |
|---|---|---|---|
| v1 | 2026-09-27 23:54 | 194c71ba | 可取 |
版本索引永久保留;内容副本只保留最近 2 版,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。
提交举报 / 纠错
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。