# Build Better Flutter Apps

Flutter projects can become difficult to structure, test, and optimize as features grow. This skill provides focused Dart guidance for maintainable widgets, state, navigation, and performance.

## Install

```bash
npx skillstore add jeffallan/flutter-expert
```

## Metadata

- Status: approved
- Slug: jeffallan-flutter-expert
- Version: 1.1.0
- Author version: 1.1.0
- Skillstore revision: r2
- Version status: valid
- Tree hash: d1c2d09b662ae204559e762c3bd540cca66ebd9a3fc70e45e9553883a4e4bdf6
- Author: jeffallan
- GitHub username: jeffallan
- License: MIT
- Repository: https://github.com/jeffallan/claude-skills/tree/main/skills/flutter-expert/
- Ref: 1c2ebded2116f8124f45dba86a2e567f56e64d8e
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 78
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/jeffallan-flutter-expert
- Manifest: https://skillstore.pages.dev/api/skills/jeffallan-flutter-expert/manifest

## Capabilities

- Design feature-based Flutter project structures with clear data, domain, and presentation layers.
- Create reusable, responsive, and const-optimized Flutter widgets.
- Implement Riverpod providers, notifiers, asynchronous state, and selective rebuilds.
- Implement Bloc and Cubit event-to-state flows with listeners and tests.
- Configure GoRouter routes, redirects, nested routes, shell routes, and parameters.
- Suggest Flutter testing and profiling workflows using Flutter tooling.

## Use Cases

- Plan a New Flutter Feature: Turn a feature request into folders, Dart classes, state boundaries, routes, and focused tests.
- Improve State Management: Choose Riverpod, Bloc, or Cubit and design predictable state transitions for screens and workflows.
- Fix UI Performance Issues: Review rebuild patterns, list rendering, const usage, and profiling steps for smoother Flutter interfaces.

## Prompt Templates

### Create a Flutter Widget

```
Create a Flutter widget for [feature]. Include accessible layout, const constructors where possible, and a short explanation of each public property.
```

### Add Riverpod State

```
Design Riverpod state for [feature]. Define the provider or notifier, loading and error states, widget usage, and focused tests.
```

### Configure Authenticated Routes

```
Create a GoRouter design for [routes] with an authentication redirect. Explain nested routes, parameters, and how unauthenticated users are handled.
```

### Diagnose Flutter Jank

```
Review this Flutter screen description: [description]. Identify likely rebuild or rendering costs, propose measurable fixes, and define tests or profiling checks.
```

## Limitations

- It provides guidance and code drafts, but it cannot run or verify your Flutter project.
- It does not replace platform-specific testing on physical iOS or Android devices.
- It does not guarantee dependency compatibility, production security, or release readiness.
- It does not provide backend services, app store submission, or infrastructure automation.

## Best Practices

- Describe the Flutter version, target platforms, packages, and current architecture before requesting changes.
- Ask for focused code, tests, and reasoning for one feature or performance issue at a time.
- Validate generated guidance with flutter analyze, flutter test, and device profiling in your project.

## Anti Patterns

- Do not use the skill as a substitute for running tests on every supported platform.
- Do not place all application state in one global provider or massive Bloc.
- Do not accept dependency, authentication, or performance advice without checking project context.

## Security Audit

- Audited at: 2026-08-07T09:37:13.065\+00:00
- Summary: All 53 static findings are false positives in Flutter documentation and code examples. The flagged key, state-expression, command, and URL patterns do not show credential access, unauthorized execution, exfiltration, or prompt injection.

## Stats

- Views: 172
- Downloads: 20
- Favorites: 2
- Popularity score: 0
