flutter-feature-analysis
Feature Analysis Skill
Analysis Framework
1. Discovery
grep -r "<similar_feature>" lib/features/ # Find patterns
grep "<package>" pubspec.yaml # Check dependencies
find lib -path "*/domain/models/*.dart" # Review models
2. Complexity Assessment
Simple:
- Single API call, straightforward UI, minimal state
- Example: Display static model details
- State Management: Simple solution (Cubit, ChangeNotifier, GetxController)
Complex:
- Multiple API calls, state orchestration, complex business rules
- Example: Multi-step flow
- State Management: Robust solution (Bloc with events, StateNotifier, complex GetX)
3. Technical Checklist
- API endpoint exists?
- DTO/Model mapping needed?
- Repository pattern required?
- State management approach? (Check existing patterns in project)
- UI components available in design system?
- Native platform features needed?
- Accessibility considerations?
- Performance implications?
4. Dependencies
- Check
pubspec.yamlfor existing vs new packages - Check native side:
plugin/ios/,plugin/android/
5. Output Format
# Feature Analysis: [Name]
## Feasibility: ✅ / ⚠️ / ❌
##State Management**: [Based on project patterns: Bloc/Provider/GetX/Riverpod]
**Rationale**: [Why this approach fits]
## Technical Requirements
- API: [endpoint]
- New Models: [list]
- UI Components: [available/needed]
- Native Features: [yes/no]
- State Management: [Match existing patternse/needed]
- Native Features: [yes/no]
## Dependencies
- Existing: [packages]
- New: [packages]
## Risks
1. [Risk]
2. [Risk]
## Estimated Effort
- Development: X hours
- Testing: Y hours
More from desquared/agents-rules-skills
shared-bug-investigation
Scientific method expert for systematic bug investigation and root cause analysis. Use when users report bugs, crashes, unexpected behavior, or debugging requests. Applies hypothesis-driven investigation, controlled experiments, and rigorous validation across any programming language or platform.
23android-performance-profiler
Identifies potential performance bottlenecks in Jetpack Compose code including expensive recompositions, unnecessary redraws, and memory issues. Use when code involves lists, animations, complex UI, or when the user asks about performance optimization.
19ios-swiftui-architecture-review
Analyze SwiftUI view hierarchies and suggest MVVM or other architectural improvements. Use when **reviewing existing SwiftUI code**, creating new SwiftUI components, analyzing view structure, or when the user asks about SwiftUI architecture patterns. Best for code review and refactoring guidance.
13android-compose-architecture-review
Analyze Jetpack Compose UI hierarchies and suggest MVVM/MVI or other architectural improvements. Use when reviewing existing Compose code, creating new Compose components, analyzing composable structure, or when the user asks about Compose architecture patterns. Best for code review and refactoring guidance.
13android-accessibility-validator
Checks and suggests accessibility improvements for Jetpack Compose and Android Views including TalkBack labels, dynamic text support, and color contrast. Use when creating or modifying UI components, screens, or when the user asks about accessibility.
12android-kotlin-api-design-reviewer
Review function and class interfaces for Kotlin Coding Conventions compliance. Use when creating public APIs, reusable components, library interfaces, or when the user asks for API design review or Kotlin naming conventions.
11