spotify
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 4.1w
- Forks
- 3.6k
02 资源文件 3
- 参考文档references/agile-field-reference.md2.1 KB
- 参考文档references/sprint-operations.md1.9 KB
- 参考文档SKILL.generation-13.md1.1 KB
03 SKILL.md 正文
Spotify
When to use
Playing, pausing, skipping, identifying the current track, searching for music, and reading playlists.
Setup
Two paths:
- Local control (macOS, no setup). The Spotify desktop app must be
running, or say so:
osascript -e 'tell application "Spotify" to playpause' - Web API (search, playlists, other platforms). Requires an authorized Spotify
connection with suitable scopes; report missing access without asking the
user to paste a token into chat:
GET api.spotify.com/v1/search,/v1/me/playlists,/v1/playlists/{id}.
Workflow
- Prefer local control for transport (play/pause/next/previous/current track).
Use the requested
playorpauseverb;playpauseis a toggle and cannot safely be retried after an uncertain result. Verify player state afterward. - Use available Web API endpoints for search and playlist contents. Check current app-access restrictions; do not promise the restricted Recommendations API. Handle 403/429 responses without bypassing access or rate limits.
- Report artist, track, album, and playlist names verbatim.
Non-goals
- Do not change playlists (add/remove/reorder) unless asked.
- Do not download or rip audio.
- Do not handle the user's Spotify password.
Reference: Spotify API changes.
04 同仓库更多 Skills
gh-find-prs
Survey the open Codewhale PR and issue queue read-only: fetch each item, check it against current code, and produce one coverage and disposition matrix with cited evidence and credit owed.
gh-file-issue
Use when filing a new Codewhale GitHub issue: turn a bug or idea into a well-formed, actionable issue with repro, acceptance criteria, labels, and milestone.
gh-close-issues
Close resolved Codewhale issues only after verifying the landed behavior: Refs #N per landing, Fixes #N only when the reporter's scenario was reproduced, closure at the release step or on the reporter's confirmation, always with a crediting comment.
gh-assign-issues
Use to assign GitHub issues to a milestone and/or owners in bulk, verifying each.
feedback
暂无简介
cw-slice
Use before writing code for any Codewhale feature, upgrade, or refactor: find the existing owner of the behavior, bound the change to one reviewable slice, and fix the evidence bar before you start.