AC

aldefy/compose-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

598 stars 质量 51 趋势 25NOASSERTION

Jetpack Compose Agent Skill —— 基于 AI 驱动的编码指导,附有实际的 androidx/androidx 源代码收据。可支持 Claude Code、Codex CLI、Gemini CLI、Cursor、Copilot、Windsurf 等。

概览

让你的AI编码工具真正理解Compose——Android、桌面、iOS和Web。基于androidx/androidx和compose-multiplatform-core的真实源代码支持——而非氛围。 该技能以插件形式发布。请参阅各主机说明: - /plugin marketplace 添加 aldefy/compose-skill → /plugin install compose-expert - copilot plugin install aldefy/compose-skill - 手动安装 — 详见 INSTALL.md。 新版本会以GitHub发布的形式发布,附带迁移说明。运行/plugin update(Claude Code)或copilot插件update(aldefy/compose-skill,Copilot)来获取它们。 AI编码工具生成的Compose代码编译时会出错细节。错误的记忆使用、不稳定的重组、损坏的修饰键排序、弃用的导航模式、不存在的幻觉API。他们猜测行为,而非了解。 这个技能通过给你的AI助手两个功能来解决这个问题: 1.

概述(AI 翻译)

Compose Agent Skill

让你的AI编码工具真正理解Compose——Android、桌面、iOS和网页版。 它有来自 androidx/androidx 和 compose-multiplatform-core 的真实源代码支持——不是 vibes。


安装

该技能以插件形式发布。参见 docs/INSTALL.md 获取每主机的操作说明:

  • Claude Code: /plugin marketplace add aldefy/compose-skill → /plugin install compose-expert
  • 副驾驶CLI: copilot plugin install aldefy/compose-skill
  • Codex CLI: 手动安装 — 参见 INSTALL.md。

已经手动安装了吗?请参见 docs/MIGRATION.md。

更新

新版本以GitHub发布,附带迁移说明。运行/plugin update(Claude代码)或copilot plugin update aldefy/compose-skill(Copilot)获取它们。


问题所在

AI编码工具生成的Compose代码编译时细节错误。错误的remember使用、不稳定的重组、破坏的修饰键排序、弃用的导航模式、不存在的幻觉API。他们猜测行为,而非了解。

这个技能通过给你的AI助手两个功能来解决这个问题:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Compose Agent Skill

Make your AI coding tool actually understand Compose — Android, Desktop, iOS, and Web. Backed by real source code from androidx/androidx and compose-multiplatform-core — not vibes.


Install

This skill is distributed as a plugin. See docs/INSTALL.md for per-host instructions:

  • Claude Code: /plugin marketplace add aldefy/compose-skill → /plugin install compose-expert
  • Copilot CLI: copilot plugin install aldefy/compose-skill
  • Codex CLI: manual install — see INSTALL.md.

Already installed manually? See docs/MIGRATION.md.

Updates

New versions are published as GitHub Releases with migration notes. Run /plugin update (Claude Code) or copilot plugin update aldefy/compose-skill (Copilot) to pick them up.


The problem

AI coding tools generate Compose code that compiles but gets the details wrong. Incorrect remember usage, unstable recompositions, broken modifier ordering, deprecated navigation patterns, hallucinated APIs that don’t exist. They guess at behavior instead of knowing it.

This skill fixes that by giving your AI assistant two things:

  1. 24 reference guides covering every major Compose topic — including Compose Multiplatform, Android TV, Material 3 motion, atomic design systems, design-to-code workflows, animation recipes, Paging 3 (core / offline-first / MVI + testing), Nav 2 → Nav 3 migration, and production crash patterns
  2. 6 source code files pulled directly from androidx/androidx and compose-multiplatform-core so the agent can check how things actually work

What changes when you install it

Area Without the skill With it
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add aldefy/compose-skill
新手?先看 mcpskill.org 教程 →