跳转到主要内容

component-refactoring

星标152,900
分支18,042
更新时间2026年3月19日 14:59

Refactor high-complexity React components in Langflow frontend. Use when manual complexity assessment shows complexity > 50 or lineCount > 300, when the user asks for code splitting, hook extraction, or complexity reduction; avoid for simple/well-structured components, third-party wrappers, or when the user explicitly wants testing without refactoring.

· 实时索引

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。

下载 Zip
文件资源管理器2 个文件
SKILL.mdreadonly
namecomponent-refactoring
descriptionRefactor high-complexity React components in Langflow frontend. Use when manual complexity assessment shows complexity >...

component-refactoring

Refactor high-complexity React components in Langflow frontend. Use when manual complexity assessment shows complexity > 50 or lineCount > 300, when the user asks for code splitting, hook extraction, or complexity reduction; avoid for simple/well-structured components, third-party wrappers, or when the user explicitly wants testing without refactoring.

When to use

Use this skill when the user needs help with tasks related to component refactoring.

Guidelines

  • Follow repository conventions in langflow-ai/langflow
  • Prefer minimal, focused changes
  • Validate outputs before finishing