Skip to content
cccskills
FreePublished on GitHub

debug-app

调试、测试或验证 Only Player 应用功能、页面和代码改动时使用,支持调试指令和界面交互验证。

The English summary is being prepared. Showing the original description.

Kindness-Kismet/only_player471 stars(GitHub 471 + cccskills 0)

Run score Not tested

See how to install

Files included (12)

  • SKILL.md3.3 KB
  • guides/cloud.md1.4 KB
  • guides/favorites.md736 B
  • guides/media.md1.1 KB
  • guides/pages.md1.5 KB
  • guides/player.md6.0 KB
  • guides/playlists.md1.1 KB
  • guides/quick_settings.md4.7 KB
  • guides/runtime.md2.0 KB
  • guides/settings.md9.3 KB
  • scripts/debug-open-page.sh929 B
  • scripts/debug-screenshot.sh1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

使用原则

用户要求调试、测试或验证 Only Player 时,优先使用 debug 指令,不优先点 UI 坐标。

  • 默认触发功能:用 debug 指令。
  • 功能验证开始前,先用 page.open home 或目标页把应用拉到前台;page.open 会启动 MainActivity,设备查询、安装、唤醒这类前置步骤除外。
  • 明确要求 UI 验证、实际验证或模拟点击:先用 page.open 切页面,再检查资源 ID,最后模拟点击。
  • 观察或点击播放器控制按钮前,先用 settings.set player.controller_timeout 设为 custom_60。
  • 执行 media.open 或 cloud.media.open 前,先用 page.open home 把应用置前台,避免系统拦截后台启动播放器。
  • 指令返回 Bundle 中的 ok 必须为 true,否则按失败处理。
  • 只能选一个的设置项必须用 settings.set 写明确值,不用 settings.toggle 猜状态。

指引索引

只阅读当前任务需要的指引。文档链接相对于所在文件,命令在仓库根目录执行。

<skill_dir> 为本次调用的技能目录,使用 .codex/skills/debug-app 或 .claude/skills/debug-app。

任务指引
设备选择、唤醒、锁屏、调用格式、截图流程运行与截图
页面跳转页面指令
播放器控制、状态读取、播放标记、区间循环播放器指令
本地媒体列表、打开、移动、回收站、扫描媒体库指令
云服务器和云端媒体列表/打开云端指令
本地和云端快捷设置快捷设置指令
收藏夹准备、列表、移动、删除收藏夹指令
播放列表准备、列表、添加、删除,以及观看历史播放列表与观看历史指令
设置写入、切换、清理、重置动作设置指令

指令入口

Debug 包名固定为 one.only.player.debug;Activity 为 one.only.player.debug/one.only.player.MainActivity,命令 Provider 为 content://one.only.player.debug.commands。

页面切换优先用脚本,脚本会先 am start 拉起 MainActivity,再调用 page.open:

<skill_dir>/scripts/debug-open-page.sh -s <device_id> -p <page_id>

底层统一使用 debug-only ContentProvider.call():

adb shell content call \
  --uri content://one.only.player.debug.commands \
  --method <domain.action> \
  --arg <target> \
  --extra value:s:<value> \
  --extra enabled:b:true

新增指令必须使用 domain.action,禁止新增 domain + arg=action 形式。

维护规则

  • 本技能同时保存在 .codex/skills/debug-app/ 和 .claude/skills/debug-app/。修改任一端的正文、指引或脚本时,必须同步更新另一端,保持所有同名文件内容一致。
  • 调试指令入口、参数、返回值或说明发生变化时,更新本目录中的对应文档或脚本。
  • 指令表只放到 guides/*.md,SKILL.md 只保留入口、规则和索引;新增指令类别时更新本索引。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

commit

Free

按 Only Player 项目规范创建、修改和整理 Git 提交。创建提交、补充提交内容、修改提交信息或整理提交历史时使用。

The English summary is being prepared. Showing the original description.

Kindness-Kismet/only_player471Updated Oct 15, 2026

pr

Free

按 Only Player 分支与发布通道规范创建、说明和合并 Pull Request。用户说「开 PR」「提 PR」「创建 PR」「pull request」「晋升到 main」「合到正式版」时使用。

The English summary is being prepared. Showing the original description.

Kindness-Kismet/only_player471Updated Oct 15, 2026

更新 Only Player 版本号、整理更新日志并创建版本提交。用户说「更新版本号」「提高版本号」「版本号提升」或「version bump」时使用。

The English summary is being prepared. Showing the original description.

Kindness-Kismet/only_player471Updated Oct 15, 2026

See all skills by Kindness-Kismet

Report a problem with this skill