Agent skill

Puremusic

by qingyueyin in qingyueyin/Pure-music

Pure-music 项目开发指南,覆盖 Windows Flutter/Dart 前端、Rust 后端、音频播放、歌词解析与渲染、桌面歌词、主题背景、设置、FFI、文档和测试。处理此仓库的代码理解、问题诊断、功能开发、缺陷修复、性能优化或代码审查时使用。

GPL-3.0Auto-check passedMobile

Install Puremusic

skills CLI
$ npx skills add qingyueyin/Pure-music --skill puremusic -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install qingyueyin/Pure-music puremusic --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/qingyueyin/Pure-music.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/puremusic .claude/skills/puremusic && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
puremusic
GitHub stars
188
Token cost
~907 tokens
SKILL.md length
162 words
Files
3 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
GPL-3.0

At a glance

Pure-music 项目开发指南,覆盖 Windows Flutter/Dart 前端、Rust 后端、音频播放、歌词解析与渲染、桌面歌词、主题背景、设置、FFI、文档和测试。处理此仓库的代码理解、问题诊断、功能开发、缺陷修复、性能优化或代码审查时使用。

  • Works in 3 steps: 先读仓库根目录的 AGENTS.md,再检查 git status… → 先定位实际调用链和现有实现,再决定修改位置;代码与本 skill… → 控制修改范围,不顺手重构无关代码;不创建分支、不提交、不推送,除非用户在当前任务中…
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers 开始工作, 受保护功能, 代码导航 and 既有模式, plus 3 more sections
  • Calls git

What it does

