Platform Channel Synchronization (platform-sync)

SkillDev tools

Synchronize method channels and event streams across Dart, Android (Kotlin), iOS (Swift), and Web.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Platform Channel Synchronization (platform-sync) skill

What this skill tells your AI

The instructions your AI receives, as published by brim-borium/spotify_sdk in .agents/skills/platform-sync/SKILL.md and read by ahel’s review.

All APIs must be synchronized across Dart, Android, iOS, and Web.

Reference Map

  • Dart API: packages/spotify_sdk/lib/spotify_sdk.dart
  • Central Constants: packages/spotify_sdk_platform_interface/lib/platform_channels.dart
  • iOS Wrapper: packages/spotify_sdk_ios/ios/Classes/SwiftSpotifySdkPlugin.swift
  • Android Wrapper: packages/spotify_sdk_android/android/src/main/kotlin/de/minimalme/spotify_sdk/SpotifySdkPlugin.kt
  • Web Wrapper: packages/spotify_sdk_web/lib/spotify_sdk_web.dart

Synchronization Workflow

  1. Constants: Declare method name in MethodNames inside platform_channels.dart.
  2. Dart Interface: Invoke channel method in spotify_sdk.dart; catch, log via _logException, and rethrow.
  3. iOS Swift: Implement method case in SwiftSpotifySdkPlugin.swift.
  4. Android Kotlin: Implement method branch in SpotifySdkPlugin.kt.
  5. Web Interop: Implement platform override in spotify_sdk_web.dart.

Signals

GitHub stars
166
Forks
93
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
platform-sync
Source
github.com/brim-borium/spotify_sdk