odjaramillo/custom-rules/flutter

Claude Code and agent skill by odjaramillo/custom-rules

Trust tier 3
  • community
Source check pending

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

Flutter and Dart best practices for mobile development. Trigger: When building Flutter/Dart mobile applications.

Install

npx vskill@latest install odjaramillo/custom-rules/flutter

SKILL.md

The same SKILL.md was published earlier as odjaramillo/custom-rules/flutter.

Critical Patterns

Widget Structure (REQUIRED)
dart
// ✅ ALWAYS: Prefer StatelessWidget when possible
class UserCard extends StatelessWidget {
final User user;
const UserCard({super.key, required this.user});
@override
Widget build(BuildContext context) {
return Card(
child: ListTile(
title: Text(user.name),
subtitle: Text(user.email),
),
);
}
}
State Management (REQUIRED)
dart
// ✅ Use Riverpod for state management
final userProvider = FutureProvider<User>((ref) async {
return await api.getUser();
});
// In widget
Consumer(
builder: (context, ref, child) {
final userAsync = ref.watch(userProvider);
return userAsync.when(
data: (user) => Text(user.name),
loading: () => CircularProgressIndicator(),
error: (e, s) => Text('Error: $e'),
);
},
)
Null Safety (REQUIRED)
dart
// ✅ ALWAYS: Use null safety properly
String? nullableName;
String nonNullName = nullableName ?? 'Default';
// Use late for lazy initialization
late final UserService userService;

Decision Tree

Need simple UI? → StatelessWidget
Need local state? → StatefulWidget
Need shared state? → Provider/Riverpod
Need navigation? → GoRouter
Need forms? → Form + TextFormField

Commands

bash
flutter create myapp
flutter run
flutter build apk
flutter build ios
flutter test
flutter analyze

Security

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

Quality evaluation

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

Source

Popularity

7-day trend score
5

Not refreshed yet.

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/odjaramillo/custom-rules/flutter/badge)](https://verified-skill.com/skills/odjaramillo/custom-rules/flutter)

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