From Flutter Monaco
Maintains flutter_monaco's Dart-to-JavaScript bridge contract: commands, events, envelopes, platform adapters, and typed wrappers. Use when adding or modifying bridge protocol behavior inside the package.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flutter-monaco:maintain-flutter-monaco-bridgeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Preserve one cross-platform contract from the typed Dart API to real JavaScript bridge assets. Read the current command/event implementation, fixtures, fakes, and tests before editing. Use the read-only `bridge-contract-reviewer` agent for a second pass when available; this skill remains the canonical procedure.
Preserve one cross-platform contract from the typed Dart API to real JavaScript bridge assets. Read the current command/event implementation, fixtures, fakes, and tests before editing. Use the read-only bridge-contract-reviewer agent for a second pass when available; this skill remains the canonical procedure.
Read references/bridge-contract.md before changing code.
flutter_monaco package maintainers and contributors changing the package's internal bridge contract.MonacoProtocol, platform transport, bridge registration, Monaco API, response/event, Dart decoding.assets/monaco/bridge/*.js; do not embed it as Dart strings.MonacoProtocolError for contract violations.MonacoUnknownEvent.kMonacoProtocolVersion only for an incompatible wire contract. A new optional command/capability normally does not require a bump.At minimum run:
flutter test test/protocol test/assets/bridge_files_test.dart
node --test tool/bridge_tests/*_test.mjs
dart analyze
Add focused controller/document/diff/LSP tests for the changed API. Verify every registered bridge command has a contract fixture and every fixture has a registration. Report the complete request and response path, error behavior, reload/disposal behavior, and tests that execute the real JavaScript.
npx claudepluginhub omar-hanafy/flutter_monaco --plugin flutter-monacoIntegrates flutter_monaco 3.x into a Flutter app: editor lifecycle, documents, platform setup, focus, overlays, and disposal. Use when adding MonacoEditor or MonacoController.
Provides Flutter 3.44.0 compatibility references and migration guidance for Flutter and Dart codebases, covering platform embedding, tooling, widgets, and breaking changes.
Audits contract/schema boundaries across authoring, discovery, validation, and execute paths to detect split-brain bugs between listings and invoke paths, gateway divergence, and permissive placeholders.