widget-refactor
CommunitySafe, scalable Flutter widget refactoring.
Authortoly1994328
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides developers to systematically refactor Flutter widgets and pages, ensuring improvements are made with proper structure and validation, reducing risk of regressions.
Core Features & Use Cases
- 提取独立 Widget 文件以提升重用性与可测试性
- 提取 Scope Widget 以实现局部重构和数据订阅
- 提取 Handler、Cubit、值对象、Extension 以分离关注点
- 逐步重构时的编译验证与风控
Quick Start
在需要对 Flutter UI 组件进行拆分重构时,按照指南创建新文件并逐步替换原实现,确保通过编译检查。
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: widget-refactor Download link: https://github.com/toly1994328/flash_im_by_ai/archive/main.zip#widget-refactor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.