/common-skills:sportmonks-apifrom common-skills
Integrate Sportmonks Football API v3 into Kotlin Multiplatform projects. Use when building football/soccer features: live scores, fixture cards, match details, standings, team/player data. Covers API endpoints, auth, includes system, rate limits, response parsing, and KMP integration patterns (Ktor HttpClient, kotlinx.serialization DTOs, interface-based repository for future SDK migration, Koin DI, Compose UI data flow). Triggers: sportmonks, football API, fixture, livescore, match data, soccer API, sports data integration.
Ships in common-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
https://api.sportmonks.com/v3/football?api_token={TOKEN} query param&include=participants;scores;state;league (semicolon-separated, dot nesting)| Endpoint | Use Case |
|---|---|
GET /livescores/inplay | Currently live matches |
GET /livescores/latest | Recently updated (10s window, poll 5-8s) |
GET /fixtures/date/{YYYY-MM-DD} | Day's schedule |
GET /fixtures/{id} | Single match detail |
GET /fixtures/between/{start}/{end} | Date range |
Always use &include=participants;scores;state;league minimum for fixture cards.
Live badge states (show "LIVE"): state_id 2 (LIVE), 3 (HT), 5 (ET), 6 (PEN), 8 (BREAK)
Full state mapping in api-endpoints.md.
Scores come as array with description field. For current score:
scores.filter { it.description == "CURRENT" }
→ find participant == "home" → goals
→ find participant == "away" → goals
Interface-first design for future GTT SDK migration:
FixtureRepository (interface)
├── FixtureRepositoryImpl (Ktor → Sportmonks, current)
└── SdkFixtureRepositoryImpl (GTT SDK, future swap)
Migration = swap one Koin binding. Domain/UI layers untouched.
Full patterns with code: kmp-integration.md
Read the appropriate reference when implementing specific features.
ignoreUnknownKeys = true in Json config — API adds fields without noticeid — API returns partial data depending on planApplicationConfigurationDispatcherProvider.io for all network calls, never Dispatchers.IO directlyResult<T> via runCatching at repository layerWhat SKILL.md sets; muted values are Claude Code's defaults
20 skills in this plugin
/adb-installGradle build 完 Android 包之后,主动提出把 APK 推到 adb 连接的设备(真机或模拟器)并拉起。TRIGGER whenever the user asks to build/compile/package an Android app, runs assembleDebug/assembleRelease, 说 '打 android 包' / '编译 android' / 'build apk' / '跑到手机上' / '装到模拟器' / 'deploy 到设备', 或者任何基于 Gradle 的 Android 构建任务 —— 即使用户没明说 adb 或部署也要触发。构建成功后主动向用户确认是否部署;若用户一开始就说了 'build 完部署' 类指令则跳过询问直接部署。设备选择: 上下文里有最近一次用过的 serial 就复用, 单设备直接用, 多设备向用户确认。部署 = adb install -r + 用 monkey 拉起 launcher activity。/defuddleExtract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page. Do NOT use for URLs ending in .md — those are already markdown, use WebFetch directly./Other plugins' skills for the same job
npx claudepluginhub sampeng87/skills --plugin common-skills