保持行为的前端重构主要涉及搬移特性类重构,已经选定或正在评估对应手法,需要查询该 family 的操作步骤、风险与 JavaScript/TypeScript/React/Vue 适配时。
Scanned 9/3/2026
Install to Claude Code
npx -y skills add bovinphang/frontend-craft --skill fec-refactoring-move-features --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Fec Refactoring Move Features?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/bovinphang-fec-refactoring-move-features)More formats (shields.io, HTML) on the badges page.
---
name: fec-refactoring-move-features
description: 保持行为的前端重构主要涉及搬移特性类重构,已经选定或正在评估对应手法,需要查询该 family 的操作步骤、风险与 JavaScript/TypeScript/React/Vue 适配时。
---
# 搬移特性类重构
## 概览
只有在证据和前置条件支持时才使用对应手法。一次只执行一个主要结构变换,并在完成后立即验证。
## 执行流程
1. 在[搬移特性类重构详细卡片](references/moving-refactorings.md)确认手法和前置条件。
2. 记录受影响行为与差异预算。
3. 只执行该手法最小可行的一步。
4. 在组合下一手法之前验证当前步骤。
5. 公共契约、生命周期、状态身份或实际范围超出预期时停止并重新评估。
## 快速索引
详细 Reference 包含本 family 的 9 个标准手法,每项均包括意图、信号、不适用条件、操作步骤、行为保持检查、相关坏味道、组合关系、JS/TS/React/Vue 注意事项、前端适配和原创示例。
## 常见错误
- 只根据手法名称套用,不核对前置条件。
- 一个 diff 同时混入多个结构目标。
- 把经典 class 形式机械套进现代 React/Vue。
- 相关行为没有覆盖时,仅凭“测试通过”就声称行为已得到证明。
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!