How to add the Flutter App Architecture skill to Claude Code
- Install flutter-apply-architecture-best-practices for Claude Code. Open the Flutter project and identify the feature you want to add or refactor.
- Ask Claude Code to map the existing widget, app logic, and data boundaries before proposing a change. Point it to tests that should remain valid.
npx skills add https://github.com/flutter/agent-plugins --skill flutter-apply-architecture-best-practicesMove saved-item loading out of a screen widget
Give Claude Code a Flutter page that calls a service from its widget tree. Ask for a small refactor that puts fetching behind the existing repository pattern and gives the view a clear loading, empty, loaded, and error state.
Review the resulting widget and its tests. The loading and failure cases should be reproducible with a fake repository, even when the real service is unreachable.