compose-pro — for Claude Code compose-pro, Compose-Agent-Skill, community, for Claude Code, ide skills, rememberSaveable(), remember(), MainActivity.kt Line 12: Use, instead of, derivedStateOf

v1.0

关于此技能

适用场景: Ideal for AI agents that need check for deprecated api using references/api.md. 本地化技能摘要: # Compose Pro --- Review Kotlin and Jetpack Compose code for correctness, modern API usage, and adherence to project conventions. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Check for deprecated API using references/api.md.
Check that composables, modifiers, and animations have been written optimally using
Validate that state management is configured correctly using references/state.md.
Ensure navigation is updated and performant using references/navigation.md.
Validate accessibility compliance including TalkBack, font scaling, and reduce motion using

# 核心主题

BreakZero BreakZero
[0]
[0]
更新于: 3/8/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
72
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need check for deprecated api using references/api.md. 本地化技能摘要: # Compose Pro --- Review Kotlin and Jetpack Compose code for correctness, modern API usage, and adherence to project conventions. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: compose-pro helps agents check for deprecated api using references/api.md. Compose Pro --- Review Kotlin and Jetpack Compose code for correctness, modern API usage, and adherence to project conventions. This AI

适用 Agent 类型

适用场景: Ideal for AI agents that need check for deprecated api using references/api.md.

赋予的主要能力 · compose-pro

适用任务: Applying Check for deprecated API using references/api.md
适用任务: Applying Check that composables, modifiers, and animations have been written optimally using
适用任务: Applying Validate that state management is configured correctly using references/state.md

! 使用限制与门槛

  • 限制说明: If doing a partial review, load only the relevant reference files.
  • 限制说明: As a Compose developer, the user will want to avoid traditional View system unless requested.
  • 限制说明: Do not introduce third-party frameworks without asking first.

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

compose-pro 是什么?

适用场景: Ideal for AI agents that need check for deprecated api using references/api.md. 本地化技能摘要: # Compose Pro --- Review Kotlin and Jetpack Compose code for correctness, modern API usage, and adherence to project conventions. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 compose-pro?

运行命令:npx killer-skills add BreakZero/Compose-Agent-Skill/compose-pro。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

compose-pro 适用于哪些场景?

典型场景包括:适用任务: Applying Check for deprecated API using references/api.md、适用任务: Applying Check that composables, modifiers, and animations have been written optimally using、适用任务: Applying Validate that state management is configured correctly using references/state.md。

compose-pro 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

compose-pro 有哪些限制?

限制说明: If doing a partial review, load only the relevant reference files.;限制说明: As a Compose developer, the user will want to avoid traditional View system unless requested.;限制说明: Do not introduce third-party frameworks without asking first.。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add BreakZero/Compose-Agent-Skill/compose-pro。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    compose-pro 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

compose-pro

# Compose Pro --- Review Kotlin and Jetpack Compose code for correctness, modern API usage, and adherence to project conventions. This AI agent skill supports

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Compose Pro


Review Kotlin and Jetpack Compose code for correctness, modern API usage, and adherence to project conventions. Report only genuine problems - do not nitpick or invent issues.

Review process:

  1. Check for deprecated API using references/api.md.
  2. Check that composables, modifiers, and animations have been written optimally using references/components.md.
  3. Validate that state management is configured correctly using references/state.md.
  4. Ensure navigation is updated and performant using references/navigation.md.
  5. Ensure the code uses designs that are accessible and compliant with Material Design guidelines using references/design.md.
  6. Validate accessibility compliance including TalkBack, font scaling, and reduce motion using references/accessibility.md.
  7. Ensure the code is able to run efficiently using references/performance.md.
  8. Quick validation of Kotlin code using references/kotlin.md.
  9. Final code hygiene check using references/hygiene.md.

If doing a partial review, load only the relevant reference files.


Core Instructions

  • Android API 26+ (Android 8.0) is the minimum recommended target for new Compose apps.
  • Target Kotlin 2.0+ and use modern Kotlin features.
  • As a Compose developer, the user will want to avoid traditional View system unless requested.
  • Do not introduce third-party frameworks without asking first.
  • Break different types up into different Kotlin files rather than placing multiple classes, or enums into a single file.
  • Use a consistent project structure, with folder layout determined by app features.

Output Format

Organize findings by file. For each issue:

  1. State the file and relevant line(s).
  2. Name the rule being violated (e.g., "Use rememberSaveable() instead of remember() for state that survives configuration changes").
  3. Show a brief before/after code fix.

Skip files with no issues. End with a prioritized summary of the most impactful changes to make first.

Example output:

MainActivity.kt
Line 12: Use `fillMaxWidth()` instead of `Modifier.width(Int.MAX_VALUE.dp)`.

// Before
Text(
    text = "Hello",
    modifier = Modifier.width(Int.MAX_VALUE.dp)
)

// After
Text(
    text = "Hello",
    modifier = Modifier.fillMaxWidth()
)

Line 24: Icon-only button is bad for TalkBack - add a content description.

// Before
IconButton(onClick = { addUser() }) {
    Icon(Icons.Default.Add, contentDescription = null)
}

// After
IconButton(onClick = { addUser() }) {
    Icon(Icons.Default.Add, contentDescription = "Add User")
}

Line 31: Avoid creating derived state inline - use `derivedStateOf` instead.

// Before
val filteredItems = items.filter { it.isVisible }

// After
val filteredItems by remember(items) {
    derivedStateOf { items.filter { it.isVisible } }
}

Summary
- Accessibility (high): The icon button on line 24 is invisible to TalkBack.
- Deprecated API (medium): Manual width on line 12 should use fillMaxWidth().
- State management (medium): The inline filter on line 31 causes unnecessary recompositions.

References

  • references/accessibility.md - TalkBack, font scaling, reduce motion, and other accessibility requirements.
  • references/api.md - updating code for modern API, and the deprecated code it replaces.
  • references/design.md - guidance for building accessible apps that meet Material Design guidelines.
  • references/hygiene.md - making code compile cleanly and be maintainable in the long term.
  • references/navigation.md - navigation using Compose Navigation, plus dialogs and bottom sheets.
  • references/performance.md - optimizing Compose code for maximum performance.
  • references/state.md - state management, ViewModel, and state holders.
  • references/kotlin.md - tips on writing modern Kotlin code, including using coroutines effectively.
  • references/components.md - composable structure, composition, and animation.

相关技能

寻找 compose-pro 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具