Skip to content
Back to skills

Fec Refactoring Catalog

ASecurity

已经有结构问题证据,需要在多种保持行为的重构手法之间比较前置条件、选择最小安全方案,或决定多个重构步骤的合理先后关系时。

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

Works with

  • api

Security analysis

A100/100

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

Scanned September 3, 2026

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

Installs 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 with every re-scan.

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

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-catalog
description: 已经有结构问题证据,需要在多种保持行为的重构手法之间比较前置条件、选择最小安全方案,或决定多个重构步骤的合理先后关系时。
---

# 重构目录选择

## 概览
把完整重构目录作为决策辅助,而不是自动套用的配方。只有当证据、前置条件和行为契约匹配时,才选择最小可验证的手法。

## 工作流
1. 在[重构目录索引](references/catalog-index.md)定位标准手法。
2. 若从坏味道或症状出发,使用[选择指南](references/selection-guide.md)比较成因和候选手法。
3. 若需要多个步骤,使用[组合指南](references/composition-guide.md)只安排当前代码真正需要的前置关系。
4. 确定手法后再按需加载对应 family 的详细资料。

## 选择规则
- 一个坏味道可能对应多个候选,先确认真实成因。
- 优先可回滚、局部、小范围的变换,而不是直接大改架构。
- 执行前检查公共 API、路由、状态所有权、异步/生命周期、持久化和 SSR 边界。
- 组合关系都是有条件的,不是强制流水线。

Files in this skill

  • SKILL.md1.1 KB
  • references/catalog-index.md10.5 KB
  • references/composition-guide.md2.3 KB
  • references/selection-guide.md2.9 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…