flutter-best-practices

Enforce Flutter and Dart code quality rules during development and review.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/silvio-l/copilot-skills --skill flutter-best-practices-silvio-l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-best-practices
Source: https://github.com/silvio-l/copilot-skills/tree/main/flutter-best-practices
Command: npx skills add https://github.com/silvio-l/copilot-skills --skill flutter-best-practices-silvio-l

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces consistent, production-grade Flutter and Dart code so teams avoid fragile, inconsistent UIs, performance regressions, accessibility gaps, and i18n omissions during development, review, and refactoring.

Core Features & Use Cases

  • Enforces reusable widget architecture and centralized UI tokens to prevent duplicated styling and inconsistent screens.
  • Validates gesture behavior, touch/mouse/keyboard parity, accessibility semantics, theming, Riverpod state patterns, and performance best practices for mobile apps.
  • Use Case: Run this guidance when authoring or reviewing widgets, screens, providers, repositories, or utilities to receive rule violations, remediation steps, and code design recommendations.

Quick Start

Review the changed Dart files and provide a prioritized list of rule violations with precise file locations and suggested code-level fixes to comply with flutter-best-practices.

Frequently Asked Questions about flutter-best-practices

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

FAQPage Schema
How do I enforce production-grade Flutter code quality during code reviews?

To enforce production-grade Flutter code quality, review changed Dart files to identify rule violations in widget architecture, theming, and state management, then apply suggested code-level fixes to ensure consistency and compliance across the codebase.

What are the best practices for Riverpod state management in Flutter?

Flutter Riverpod state management best practices involve validating provider patterns and repository structures during development and refactoring to prevent inconsistent app states and ensure maintainable data flow across mobile app screens.

How does Flutter handle accessibility and gesture compliance for mobile apps?

Flutter handles accessibility and gesture compliance by validating touch, mouse, and keyboard parity alongside semantic properties. Enforcing these rules during widget authoring prevents interaction gaps and ensures usable mobile interfaces.

How do I structure reusable Flutter widgets and centralized theming?

Structure reusable Flutter widgets and centralized theming by applying consistent UI tokens and architectural rules. This prevents duplicated styling and inconsistent screens by enforcing a centralized design system across all Dart utilities and widgets.

Can I use this approach to check i18n coverage and performance patterns in Dart?

Yes, you can check i18n coverage and performance patterns in Dart by reviewing code to detect missing internationalization omissions and performance regressions. It provides remediation steps to align with Flutter performance best practices.