这是什么
Google 官方 Android Skill,用于诊断 Compose 的性能问题,例如过度重组和掉帧。
Diagnose and optimize Android Jetpack Compose UI code. Use this skill when analyzing performance bottlenecks of existing code to minimize recomposition overhead and prevent dropped frames and UI lag.
实测结果
该 Skill 尚未实测,目前只完成了下面的静态体检。 申请实测
静态体检
检查器 1.0.0,提交 6daa53e:15 项通过、1 项警告、0 项失败、5 项提示。结果最近一次变化于 2026-10-29。
| 检查项 | 结果 | 详情 |
|---|---|---|
body.tokensApproxSKILL.md 正文的近似 token 数;超过 5000 给出警告。 | 警告 | large body; consider moving detail into referenced files |
frontmatter.unknownKeys文档未定义的 frontmatter 字段(仅提示)。 | 提示 | none |
files.inventorySkill 目录中的文件数与总大小(仅提示)。 | 提示 | 10 files, 152836 bytes |
scripts.present附带的、Agent 可能执行的脚本(仅提示)。 | 提示 | no scripts |
scripts.network会访问网络的脚本(仅提示)。 | 提示 | no network calls found |
pinned.drift钉定版本之后上游是否改动了该 Skill(仅提示)。 | 提示 | unchanged since the pinned commit |
skillmd.presentSkill 根目录存在 SKILL.md。 | 通过 | SKILL.md found |
frontmatter.parseSKILL.md 以可解析的 YAML frontmatter 开头。 | 通过 | frontmatter parsed |
frontmatter.namename 存在,不超过 64 个字符,只含小写字母、数字和连字符。 | 通过 | valid name |
frontmatter.nameMatchesDirname 与 SKILL.md 所在目录名一致。 | 通过 | name matches its directory |
frontmatter.descriptiondescription 存在且不超过 1024 个字符;少于 50 个字符给出警告。 | 通过 | 199 characters |
frontmatter.descriptionTriggerdescription 说明了何时使用(如 "use when…"、"当用户…")。 | 通过 | states when to use the skill |
frontmatter.descriptionVoicedescription 使用第三人称,且不含 XML 标签。 | 通过 | third person, no XML |
body.linesSKILL.md 正文行数;超过 500 行给出警告。 | 通过 | 161 lines |
refs.brokenLinksSKILL.md 中的相对链接指向存在的文件。 | 通过 | all relative links resolve |
files.binary没有打包可执行文件或压缩包(.exe、.zip、.jar 等)。 | 通过 | no executables or archives |
scripts.destructive含 rm -rf、sudo、chmod 777 等破坏性命令的脚本。 | 通过 | none found |
secrets.scan没有疑似私钥或 API token 的字符串。 | 通过 | none found |
instructions.risk没有要求覆盖先前指令、外传密钥或绕过安全控制的指令。 | 通过 | none found |
license.detected在 frontmatter、Skill 目录或仓库中声明了许可证。 | 通过 | declared in frontmatter |
repo.activitySkill 路径在检查前 365 天内有更新,且仓库未归档。 | 通过 | last changed 5 days before the check |
这份报告的局限
- 结果只对应该 Skill 的一个提交版本,之后的版本可能表现不同。
- 静态体检只读取文件,不能说明 Skill 能否在任务上带来帮助。
- 发布前未征求作者意见,欢迎指正。 报告错误
常见问题
- SkillFlux 的数据如何评价 Jetpack Compose 性能?
- 截至 2026-10-29,SkillFlux 对Jetpack Compose 性能(提交 6daa53e)的 21 项静态体检结果为 15 项通过、1 项警告、0 项失败、5 项仅作提示;该 Skill 尚未进行实测对照。
- Jetpack Compose 性能 做过实测吗?
- 还没有,目前只做了静态体检。可以在提交页通过邮件申请实测。
- Jetpack Compose 性能 使用什么许可证?
- 在提交 6daa53e 中检测到的许可证是 Apache-2.0,以仓库中的原文为准。
如何引用
SkillFlux(2026-10-29)。《Jetpack Compose 性能 体检报告》,提交 6daa53e,检查器 1.0.0。https://skillflux.app/skills/android-skills-jetpack-compose-performance/
BibTeX
@misc{skillflux_android_skills_jetpack_compose_performance_20261029,
author = {{SkillFlux}},
title = {Jetpack Compose performance health check (commit 6daa53e)},
year = {2026},
month = {10},
howpublished = {\url{https://skillflux.app/skills/android-skills-jetpack-compose-performance/}},
note = {Methodology v1. Data: https://skillflux.app/data/skills/android-skills-jetpack-compose-performance.json. Accessed 2026-10-29.},
}