<< All versions
Skill v1.0.0
currentLLM-judged scan90/100alizainx/intelligence-systems-skills/dart-isolates-aot
──Details
PublishedOctober 21, 2026 at 06:28 PM
Content Hashsha256:04dd4199f5ae8de2...
Git SHA5d098c90c1e6
──Files
Files (1 file, 1.4 KB)
SKILL.md1.4 KBactive
SKILL.md · 26 lines · 1.4 KB
version: "1.0.0" name: dart-isolates-aot id: ISS-020 token_budget: 700 chain_with: [typescript-sound-types, kotlin-coroutines-multiplatform, swift-6-actor-isolation] description: "Dart 3 sound null-safety, exhaustive sealed classes/patterns, Isolate.run zero-copy message passing, and AOT native compilation."
dart-isolates-aot (ISS-020)
1. First-Principles Invariant
- Bak/Larsen Isolate Share-Nothing Law: Execute CPU-intensive parsing, cryptography, and image processing inside
Isolate.run(() => ...)and transfer large payloads viaTransferableTypedData(O(1)move).
2. Fast-Pass Low-Token Protocol (Web & Coding Agents)
- Model domain states with
sealed classhierarchies and pattern-matching switch expressions (switch (event) { ... }) for compiler-verified exhaustiveness.
3. Zero-Bug & Zero-Vulnerability Guards
- Enable
strict-casts: true,strict-inference: true, andstrict-raw-types: trueinanalysis_options.yaml. - Cancel every
StreamSubscriptionand close everyStreamController/HttpClientindispose()orfinally. - Never use
unawaitedFutures without an explicit.onErrorhandler orCompletererror forwarding. - Avoid
dynamicandlatevariables unless initialized before first read by construction. - Use typed data views (
Uint8List,Float64List) for contiguous numerical and binary protocol buffers.
4. Verification Gate
dart analyze --fatal-infos --fatal-warnings && dart test