·component-refactoring
*

component-refactoring

first-fluke/fullstack-starter

重构高复杂性 React 组件。当复杂性指标较高或拆分整体 UI 时使用。

13安装·0热度·@first-fluke

安装

$npx skills add https://github.com/first-fluke/fullstack-starter --skill component-refactoring

SKILL.md

Refactor high-complexity React components with proven patterns and workflows.

Complexity Threshold: Components with cyclomatic complexity > 50 or line count > 300 should be candidates for refactoring.

Simplify Conditional Logic Goal: Reduce nesting and if/else checks implementation details.

重构高复杂性 React 组件。当复杂性指标较高或拆分整体 UI 时使用。 来源:first-fluke/fullstack-starter。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/first-fluke/fullstack-starter --skill component-refactoring
分类
*创意媒体
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 component-refactoring?

重构高复杂性 React 组件。当复杂性指标较高或拆分整体 UI 时使用。 来源:first-fluke/fullstack-starter。

如何安装 component-refactoring?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/first-fluke/fullstack-starter --skill component-refactoring 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/first-fluke/fullstack-starter