elmm-programing/opencode/flutter-expert

Claude Code and agent skill by elmm-programing/opencode

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when working on Flutter/Dart projects. Covers widget composition, state management (BLoC, Riverpod, Provider), navigation (GoRouter), platform channels, testing, and performance optimization. Triggers on .dart files, pubspec.yaml, flutter commands.

Install

npx vskill@latest install elmm-programing/opencode/flutter-expert

SKILL.md

The same SKILL.md was published earlier as elmm-programing/opencode/flutter-expert.

Flutter Expert Skill

Architecture

  • Use feature-first folder structure: lib/features/<name>/{data,domain,presentation}
  • Separate business logic from UI — widgets are configuration, not behavior
  • Composition over inheritance — build complex UIs by combining small focused widgets
  • Mark widgets as const to enable Flutter's identity optimization

State Management

  • Riverpod: preferred for new projects (type-safe, testable, no BuildContext dependency)
  • BLoC: for complex event-driven state with clear input/output contracts
  • Provider: for simple dependency injection and inherited state

Performance

  • Use ListView.builder and GridView.builder for dynamic lists — never ListView(children:)
  • Add RepaintBoundary around frequently updating widgets
  • Use Isolate.run for CPU work: JSON parsing, image processing, crypto
  • Cache network images with cached_network_image
  • Profile with Flutter DevTools: target 60fps, flag frames >16ms

Testing

  • Widget tests: testWidgets + WidgetTester for interaction testing
  • Unit tests: mockito with @GenerateMocks for service layer
  • Golden tests: golden_toolkit for screenshot regression
  • Integration: integration_test package on real devices
  • Always run flutter test and dart format . before committing

Navigation

  • Use go_router for declarative routing
  • Deep linking support by default
  • Guard routes with redirect logic, not widget-level checks

Platform Channels

  • Use dart:ffi + ffigen for C bindings when performance matters
  • Method channels for platform-specific features
  • Event channels for streaming data from native

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/elmm-programing/opencode/flutter-expert/badge)](https://verified-skill.com/skills/elmm-programing/opencode/flutter-expert)

Something wrong with this skill or its page? Tell us.