zakariaf/flutter-skills/app-startup-and-bootstrap
Enforces a fixed main() cold-launch order — crash-log sink + FlutterError.onError + PlatformDispatcher.onError installed BEFORE any code that can throw, settings/theme read before runApp so the first frame paints correct, real infra constructed in a composition-root bootstrap() and injected via ProviderScope overrideWithValue over throwing placeholder providers, non-blocking warm-up deferred to addPostFrameCallback, exactly two error handlers with NO runZonedGuarded, ProviderException unwrapped
Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills
Install
npx yarkr-cli add skill:zakariaf/flutter-skills/app-startup-and-bootstrapWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/app-startup-and-bootstrap
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/app-startup-and-bootstrapOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/app-startup-and-bootstrapWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.