skills/flutter-cheat-sheet/SKILL.md
This post provides a handy collection of Flutter commands and scripts for web development, package creation, troubleshooting, testing, and more, streamlining your Flutter workflow.
npx skillsauth add envy-7z/mobile-agent-skillpack flutter-terminal-cheat-sheetInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
flutter run -d web --release --dart-define=FLUTTER_WEB_USE_SKIA=true
flutter run -d chrome --release --dart-define=FLUTTER_WEB_USE_EXPERIMENTAL_CANVAS_TEXT=true
flutter build web && rm -rf ./docs && mkdir ./docs && cp -a ./build/web/. ./docs/
cd ios && pod deintegrate && pod cache clean —all && pod install && cd ..
Sometimes with firebase you need to run:
pod update Firebase
flutter create -t plugin . && flutter create -i swift -a kotlin --androidx example
flutter packages pub run build_runner watch -—delete-conflicting-outputs
flutter packages pub run build_runner build -—delete-conflicting-outputs
flutter run —bug-report
flutter test --coverage && genhtml -o coverage coverage/lcov.info
flutter pub pub cache repair
find . -name "pubspec.yaml" -exec $SHELL -c '
echo "Done. Cleaning all projects."
for i in "$@" ; do
DIR=$(dirname "${i}")
echo "Cleaning ${DIR}..."
(cd "$DIR" && flutter clean >/dev/null 2>&1)
done
echo "DONE!"
' {} +
export 'unsupported.dart'
if (dart.library.html) 'web.dart'
if (dart.library.io) 'mobile.dart';
killall -9 dart
Add all the scripts to your pubspec.yaml with flutter_scripts.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
testing
Applies Kent Beck's Thinkies—pattern-based thinking habits that generate ideas. Use when stuck, exploring alternatives, or reframing decisions.