clean-code-and-refactoring
CommunityEnhance Flutter code quality.
AuthorAdhamHashim
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses common issues in Flutter development such as overly large widget files, duplicated UI components, and complex logic within single Cubits, leading to more maintainable and scalable codebases.
Core Features & Use Cases
- Widget Splitting: Breaks down large widgets into smaller, manageable files.
- Widget Deduplication: Identifies and consolidates repeated UI elements.
- Code Organization: Suggests sub-folder structures for complex screens and improves naming conventions.
- Use Case: When a screen's
buildmethod exceeds 50 lines or a specific card design is repeated across multiple views, this Skill helps refactor the code into reusable widgets and organized directories.
Quick Start
Apply the clean-code-and-refactoring skill to refactor the current screen's widgets into smaller, reusable components.
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: clean-code-and-refactoring Download link: https://github.com/AdhamHashim/Flutter_Base/archive/main.zip#clean-code-and-refactoring 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 223,000+ vetted skills library on demand.