android-jetpack-compose-expert
在专家指导下构建 Android Compose UI
现代 Android 团队需要能够避免脆弱状态和导航模式的 Compose 指导。此技能为状态、导航、性能和 Material 3 提供实用模式。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "android-jetpack-compose-expert" from https://skillstore.io/skills/sickn33-android-jetpack-compose-expert.md and its manifest at https://skillstore.io/api/skills/sickn33-android-jetpack-compose-expert/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“android-jetpack-compose-expert”。 我需要一个包含加载、错误和已加载状态的个人资料屏幕。
预期结果:
- 一个推荐的 UI 状态模型,包含独立的加载、错误和数据字段。
- 一个从 ViewModel 读取状态的 screen composable。
- 一个接收状态和重试回调的 content composable。
正在使用“android-jetpack-compose-expert”。 当筛选器变化时,我的 Compose 列表重组过于频繁。
预期结果:
- 一份检查清单,用于检查不稳定参数、新对象创建和组合中的高成本工作。
- 建议对计算值使用 remembered derived state。
- 指导将排序和筛选移出 composable 主体。
正在使用“android-jetpack-compose-expert”。 我想用用户标识符实现从 Home 到 Profile 的类型安全导航。
预期结果:
- 针对 Home 和 Profile 目标的路由模型计划。
- 一个将用户标识符作为类型化路由数据传递的导航流程。
- 让导航保持在屏幕边界的屏幕职责说明。
安全审计
安全All 22 static findings are false positives caused by Markdown backticks or ordinary Android terminology. SKILL.md contains instructional Kotlin examples, with no executable shell commands, system reconnaissance, or prompt injection.
风险因素
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/sickn33-android-jetpack-compose-expert/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/sickn33-android-jetpack-compose-expert?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/sickn33-android-jetpack-compose-expert?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-android-jetpack-compose-expert/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/sickn33-android-jetpack-compose-expert.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
sickn33. (2026). android-jetpack-compose-expert security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-android-jetpack-compose-expert/audits/5BibTeX 引用
@techreport{sickn33-sickn33-android-jetpack-compose-expert-2026,
author = {sickn33},
title = {android-jetpack-compose-expert security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-android-jetpack-compose-expert/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "android-jetpack-compose-expert security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-android-jetpack-compose-expert/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-android-jetpack-compose-expert:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
规划新的 Compose 应用
使用 Compose、ViewModel、StateFlow 和 Material 3 为新的 Android 应用创建基础架构。
重构 UI 状态处理
将屏幕状态移入清晰的 ViewModel flows,并仅向子 composables 传递状态和回调。
提升 Compose 性能
查找重组风险、不稳定的 UI 模型,以及 composable 函数中的高成本工作。
试试这些提示
帮我为 [feature] 设计一个 Jetpack Compose 屏幕。包括 UI 状态、加载、错误和成功状态。
为 [screen] 设计一个 ViewModel 和 StateFlow 模式。说明状态字段、事件和 composable 边界。
为 [app flow] 创建一个类型安全的 Navigation Compose 结构。包括路由模型、参数和屏幕职责。
审查这个 Compose UI 行为:[describe issue]。识别可能的重组原因,并建议稳定状态和 remember 策略。
最佳实践
- 在请求架构指导之前,提供目标屏幕、状态要求和导航流程。
- 设计可复用 composables 时,要求说明状态提升和回调边界。
- 实现前,根据当前 Android 文档审查依赖版本。
避免
- 不要要求此技能执行构建命令或验证运行时行为。
- 不要在未分离 screen 和 content 角色的情况下,将完整应用所有权交给一个 composable。
- 不要在未检查与项目设置兼容性的情况下复制依赖版本。