platform-sync
Skill by brim-borium
Guides an assistant through adding a method across the Dart, Android (Kotlin), iOS (Swift) and Web layers of the spotify_sdk packages. Aimed at developers who maintain that SDK.
Install platform-sync
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brim-borium/spotify_sdk /tmp/spotify_sdk && mkdir -p ~/.claude/skills && cp -r /tmp/spotify_sdk/.agents/skills/platform-sync ~/.claude/skills/platform-syncRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brim-borium/spotify_sdk /tmp/spotify_sdk && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/spotify_sdk/.agents/skills/platform-sync ~/.gemini/antigravity-cli/skills/platform-syncAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The platform-sync skill sets out a workflow for keeping method channels and event streams in step across Dart, Android (Kotlin), iOS (Swift) and Web. It names the files to change in the spotify_sdk packages, including the Dart API, the central channel constants, and the iOS, Android and web wrappers. It states that all APIs must be synchronized across these platforms.
The workflow has five steps. Developers declare the method name in MethodNames and mirror it in the Kotlin and Swift constants. They then invoke the channel in the Dart interface, implement the method case on iOS and the method branch on Android, and add the platform override in the web wrapper. The skill is aimed at developers working on the spotify_sdk code who want consistent changes across all four platforms.
Written from the project's SKILL.md and checked against it.
What it can do
- Constants declarationDeclare method names in MethodNames and mirror them in the Kotlin and Swift constants.
- Dart interfaceInvoke the channel method in the Dart API, logging and rethrowing exceptions.
- iOS Swift implementationAdd the method case in the Swift plugin and delegate to a domain handler.
- Android Kotlin implementationAdd the method branch in the Kotlin plugin and delegate to a domain handler.
- Web interop overrideAdd the platform override in the Dart web wrapper.
Try asking
- Add a new method to spotify_sdk and sync it across Dart, Android, iOS and Web.
- Show me which files to change to add a channel method in the spotify_sdk packages.
- Check that a Dart API method has matching constants on Android and iOS.
Good to know
- Describes a development workflow for the spotify_sdk packages, not a runtime tool.
- Reference paths point to specific files in the spotify_sdk repository.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/platform-sync/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md2 KB
Alternatives to platform-sync
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
platform-sync: common questions
What platforms does platform-sync cover?
The skill covers Dart, Android (Kotlin), iOS (Swift) and Web, as named in the source.
Where is the method name declared?
The source says to declare it in MethodNames inside platform_channels.dart and mirror it in SpotifySdkConstants.kt and SpotifySdkConstants.swift.
How are errors handled in the Dart layer?
The Dart interface catches the exception, logs it with _logException, and rethrows it.
How do I install platform-sync?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is platform-sync free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is platform-sync safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to platform-sync?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
