vp-k/flutter-craft/flutter-brainstorming

Trust tier 3
  • community
Source check pending

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

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation using Clean Architecture principles.

Install

npx vskill@latest install vp-k/flutter-craft/flutter-brainstorming

SKILL.md

Brainstorming Flutter Features Into Designs

Overview

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."

The Process

Phase 1: Understanding the Idea

Check project context first:

bash
# 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:

  • Prefer multiple choice questions when possible
  • Only one question per message
  • Focus on understanding: purpose, constraints, success criteria

Key questions to explore:

  1. What user problem does this feature solve?
  2. What data does this feature need?
  3. What UI interactions are required?
  4. What state needs to be managed?
  5. Are there external dependencies (APIs, databases)?
Phase 2: Exploring Approaches

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:

dart
// 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.

Phase 3: Presenting the Design

Present the design in sections of 200-300 words:

  1. Feature Overview
  • Purpose and scope
  • User stories
  1. 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 ``

  1. Data Flow
  • API contracts (if applicable)
  • Local storage schema (if applicable)
  • State transitions
  1. UI/UX Design
  • Widget hierarchy
  • Navigation flow
  • Error states
  1. Testing Strategy (priority-based)
  • Priority 1: Repository, DataSource unit tests
  • Priority 2: State management (BLoC/Provider) unit tests
  • Priority 3: Widget tests (optional)
  • Priority 4: Golden tests (optional, visual regression)

Ask after each section: "Does this look right so far?"

After the Design

Documentation

Write the validated design to:

docs/plans/YYYY-MM-DD-<feature>-design.md

Design document template:

markdown
# <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:

bash
git add docs/plans/
git commit -m "docs: add <feature> design document"
Implementation (if continuing)

Ask: "Ready to create an implementation plan?"

If yes:

  • Use flutter-craft:flutter-planning to create detailed implementation plan
  • Use flutter-craft:flutter-worktrees if isolated workspace is needed

REQUIRED SUB-SKILL

After 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.

Key Principles

  • One question at a time - Don't overwhelm with multiple questions
  • Multiple choice preferred - Easier to answer than open-ended
  • Clean Architecture always - Domain → Data → Presentation layer order
  • YAGNI ruthlessly - Remove unnecessary features from all designs
  • Explore alternatives - Always propose 2-3 approaches before settling
  • Incremental validation - Present design in sections, validate each
  • Test priority - Repository/DataSource → State → Widget

Red Flags

Never skip brainstorming because:

  • "It's just a simple widget" → Widgets need architecture context
  • "I already know what to build" → User might have different expectations
  • "Time is short" → Poor design costs more time later
  • "It's obvious" → Assumptions cause bugs

Security

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

Quality evaluation

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

Source

Popularity

Repository stars
6
Repository forks
2
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Apr 2026, 6 months ago.

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/vp-k/flutter-craft/flutter-brainstorming/badge)](https://verified-skill.com/skills/vp-k/flutter-craft/flutter-brainstorming)

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