/major-ai-skills:flutterfrom major-ai-skills
Build Flutter widget interfaces, organize state and async behavior, and prepare platform integrations and release builds.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Flutter paints UI with a widget tree compiled to native ARM/x64 (and web/desktop targets). Everything is a widget; rebuilds are cheap when state is localized. Agents prefer composition over deep inheritance, choose an explicit state approach (Riverpod/Bloc/Provider) and stick to it, and keep platform-specific code behind clean facades.
Dart app
-> Widget tree (build)
-> Element / RenderObject
-> Skia / Impeller
-> iOS / Android / Web / Desktop
build() pure - no side effects; trigger work from callbacks/initState/providers.const constructors where possible to cut rebuild cost.pubspec constraints.class ItemCount extends StatelessWidget {
const ItemCount({super.key, required this.qty});
final int qty;
@override
Widget build(BuildContext context) {
return Text('Qty: $qty');
}
}
class AddItemButton extends StatefulWidget {
const AddItemButton({super.key, required this.onAdd});
final Future<void> Function() onAdd;
@override
State<AddItemButton> createState() => _AddItemButtonState();
}
class _AddItemButtonState extends State<AddItemButton> {
bool _busy = false;
Future<void> _handle() async {
if (_busy) return;
setState(() => _busy = true);
try {
await widget.onAdd();
} finally {
if (mounted) setState(() => _busy = false);
}
}
@override
Widget build(BuildContext context) {
return ElevatedButton(
onPressed: _busy ? null : _handle,
child: Text(_busy ? 'Saving...' : 'Add'),
);
}
}
flutter doctor
flutter pub get
flutter run
flutter test
flutter build apk
flutter build ipa
| Pitfall | Why it hurts | Fix |
|---|---|---|
| setState after dispose | Crashes | Check mounted |
| Giant Build methods | Unmaintainable rebuilds | Extract widgets |
| Ignoring null-safety | Runtime surprises | Sound null safety |
| Unsigned release experiments | Store rejection | Proper signing configs |
@dart - language fundamentals when present@android-studio / @xcode-ios - native tooling underneath@firebase - common backend for Flutter appsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization.Other plugins' skills for the same job
/act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.