Architecture guidance for Flutter apps using the flutter_it construction set (get_it, watch_it, command_it, listen_it). Covers Pragmatic Flutter Architecture (PFA) with Services/Managers/Views, feature-based project structure, manager pattern, proxy pattern with optimistic updates and override fields, DataRepository with reference counting, scoped services, widget granularity, testing, and best practices.
SkillScore40Maintained
Automatic
◆Frontend / UI pack
Last verified 7/27/2026
What it changes
Passed 10 of 25 test cases with the skill, and 3 of 25 without it.
Without skill12%
With skill40%
7 fixed3 passed either way15 still failing0 broke
Pass-rate lift
+28 pp
Tokens
+167%
Agent turns
0%
Response time
-42%
Model gemini-3.6-flashMeasured 7/27/2026v110 of 25 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
What's inside
The instructions your model reads when the skill loads.
Services: Wrap ONE external aspect (REST API, database, OS service, hardware). Convert data from/to external formats (JSON). Do NOT change app state.
Managers: Wrap semantically related business logic (UserManager, BookingManager). NOT ViewModels - don't map 1:1 to views. Provide Commands/ValueListenables for the UI. Use Services or other Managers.
Views: Full pages or high-level widgets. Self-responsible - know what data they need. Read data from Managers via ValueListenables. Modify data through Managers, never directly through Services.
Project Structure (by feature, NOT by layer)
lib/
_shared/ # Shared across features (prefix _ sorts to top)
services/ # Cross-feature services