Agent skill
Flutter
Language: Dart
Install this agent skill to your Project
npx add-skill https://github.com/hivellm/rulebook/tree/main/templates/skills/frameworks/flutter
SKILL.md
Flutter Framework Rules
Language: Dart
Version: Flutter 3.10+
Setup
# pubspec.yaml
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
Quality Gates
dart format --set-exit-if-changed .
dart analyze --fatal-infos
flutter test
flutter build apk --release # Test build
Best Practices
✅ Use StatelessWidget when possible
✅ Implement proper state management (Provider, Riverpod, Bloc)
✅ Use const constructors
✅ Optimize widget rebuilds
✅ Test on multiple devices
❌ Don't use print() in production
❌ Don't skip null safety
❌ Don't ignore platform differences
Project Structure
lib/
├── main.dart
├── models/
├── screens/
├── widgets/
└── services/
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
DAG Workflow
Maintain a clean dependency graph (DAG) to prevent circular dependencies and ensure maintainable architecture.
Documentation Rules
All documentation in English. Root README concise, detailed docs in `/docs`.
Quality Enforcement
These rules are NON-NEGOTIABLE and MUST be followed without exception.
Rulebook Task Management
Spec-driven task management for features and breaking changes with OpenSpec-compatible format
Agent Automation
Mandatory workflow that AI agents MUST execute after EVERY implementation.
C
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Didn't find tool you were looking for?