Skip to content
Back to skills

Fec Refactoring Data

ASecurity

保持行为的前端重构主要涉及数据重组类重构,已经选定或正在评估对应手法,需要查询该 family 的操作步骤、风险与 JavaScript/TypeScript/React/Vue 适配时。

  • 21 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
developmentjavascripttypescriptjavareactvuerefactoring

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add bovinphang/frontend-craft --skill fec-refactoring-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fec Refactoring Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fec Refactoring Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bovinphang-fec-refactoring-data/badge)](https://www.skillsdirectory.com/skills/bovinphang-fec-refactoring-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fec-refactoring-data
description: 保持行为的前端重构主要涉及数据重组类重构,已经选定或正在评估对应手法,需要查询该 family 的操作步骤、风险与 JavaScript/TypeScript/React/Vue 适配时。
---

# 数据重组类重构

## 概览
只有在证据和前置条件支持时才使用对应手法。一次只执行一个主要结构变换,并在完成后立即验证。

## 执行流程
1. 在[数据重组类重构详细卡片](references/data-refactorings.md)确认手法和前置条件。
2. 记录受影响行为与差异预算。
3. 只执行该手法最小可行的一步。
4. 在组合下一手法之前验证当前步骤。
5. 公共契约、生命周期、状态身份或实际范围超出预期时停止并重新评估。

## 快速索引
详细 Reference 包含本 family 的 5 个标准手法,每项均包括意图、信号、不适用条件、操作步骤、行为保持检查、相关坏味道、组合关系、JS/TS/React/Vue 注意事项、前端适配和原创示例。

## 常见错误
- 只根据手法名称套用,不核对前置条件。
- 一个 diff 同时混入多个结构目标。
- 把经典 class 形式机械套进现代 React/Vue。
- 相关行为没有覆盖时,仅凭“测试通过”就声称行为已得到证明。

Files in this skill

  • SKILL.md1.3 KB
  • references/data-refactorings.md11.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…