flutter-widget

Enforce design system compliance and composition best practices in Flutter widgets.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/ElbertePlinio/dotfiles --skill flutter-widget-elberteplinio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-widget
Source: https://github.com/ElbertePlinio/dotfiles/tree/main/private_dot_factory/skills/flutter-widget
Command: npx skills add https://github.com/ElbertePlinio/dotfiles --skill flutter-widget-elberteplinio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the common issues of inconsistent Flutter UI, technical debt, and poor performance that occur when developers build widgets without following existing design systems and composition best practices.

Core Features & Use Cases

  • Enforces adherence to existing design system tokens for spacing, typography, and theme to maintain UI consistency.
  • Provides checklists for building small, composable, theme-aware widgets while avoiding unnecessary state and business logic in UI layers.
  • Covers rebuild optimization, accessibility, and proper handling of loading, empty, and error states for common UI scenarios.
  • Use Case: When building a new product listing screen, use this Skill to reuse existing design tokens, keep the widget composable, and implement required states without adding network logic to the UI component.

Quick Start

Use the flutter-widget skill to design and implement a new reusable product card widget that follows your app's existing design system and accessibility requirements.

Frequently Asked Questions about flutter-widget

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build consistent Flutter widgets that follow an existing design system?

To build consistent Flutter widgets, you must enforce adherence to existing design system tokens for spacing, typography, and theme. This approach ensures UI consistency and eliminates technical debt caused by deviating from established composition best practices.

Why does my Flutter app have poor UI performance and unnecessary widget rebuilds?

Poor Flutter UI performance often stems from violating composition best practices and improper state handling. Minimizing rebuild scope, separating UI logic from business logic, and building small composable widgets resolves these performance bottlenecks.

What is the best way to structure a new Flutter widget for accessibility and state management?

The best way to structure a Flutter widget is to separate UI logic from business and data logic while ensuring proper accessibility and state handling. Your widget must properly manage loading, empty, and error states without adding network logic to the UI component.

Can I use this approach to refactor existing Flutter UI code?

Yes, you can apply this approach to existing widget refactoring and UI code review. It enforces requirements for small composable widget structure, theme-aware implementation, and minimal rebuild scope to eliminate technical debt in current Flutter development tasks.

How do I implement a reusable product card widget in Flutter without adding network logic?

Implement a reusable product card by reusing existing design tokens and keeping the widget composable. Separate the UI logic from business and data logic to handle loading, empty, and error states without adding network logic to the UI component.