π AppIQ Flutter Workflow v2.1.0
Professional Flutter development with AI-powered agent coordination, intelligent parallel execution, and independent agent mode.
π What's New in v2.1.0
π― Independent Agent Mode
- Direct Agent Access: Call any agent directly for specific tasks (
@ui-agent
,@cubit-agent
, etc.) - Smart Feature Detection: Agents automatically find related features to update
- Lightweight Tracking: Full progress tracking without workflow overhead
- Seamless Escalation: Automatic upgrade to full workflow when complexity requires it
π§ Intelligent Agent Coordination
- Advanced Parallel Execution: UI+Domain and Security+Test agents run simultaneously
- Dynamic Conflict Resolution: Automatic detection and resolution of agent conflicts
- Event-Driven Coordination: Real-time agent communication and handoff optimization
- Resource Load Balancing: Intelligent allocation of system resources
π‘οΈ Crash Recovery & State Management
- 100% Crash Recovery: Never lose progress due to IDE crashes or interruptions
- Automatic State Preservation: Continuous backup every 5 minutes with zero data loss
- Recovery Checkpoints: Manual and automatic checkpoint creation at critical phases
- State Validation: Comprehensive integrity checking and corruption detection
π Quick Start
Installation
npm install -g @appiq/flutter-workflow
Option 1: Independent Agent Usage (NEW!)
Work directly with any agent for specific tasks:
# UI improvements
@ui-agent "Make the login screen more modern and add dark mode support"
# State management updates
@cubit-agent "Add loading states and better error handling to the user profile"
# Domain logic enhancements
@domain-agent "Add validation rules for user registration"
Agent will automatically:
- π Find related features in your project
- π― Offer appropriate approach (standalone, feature update, or full workflow)
- π Track all work with complete history
- π Coordinate with other agents when needed
Option 2: Full Workflow Mode
For complete feature development:
# Initialize workflow system
npx @appiq/flutter-workflow install
# Create new feature
npx @appiq/flutter-workflow create-feature user-authentication
# Start feature development with FeatureMaster
@feature-manager "Start development for user-authentication feature"
π― Agent Capabilities
π Support This Project
If this workflow saves you time and helps you build better Flutter apps, consider supporting the development:
Your support helps maintain and improve this open-source project! π
π― Overview
AppIQ Flutter Workflow is a comprehensive, agent-based development system that automates Flutter feature development using specialized AI agents. Each agent handles a specific layer of Clean Architecture, ensuring consistent, high-quality, and maintainable Flutter applications.
π€ Agent Ecosystem
π Orchestrator (Conductor)
Master workflow controller and quality assurance manager
- Coordinates all specialized agents
- Manages feature lifecycle from conception to deployment
- Enforces quality gates and architectural compliance
- Provides comprehensive status tracking and reporting
π PO Agent (Phoenix)
Product Owner and requirements specialist
- Transforms business requirements into technical specifications
- Creates detailed task breakdowns across all architectural layers
- Manages stakeholder coordination and communication
- Validates feature readiness and business value
π¨ UI Agent (Maya)
Flutter UI/UX design specialist
- Material Design 3 implementation and theming
- Responsive design for all devices and screen sizes
- Accessibility compliance (WCAG 2.1 AA standards)
- Multi-language support and localization
- Performance-optimized widget architectures
π§ Cubit Agent (Alex)
State management and business logic specialist
- Cubit/BLoC pattern implementation and architecture
- Immutable state classes with comprehensive error handling
- Performance-optimized reactive programming
- Business logic coordination between UI and Domain layers
βοΈ Domain Agent (Jordan)
Clean Architecture domain layer architect
- Framework-independent business logic implementation
- Immutable business entities with comprehensive validation
- Single-responsibility use cases with proper error handling
- Repository interfaces for data access abstraction
ποΈ Data Agent (Sam)
Backend integration and data layer specialist
- Repository pattern implementation with error handling
- API integration with security, caching, and offline support
- Local storage optimization (Hive, SQLite, secure storage)
- MCP service integration (Firebase, Supabase, AWS, etc.)
π Security Agent (Cipher)
Security and compliance specialist
- COPPA compliance validation and implementation
- Data protection and encryption for sensitive information
- Secure authentication and authorization systems
- Privacy controls and regulatory compliance (GDPR, CCPA)
π§ͺ Test Agent (Trinity)
Testing and quality assurance specialist
- Testing Pyramid implementation (70% Unit, 20% Widget, 10% Integration)
- Comprehensive test coverage and quality assurance
- Performance testing and benchmark validation
- Security testing and accessibility compliance verification
π Installation
Prerequisites
- Node.js 14.0.0 or higher
- Flutter SDK (latest stable version)
- Your preferred IDE (Claude Desktop, Cursor, Windsurf, or Trae)
Install via NPX
# Navigate to your Flutter project directory
cd your-flutter-project
# Install AppIQ Flutter Workflow
npx @appiq/flutter-workflow install
Or install globally
# Install globally for easier access
npm install -g @appiq/flutter-workflow
# Then use anywhere
appiq-workflow install
Interactive Installation
The installer will guide you through:
- IDE Selection: Choose your development environment(s)
- Agent Installation: Automatically installs all 8 specialized agents
- Project Setup: Creates feature management structure
- Documentation: Sets up feature tracking and history system
π Project Structure
After installation, your project will have:
your-flutter-project/
βββ .claude/agents/ # Claude Desktop agents
βββ .cursor/rules/ # Cursor IDE agents
βββ .windsurf/rules/ # Windsurf IDE agents
βββ .trae/rules/ # Trae IDE agents
βββ docs/
β βββ features/ # Feature documentation and tracking
β βββ feature-name.md # Feature status and requirements
β βββ feature-name_history.md # Complete development history
βββ lib/
β βββ features/ # Feature-based development structure
β β βββ feature-name/
β β βββ data/ # Data layer (repositories, datasources, models)
β β βββ domain/ # Domain layer (entities, usecases, repositories)
β β βββ presentation/ # Presentation layer (pages, widgets, cubit)
β βββ shared/ # Shared components and utilities
β βββ core/ # Core application infrastructure
βββ test/ # Comprehensive testing structure
βββ unit/ # Unit tests (70%)
βββ widget/ # Widget tests (20%)
βββ integration/ # Integration tests (10%)
π Workflow Process
1. Feature Creation
# Create a new feature
npx @appiq/flutter-workflow create-feature livestream
# Or manually create in docs/features/livestream.md
2. Agent Workflow Chain
PO Agent β UI Agent β Cubit Agent β Domain Agent β Data Agent β Security Agent β Test Agent
3. Status Tracking
Each agent updates the feature status:
---
name: Livestream
ui: done
domain: in_progress
data: open
security: open
test: open
status: in_progress
---
4. Quality Gates
- Architecture Compliance: Clean Architecture principles enforced
- Code Quality: DRY, SOLID, clean code standards
- Test Coverage: Minimum 90% coverage requirement
- Security Compliance: COPPA and privacy standards
- Performance: Optimization and benchmark validation
π― Feature Development Example
Creating a Livestream Feature
- Create Feature Documentation: ```markdown
name: Livestream ui: open domain: open data: open security: open test: open
status: open
Livestream Feature
I want a livestream function like TikTok where users can:
- Swipe up/down to navigate between streams
- Comment via bottom sheet
- Like with animation and counter
Bookmark streams for later viewing ```
Start Orchestrator: Load the Orchestrator agent in your IDE
- Begin Workflow: The Orchestrator coordinates all agents automatically
- Monitor Progress: Track status in feature documentation
- Quality Validation: All agents enforce quality gates
- Deployment Ready: Complete feature with comprehensive testing
π Commands
CLI Commands
# Install workflow system
npx @appiq/flutter-workflow install
# Check installation status
npx @appiq/flutter-workflow status
# Create new feature
npx @appiq/flutter-workflow create-feature <feature-name>
# Show help
npx @appiq/flutter-workflow --help
Agent Commands (in IDE)
All agents support commands with *
prefix:
*help # Show available commands
*start-feature # Begin feature development (Orchestrator)
*analyze-feature # Analyze requirements (PO Agent)
*design-ui # Create UI implementation (UI Agent)
*implement-cubit # Add state management (Cubit Agent)
*create-entities # Build domain layer (Domain Agent)
*setup-api # Implement data layer (Data Agent)
*validate-security # Add security measures (Security Agent)
*run-tests # Execute test suite (Test Agent)
π Architecture Principles
Clean Architecture Layers
- Presentation Layer: UI, widgets, state management
- Domain Layer: Business logic, entities, use cases
- Data Layer: Repositories, data sources, external APIs
Quality Standards
- DRY: No code duplication, reusable components
- Readable: Self-documenting code and clear structure
- Maintainable: Modular architecture and proper separation
- Performant: Optimized for mobile constraints
- Testable: Comprehensive testing coverage
Development Patterns
- Feature-Driven: Organized by business features
- Immutable State: All state objects are immutable
- Dependency Injection: Proper DI for testability
- Error Handling: Comprehensive error management
- Localization: Multi-language support by default
π Security & Compliance
COPPA Compliance
- Age-appropriate design patterns
- Parental consent mechanisms
- Minimal data collection for minors
- Secure data storage and transmission
Data Protection
- Encryption at rest and in transit
- Secure authentication and authorization
- Privacy controls and user consent
- GDPR and CCPA compliance
Security Best Practices
- Input validation and sanitization
- Secure API communication
- Vulnerability scanning and testing
- Regular security audits
π Testing Strategy
Testing Pyramid (70/20/10)
- 70% Unit Tests: Business logic and domain layer
- 20% Widget Tests: UI interactions and components
- 10% Integration Tests: Complete user flows
Quality Requirements
- Minimum 90% test coverage
- All tests passing before deployment
- Performance benchmarks met
- Security tests validated
- Accessibility compliance verified
π€ MCP Integrations
The workflow supports various MCP (Model Context Protocol) services:
- Fetcher MCP: Advanced data fetching and caching
- Sequential Thinking MCP: Complex workflow analysis
- Memory MCP: Context preservation across agents
- Context7 MCP: Enhanced code analysis
- Supabase MCP: Backend as a Service
- Firebase MCP: Google Firebase services
- Puppeteer MCP: Automated testing and screenshots
π Documentation
Automatic Documentation
- Feature development history tracking
- Architectural decision records
- Quality gate compliance reports
- Test coverage and performance metrics
Generated Files
docs/features/feature-name.md
: Status and requirementsdocs/features/feature-name_history.md
: Complete development history- Test reports and coverage analysis
- Security audit and compliance reports
π§ Configuration
Environment Variables
APPIQ_WORKFLOW_MODE=production # Development mode
APPIQ_TEST_COVERAGE_MIN=90 # Minimum test coverage
APPIQ_COPPA_COMPLIANCE=true # COPPA compliance enforcement
APPIQ_SECURITY_SCAN=true # Security scanning enabled
IDE Configuration
Each IDE receives optimized agent configurations:
- Claude Desktop: Advanced AI coding assistance
- Cursor: AI-first development environment
- Windsurf: Collaborative AI coding
- Trae: Enhanced development workflow
π¦ Status Indicators
Feature Status Levels
- open: Ready for development planning
- in_progress: Active development in progress
- done: Completed and deployment-ready
Agent Status Tracking
- pending: Not yet started
- in_progress: Currently working
- done: Completed successfully
Quality Gate Status
- architecture_compliance: Clean Architecture verified
- code_quality: Quality standards met
- test_coverage: Coverage requirements achieved
- security_compliance: Security standards verified
- performance_validated: Performance benchmarks met
π€ FAQ
Q: Can I use this with existing Flutter projects? A: Yes! The workflow integrates with existing projects and follows established patterns.
Q: Do I need all agents for small features? A: The Orchestrator will activate only necessary agents based on feature requirements.
Q: How does COPPA compliance work? A: The Security Agent automatically validates and implements COPPA requirements for child-facing features.
Q: Can I customize the workflow? A: Yes, agents can be customized and workflow patterns can be adapted to your team's needs.
Q: What happens if an agent fails? A: The Orchestrator provides failure recovery, rollback capabilities, and detailed error reporting.
π Support This Project
If AppIQ Flutter Workflow helps you build better Flutter apps faster, consider supporting its development:
Your support helps:
- π Maintain and improve the workflow system
- π€ Add new agent capabilities and integrations
- π Create better documentation and tutorials
- π οΈ Provide community support and bug fixes
π License
MIT License - see LICENSE file for details.
Copyright (c) 2024 AppIQ Solutions
π€ Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
π Support & Community
- Issues: Report bugs and request features
- Documentation: Comprehensive guides and examples
- Community: Join discussions and get support
- NPM Package: npmjs.com/@appiq/flutter-workflow
π’ About AppIQ Solutions
AppIQ Solutions specializes in professional Flutter development workflows and AI-powered development tools. We create solutions that help developers build better apps faster.
- Website: appiq-solutions.com
π Acknowledgments
- Flutter team for the amazing framework
- Clean Architecture principles by Robert C. Martin
- Material Design team at Google
- Open source Flutter community
- All contributors and supporters
Built with β€οΈ by AppIQ Solutions
Transform your Flutter development with AI-powered workflow automation