flutter-patterns

from cleydson/flutter-claude-code

Claude Code Agents and Skills for Flutter - SDLC - Software Development Lifecycle. Based on the https://docs.flutter.dev

13 stars5 forksUpdated Nov 2, 2025
npx skills add https://github.com/cleydson/flutter-claude-code --skill flutter-patterns

SKILL.md

Flutter Patterns - Development Best Practices

Comprehensive Flutter development patterns skill covering widgets, testing, performance, security, and animations.

What's Included

This skill provides quick reference for Flutter best practices across five key areas:

Widget Patterns

  • StatefulWidget vs StatelessWidget usage
  • InheritedWidget for data propagation
  • Builder patterns and performance optimization
  • Key usage and widget identity

Testing Patterns

  • Unit testing patterns and best practices
  • Widget testing with finders and matchers
  • Integration testing setup
  • BLoC testing patterns
  • Mocking strategies with Mockito

Performance Patterns

  • Const constructors and immutability
  • Keys for widget identity
  • ListView.builder for efficient lists
  • RepaintBoundary for optimization
  • Animation optimization

Security Patterns

  • Secure storage implementation
  • API key and credential management
  • SSL pinning for network security
  • Authentication best practices
  • Data encryption patterns

Animation Patterns

  • AnimationController usage
  • Tween animations
  • Hero animations
  • Implicit vs Explicit animations
  • Custom animation curves

Installation

/plugin marketplace add /path/to/flutter-claude-code
/plugin install flutter-patterns@flutter-claude-code

Usage

Invoke the skill when you need quick reference to Flutter patterns:

/flutter-patterns

This loads all patterns into context for reference during development.

Example Use Cases

  • Quick lookup of widget best practices
  • Reference for test patterns when writing tests
  • Performance optimization checklist
  • Security implementation guidance
  • Animation implementation examples

Repository Stats

Stars13
Forks5