/flutter-craft:flutter-brainstormingfrom flutter-craft
Guides Flutter developers through brainstorming and designing features using Clean Architecture. Explores user intent, requirements, and architectural approaches before implementation.
Ships in flutter-craft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Help turn ideas into fully formed Flutter designs and specs through natural collaborative dialogue.
Start by understanding the current project context (pubspec.yaml, lib/ structure, existing features), then ask questions one at a time to refine the idea. Once you understand what you're building, present the design in small sections (200-300 words), checking after each section whether it looks right so far.
Announce at start: "I'm using the flutter-brainstorming skill to design this feature."
Check project context first:
# Check pubspec.yaml for dependencies
cat pubspec.yaml
# Check existing lib/ structure
ls -la lib/
# Check existing features
ls -la lib/features/ 2>/dev/null || echo "No features folder yet"
Ask questions one at a time:
Key questions to explore:
Propose 2-3 different approaches with trade-offs:
Example for state management:
Approach A: Riverpod + Freezed (Recommended for new projects)
- Pros: Compile-time safety, immutable states, no boilerplate with codegen
- Cons: Learning curve, requires build_runner
- Best for: Most Flutter projects
Approach B: BLoC Pattern
- Pros: Separation of concerns, testable, scalable
- Cons: More boilerplate
- Best for: Complex state, multiple streams, large teams
Approach C: Provider + ChangeNotifier
- Pros: Simple, familiar
- Cons: Less structured, harder to test
- Best for: Simple local state, small projects
Riverpod + Freezed Pattern Example:
// State with freezed (3.x: union classes must be sealed; use Dart 3
// switch patterns instead of the removed .when()/.map())
@freezed
sealed class AuthState with _$AuthState {
const factory AuthState.initial() = AuthInitial;
const factory AuthState.loading() = AuthLoading;
const factory AuthState.authenticated(User user) = AuthAuthenticated;
const factory AuthState.error(String message) = AuthError;
}
// Notifier with riverpod_generator
@riverpod
class Auth extends _$Auth {
@override
AuthState build() => const AuthState.initial();
Future<void> login(String email, String password) async {
state = const AuthState.loading();
try {
final user = await ref.read(authRepositoryProvider).login(email, password);
state = AuthState.authenticated(user);
} catch (e) {
state = AuthState.error(e.toString());
}
}
}
Lead with your recommendation and explain why.
Present the design in sections of 200-300 words:
Feature Overview
Clean Architecture Structure
lib/features/<feature_name>/
├── domain/
│ ├── entities/ # Business objects
│ ├── repositories/ # Repository interfaces
│ └── usecases/ # Business logic
├── data/
│ ├── models/ # DTOs (fromJson, toJson)
│ ├── datasources/ # Remote & Local data sources
│ └── repositories/ # Repository implementations
└── presentation/
├── bloc/ or provider/ # State management
├── widgets/ # Reusable UI components
└── screens/ # Full screen widgets
Data Flow
UI/UX Design
Testing Strategy (priority-based)
Ask after each section: "Does this look right so far?"
Write the validated design to:
docs/plans/YYYY-MM-DD-<feature>-design.md
Design document template:
# <Feature Name> Design
## Overview
[1-2 sentences describing the feature]
## User Stories
- As a user, I want to...
## Clean Architecture
### Domain Layer
- Entities: [list]
- UseCases: [list]
- Repository interfaces: [list]
### Data Layer
- Models: [list]
- DataSources: [list]
- Repository implementations: [list]
### Presentation Layer
- State Management: [BLoC/Provider/Riverpod]
- Screens: [list]
- Widgets: [list]
## Data Flow
[Diagram or description]
## API Contract
[If applicable]
## Testing Plan
- Unit tests: [list]
- Widget tests: [list]
- Integration tests: [if needed]
## Dependencies
[New packages needed in pubspec.yaml]
Commit the design document to git:
git add docs/plans/
git commit -m "docs: add <feature> design document"
Ask: "Ready to create an implementation plan?"
If yes:
flutter-craft:flutter-planning to create detailed implementation planflutter-craft:flutter-worktrees if isolated workspace is neededAfter completing brainstorming and documenting the design, you MUST invoke: → Skill tool: flutter-craft:flutter-planning
This is NOT optional. The workflow is incomplete without a detailed implementation plan.
Never skip brainstorming because:
What SKILL.md sets; muted values are Claude Code's defaults
flutter-craft@devncat is listed by vp-k/devncat — review the source before installing
npx claudepluginhub vp-k/devncat --plugin flutter-craft15 skills in this plugin
/flutter-debuggingUse when encountering any bug, test failure, or unexpected behavior in Flutter - requires systematic investigation before proposing fixes/flutter-executingUse when you have a written implementation plan to execute with review checkpoints/flutter-finishingUse when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of Flutter development work by presenting structured options/flutter-parallel-agentsUse when facing 2+ independent Flutter tasks that can be worked on without shared state or sequential dependencies/flutter-planningUse when you have a design or requirements for a multi-step Flutter feature, before touching code/flutter-project-initCreates a new Flutter project with Clean Architecture, domain pattern boilerplate, and production-ready setupOther plugins' skills for the same job