Puremusic is an agent skill from qingyueyin/Pure-music. Pure-music 项目开发指南,覆盖 Windows Flutter/Dart 前端、Rust 后端、音频播放、歌词解析与渲染、桌面歌词、主题背景、设置、FFI、文档和测试。处理此仓库的代码理解、问题诊断、功能开发、缺陷修复、性能优化或代码审查时使用。

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/player-performance.md`).

It sits in Mobile, covering Cross-platform mobile apps. It works with Rust, Dart and Flutter. The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/puremusic”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 先读仓库根目录的 AGENTS.md,再检查 git status --short;把已有改动视为用户工作,不覆盖、不回退。
  2. 先定位实际调用链和现有实现,再决定修改位置;代码与本 skill 不一致时,以当前代码为准,并同步修正本 skill 中的过时信息。
  3. 控制修改范围,不顺手重构无关代码;不创建分支、不提交、不推送,除非用户在当前任务中明确要求。

What it can do on your machine

Read from SKILL.md and the folder at commit 0487df4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Puremusic loads about 907 tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 35 tokens; SKILL.md has 162 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~907
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from qingyueyin/Pure-music at commit 0487df4, republished under its GPL-3.0 licence (© qingyueyin). 162 words, ~907 tokens.

Download SKILL.mdSave it as .claude/skills/puremusic/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
puremusic
description
Pure-music 项目开发指南,覆盖 Windows Flutter/Dart 前端、Rust 后端、音频播放、歌词解析与渲染、桌面歌词、主题背景、设置、FFI、文档和测试。处理此仓库的代码理解、问题诊断、功能开发、缺陷修复、性能优化或代码审查时使用。

Pure-music 开发

开始工作

  1. 先读仓库根目录的 AGENTS.md,再检查 git status --short;把已有改动视为用户工作,不覆盖、不回退。
  2. 先定位实际调用链和现有实现,再决定修改位置;代码与本 skill 不一致时,以当前代码为准,并同步修正本 skill 中的过时信息。
  3. 控制修改范围,不顺手重构无关代码;不创建分支、不提交、不推送,除非用户在当前任务中明确要求。

受保护功能

修改下列功能前先明确告知用户将涉及哪些文件和行为:

  • 原文、翻译、注音的分组管理。
  • 音调调节。
  • 流光背景的音频律动模式。
  • 其他已经上线的特有功能;无法确定是否属于保护范围时,先询问用户。

告知后再编辑相关文件,不把相邻重构混入修改。

代码导航

  • 应用入口与路由:lib/main.dart、lib/entry.dart。
  • 全局设置与播放偏好:lib/core/settings.dart、lib/core/preference.dart。
  • 应用内快捷键与全局热键:lib/core/hotkeys.dart、lib/core/hotkey_binding.dart、lib/page/settings_page/hotkey_settings.dart;设置入口在「播放 → 应用内快捷键 / 全局热键」。
  • 主题与颜色:lib/core/theme.dart、lib/core/color_extraction.dart、lib/core/desktop_lyric_colors.dart;封面取色实现位于 rust/src/api/color_extraction.rs。
  • 歌词模型和解析:lib/lyric/;在线歌词获取与转换:lib/services/online_lyric/。
  • 播放页和歌词 UI:lib/page/now_playing_page/,组件集中在其 component/ 目录。
  • 播放、歌词和桌面歌词服务:lib/play_service/;底层播放封装:lib/native/bass/。
  • 详情页播放入口:lib/page/uni_detail_page.dart、lib/page/uni_page_components.dart;顺序播放使用 PlayAll,随机播放使用 ShufflePlay,当前只有专辑详情页启用 enablePlayAll。
  • 播放页控件和歌词来源:lib/page/now_playing_page/large_page.dart、small_page.dart、component/lyric_source_view.dart;常驻控件设置由 AppSettings.alwaysShowNowPlayingControls 管理。
  • 桌面歌词过渡与高亮:lib/play_service/lyric_service.dart、desktop_lyric_service.dart;显示组件的换行和逐词高亮在 pure-player-lyric 仓库维护。
  • 演出模式:lib/page/concert_page.dart;节目单持久化在 lib/services/concert_program_store.dart,Dart 调用封装在 lib/services/smart_sort_service.dart,核心编排算法在 rust/src/smart_sort/。
  • 单曲标签和歌词编辑:lib/page/audio_detail_page.dart;LRC 序列化在 lib/lyric/lrc_serializer.dart,实际标签读写通过 Rust tag API 完成。
  • 任务栏缩略图与封面预览:lib/play_service/taskbar_thumbnail_service.dart、windows/runner/taskbar_thumbnail.*。
  • Dart FFI 绑定:lib/native/rust/;Rust API:rust/src/api/。
  • Windows 平台代码:windows/;独立桌面歌词模块:desktop_lyric/。
  • 项目文档:page/docs/;测试:test/ 和 integration_test/。

涉及播放页样式、动画、播放进度、歌词跟随、频谱或动态背景时,编辑前完整阅读 播放页性能规则。

既有模式

  • 使用 AppSettings.instance 管理全局配置,使用 AppPreference.instance 管理播放偏好。
  • 播放页显示设置通过 AppSettings.rebuildNotifier 通知控件重建;新增设置要同时接入读取、保存和设置页入口。
  • 使用 ThemeProvider 下发主题;使用 LyricRenderConfig 和 LyricViewController 管理歌词视觉配置,不引入新的状态管理库。
  • 封面主色和调色板由 Rust 提取,Dart 侧的 ColorExtractionService 只缓存提取结果,不增加重复的 Dart 取色链路。
  • 使用 Symbols.xxx 图标;颜色透明度使用 Color.withValues(alpha:)。
  • 不在 build 中启动动画、读配置或触发其他副作用;异步回调更新界面前检查 mounted。
  • 把 lib/native/rust/ 和 rust/src/frb_generated.rs 中的绑定视为生成代码;修改 Rust API 后通过项目现有生成配置更新,不手工维护生成结果。
  • 桌面歌词只把歌词文件明确标出的长空白行视为过渡行;普通歌词行之间的时间间隔不自动生成插播空白。
  • 演出模式的编排顺序只替换当前播放队列,不修改来源歌单;调整参数时复用已缓存的音频分析结果。

播放页约束

  • 复用现有同步信号、共享帧驱动和缓存,不为单个视觉组件新增常驻高频订阅、短周期定时器或独立 Ticker。
  • 每帧路径不做 FFI、文件读取、图片解码、调色板提取、大集合分配或整页 setState。
  • 仅让可见且需要动画的页面、歌词行和背景执行逐帧工作;暂停、隐藏、切换模式和销毁时停止或解绑。
  • 为图片、Painter、Paragraph、滤镜、频谱和调色板缓存定义上限与清理时机;保留切歌过渡需要的新旧资源,过渡后释放旧资源。
  • 没有相同条件下的运行态数据时,只陈述静态检查结果,不宣称内存、CPU、GPU 或帧率已经达标。

修改与验证

  1. 复用仓库已有写法,注释只说明做了什么和为什么做,不写来源,不增加无意义的空行。
  2. 仅格式化本次修改的源文件;对改动范围执行静态分析,确保没有新增警告或错误。
  3. 除非用户明确要求,不主动运行完整构建或完整测试套件;未运行的验证项目如实说明,不把静态分析写成编译或性能结论。
  4. 完成后检查 git diff --check、相关 diff 和 git status --short,确认没有覆盖用户已有改动。
  5. 最终回复不超过 3 句,说明改了哪些文件、做了什么,以及实际执行的验证,不粘贴 diff。

发布文档

  • GitHub Release 正文按用户能理解的功能分组书写,优先说明可感知的变化和使用位置。
  • 拟定 Release 前,以最近一次由 Action 同步的版本提交为边界核对全部用户可见提交,不能只根据最近几条提交概括。
  • page/docs/guide/changelog.md、page/docs/public/latest-release.json 和版本同步文件由 GitHub Action 根据 Release 自动更新,不在常规功能提交中手工维护。

© qingyueyin, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .agents/skills/puremusic of qingyueyin/Pure-music.

  • SKILL.md
  • agents/openai.yaml
  • references/player-performance.md

Open the folder on GitHubat commit 0487df4

Compare with similar skills

Puremusic next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Puremusic compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Puremusic this skillqingyueyin/Pure-music188—~907Automated safety check: PassGPL-3.0
Core API Changelibnativeapi/nativeapi166—~2.5kAutomated safety check: PassMIT
Frb Upgrade Flutterfzyzcjy/flutter_rust_bridge5.4k—~1.7kAutomated safety check: PassMIT
Frb Lintfzyzcjy/flutter_rust_bridge5.4k—~152Automated safety check: PassMIT
Frb Fix Merge Conflictfzyzcjy/flutter_rust_bridge5.4k—~1.2kAutomated safety check: PassMIT
Engine Whats Newflutter/flutter180k—~978Automated safety check: PassBSD-3-Clause

Similar skills

  • Core API Change

    libnativeapi/nativeapi

    Carry a change to the C++ public API in core/ all the way downstream — design check, header edit, six platform implementations, C ABI + Rust/Dart/C/JS/Python regeneration, per-binding verification…

    166 GitHub stars~2.5k tokensUpdated today
    MobileAuto-check passed
  • Frb Upgrade Flutter

    fzyzcjy/flutter_rust_bridge

    Upgrade flutterrustbridge to a new Flutter stable release. An agent skill from fzyzcjy/flutter_rust_bridge.

    5.4k GitHub stars~1.7k tokensUpdated yesterday
    MobileAuto-check passed
  • Frb Lint

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when you need to run lint, format, or clippy checks in flutterrustbridge

    5.4k GitHub stars~152 tokensUpdated yesterday
    MobileAuto-check passed
  • Frb Fix Merge Conflict

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when resolving merge or rebase conflicts in flutterrustbridge, especially conflicts involving generated files after master/main changed independently from a PR branch.

    5.4k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    180k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed
  • Flutter Cherry Pick

    flutter/flutter

    How to land a formal cherry-pick of a merged PR for the flutter/flutter repo stable or beta channel.

    180k GitHub stars~1.8k tokensUpdated today
    MobileAuto-check passed

Works with

Categories

Questions about Puremusic

What does Puremusic do?

Pure-music 项目开发指南,覆盖 Windows Flutter/Dart 前端、Rust 后端、音频播放、歌词解析与渲染、桌面歌词、主题背景、设置、FFI、文档和测试。处理此仓库的代码理解、问题诊断、功能开发、缺陷修复、性能优化或代码审查时使用。. Puremusic is an agent skill from qingyueyin/Pure-music.

When should I use Puremusic?

Puremusic fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Puremusic in Claude Code?

Run `npx skills add qingyueyin/Pure-music --skill puremusic -a claude-code`. Or copy the skill folder (.agents/skills/puremusic in qingyueyin/Pure-music) into .claude/skills/puremusic in your project. Claude Code loads it when a task matches its description.

How do I install Puremusic in Codex?

Run `npx skills add qingyueyin/Pure-music --skill puremusic -a codex`. Or copy the skill folder (.agents/skills/puremusic in qingyueyin/Pure-music) into .agents/skills/puremusic in your project. Codex loads it when a task matches its description.

Can I use Puremusic in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add qingyueyin/Pure-music --skill puremusic -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/puremusic, .gemini/skills/puremusic, .github/skills/puremusic and .opencode/skills/puremusic in your project.

What does Puremusic need to run?

Going by SKILL.md and its folder, Puremusic needs the command-line tools its instructions call (git).

Does Puremusic access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Puremusic safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Puremusic use?

Puremusic is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Puremusic use?

About 907 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 649 tokens, read only when the agent opens those files.

What are the alternatives to Puremusic?

Skills that share tags, products or a category with Puremusic: Core API Change (libnativeapi/nativeapi, 166 stars), Frb Upgrade Flutter (fzyzcjy/flutter_rust_bridge, 5.4k stars), Frb Lint (fzyzcjy/flutter_rust_bridge, 5.4k stars) and Frb Fix Merge Conflict (fzyzcjy/flutter_rust_bridge, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Puremusic?

qingyueyin (a GitHub user) maintains it in qingyueyin/Pure-music, which has 188 GitHub stars. The repository was last updated on October 11, 2026.

Source: qingyueyin/Pure-music on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.