flutter-riverpod-change
Automates Flutter/Riverpod structural changes and ensures consistency in Genesix feature development.
Install
mkdir -p .claude/skills/flutter-riverpod-change && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15955" && unzip -o skill.zip -d .claude/skills/flutter-riverpod-change && rm skill.zipInstalls to .claude/skills/flutter-riverpod-change
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Guide Dart, Flutter, Riverpod, Forui, routing, model, serializer, and UI-state changes in Genesix. Use when touching lib/features, lib/shared, providers, widgets, routes, generated Dart annotations, or Flutter package APIs.Key capabilities
- →Read relevant local files and neighboring patterns
- →Check `pubspec.yaml` before using third-party package APIs
- →Identify when annotations require `dart run build_runner build -d`
- →Keep feature code under `lib/features/<feature>/...`
- →Keep shared code under `lib/shared/...`
- →Reuse Riverpod and UI patterns already present in the feature
How it works
This skill guides Flutter code changes by enforcing specific directory structures, reusing existing patterns, and ensuring proper build runner execution for annotations.
Inputs & outputs
When to use flutter-riverpod-change
- →Implement a new feature provider
- →Update UI state logic
- →Add new routing definitions
- →Refactor widgets using Forui
About this skill
Flutter Riverpod Change
Use this skill before changing Flutter application code.
Workflow
- Read relevant local files and neighboring patterns.
- Check
pubspec.yamlbefore using third-party package APIs. - Identify whether annotations require
dart run build_runner build -d. - Keep feature code under
lib/features/<feature>/...and shared code underlib/shared/.... - Reuse Riverpod and UI patterns already present in the feature.
- Keep widgets presentation-focused; move business decisions out of UI.
Rules
- Prefer
@riverpodgenerator patterns when they match the feature and installed version. - Do not introduce Hook-based or alternate state management unless already used or requested.
- Prefer Forui when it fits existing UI.
- Reuse shared widgets and utilities before creating new ones.
- Do not declare named nested functions; extract private methods, helpers, or widgets.
- Do not manually patch
*.g.dartor*.freezed.dart.
Validation
Run checks from AGENTS.md based on the changed surface. Use dart run build_runner build -d before dart analyze when generator annotations changed.
When not to use it
- →When introducing Hook-based or alternate state management unless already used or requested
- →When manually patching `*.g.dart` or `*.freezed.dart`
Limitations
- →It prefers `@riverpod` generator patterns
- →It prefers Forui when it fits existing UI
- →It does not declare named nested functions
How it compares
This skill ensures Flutter code modifications align with established Genesix patterns and Riverpod best practices, unlike unguided changes that might introduce inconsistencies or break generated files.
Compared to similar skills
flutter-riverpod-change side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| flutter-riverpod-change (this skill) | 0 | 3mo | No flags | Intermediate |
| flutter-development | 1,555 | 5mo | No flags | Intermediate |
| flutter-expert | 73 | 4mo | No flags | Advanced |
| flutter | 13 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
flutter-expert
sickn33
Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or cross-platform features.
flutter
alinaqi
Flutter development with Riverpod state management, Freezed, go_router, and mocktail testing
mobile-developer
sickn33
Develop React Native, Flutter, or native mobile apps with modern architecture patterns. Masters cross-platform development, native integrations, offline sync, and app store optimization. Use PROACTIVELY for mobile features, cross-platform code, or app optimization.
stac-quickstart
StacDev
Help initialize and validate a Stac-enabled Flutter project and ship a first server-driven screen. Use when users ask to set up Stac CLI, run stac init/build/deploy, verify project prerequisites, or troubleshoot first-run setup and missing configuration files.
webf-api-compatibility
openwebf
Check Web API and CSS feature compatibility in WebF - determine what JavaScript APIs, DOM methods, CSS properties, and layout modes are supported. Use when planning features, debugging why APIs don't work, or finding alternatives for unsupported features like IndexedDB, WebGL, float layout, or CSS Grid.