← 开源
skydoves

compose-performance-skills

⚡️ A curated library of Agent Skills focused on Jetpack Compose performance.

AI EngineeringGive agent knowledgePrompt & ScaffoldShell
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
515
Star
19
Fork
+1
本周
2
贡献者
创建于 2026-04-29 · 更新于 2026-10-14 · 今日第 17975 名
主要开发者
skydovessan-gun

skydoves/compose-performance-skills 排名第 17,975,有 515 个星标。

同类别比较

skydoves/compose-performance-skills 排名第 17,975,此处有 8 个同类条目;trailofbits/skills-curated 排名第 17,978。

同类别比较
名称排名指标
shaom/infocard-skills17,958
语言:
HTML
星标数:
516
分叉数:
37
简介:
Open-source agent skills for generating editorial-style information cards from natural-language input.
ankimcp/anki-mcp-server17,965
语言:
TypeScript
星标数:
515
分叉数:
38
简介:
A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.
koaning/smartfunc17,970
语言:
Python
星标数:
515
分叉数:
15
简介:
Turn docstrings into LLM-functions
muthuishere/mcp-server-bash-sdk17,971
语言:
Shell
星标数:
515
分叉数:
50
trailofbits/skills-curated17,978
语言:
Python
星标数:
515
分叉数:
34
简介:
Curated, community-vetted Claude Code plugin marketplace
HKUDS/CatchMe17,984
语言:
Python
星标数:
514
分叉数:
81
简介:
"CatchMe: Make Your AI Agents Truly Personal"
WILLOSCAR/research-units-pipeline-skills17,989
语言:
Python
星标数:
514
分叉数:
39
简介:
Research pipelines as semantic execution units: each skill declares inputs/outputs, acceptance criteria, and guardrails. Evidence-first methodology prevents hollow writing through structured intermediate artifacts.
apocas/restai17,993
语言:
Python
星标数:
514
分叉数:
109
简介:
RESTai is an AIaaS (AI as a Service) open-source platform. Supports many public and local LLM suported by Ollama/vLLM/etc. Precise embeddings usage, tuning, analytics etc. Built-in image/audio generation with dynamic loading generators. Live chat deployment. Built-in block based graphical language. Prompt versioning and much more...
关键参数与规格
关键参数与规格
参数值
语言Shell
类别AI Engineering
子类别Give agent knowledge,Prompt & Scaffold
关键词Context engineering, Documentation, Knowledge base, Prompt collection
星标数515
分叉数19
贡献者2
创建日期2026-04-29
更新日期2026-10-14
1 天星标数0
7 天星标数1
排名17,975
上次排名19,093
排名变化1,118
7 天星标排名11,554
上次 7 天星标排名7,485
7 天星标排名变化-4,069
总星标排名18,937
上次总星标排名18,910
总星标排名变化-27
README 摘录

Compose Performance Skills If you have used , you already know the shape of an Agent Skill: a Markdown file an agent loads on demand to perform one focused task. That library covers Android development at large. This repository goes narrow and deep on a single axis: Jetpack Compose performance. The skills here cover stability, recomposition, lazy layouts, custom modifiers, side effects, baseline profiles, R8, hot reload with Compose HotSwan, and the measurement loop that ties them together. The goal is

to give a coding agent enough operational knowledge to diagnose and fix Compose performance issues without guessing, and to give the developer reading the diff a citation trail back to primary sources. 📗 Jetpack Compose Mechanisms Book Jetpack Compose Mechanisms takes you from "how to use Compose" into "how Compose actually works," tracing the AOSP source line by line through the compiler, runtime, and UI layers beneath every Composable, with practical, production-ready examples from the author's own Compose tooling and

libraries. It then ties all three layers together into deep, real-world performance tuning, from stability inference to the skip decision. What this repo is This is a curated library of Agent Skills focused on Jetpack Compose performance. Every skill is grounded in primary sources: Android Developers documentation, the Compose compiler, posts by Ben Trengrove, Chris Banes, Manuel Vivo, and the skydoves open source projects, and blog posts. Every API reference is pinned to a version. The skills follow the

open Agent Skills standard published at agentskills. io, the same format used by Anthropic's Skills API, Android Studio Agent mode, and Gemini. The library was iterated against Claude Code, where the SKILL. md files load directly; other compatible runtimes have not been individually end to end tested. Note that the Android CLI itself manages only Google's first party skill catalog ( ); this repo is a community library outside that catalog and is loaded by agent runtimes from project local directories rather

than installed via the CLI. What is a Skill A Skill is a single Markdown file ( ) plus optional material that teaches an agent how to perform one focused task. It declares trigger vocabulary in YAML frontmatter and a numbered workflow in the body. The agent reads the frontmatter, decides whether the skill applies to the current task, then follows the workflow inside step by step. A skill is not documentation for humans. It is operational instructions for an LLM. That

changes the writing voice: terse, imperative, RIGHT and WRONG snippet pairs, MUST and MUST NOT directives in bold caps, and a Verification checklist that proves the work was done. Directory layout Conventions: **Category**: lowercase, one of , , , , , , , , . **Slug**: gerund form, lowercase, hyphenated, max 64 chars ( , ). Deeper nesting breaks how agents preview the files. **Cross links**: relative Markdown links between skills so they resolve when the repository is browsed on GitHub. The full authoring specification lives in . How to use Claude Code

Claude Code's skill loader expects each skill at . This repo organizes its 26 skills under nested category folders ( ) for human

常见问题

记录了多少星标和分叉?

skydoves/compose-performance-skills 有 515 个星标和 19 个分叉。

仓库排名是多少?

skydoves/compose-performance-skills 排名第 17,975。

记录的语言和类别是什么?

skydoves/compose-performance-skills 有 515 个星标,语言为 Shell,类别为 AI Engineering。

哪个仓库排名最接近?

skydoves/compose-performance-skills 与 trailofbits/skills-curated 比较,后者排名第 17,978,有 515 个星标。

README

Compose Performance Skills

If you have used android/skills, you already know the shape of an Agent Skill: a Markdown file an agent loads on demand to perform one focused task. That library covers Android development at large. This repository goes narrow and deep on a single axis: Jetpack Compose performance. The skills here cover stability, recomposition, lazy layouts, custom modifiers, side effects, baseline profiles, R8, hot reload with Compose HotSwan, and the measurement loop that ties them together. The goal is to give a coding agent enough operational knowledge to diagnose and fix Compose performance issues without guessing, and to give the developer reading the diff a citation trail back to primary sources.

📗 Jetpack Compose Mechanisms Book

Jetpack Compose Mechanisms takes you from "how to use Compose" into "how Compose actually works," tracing the AOSP source line by line through the compiler, runtime, and UI layers beneath every Composable, with practical, production-ready examples from the author's own Compose tooling and libraries. It then ties all three layers together into deep, real-world performance tuning, from stability inference to the skip decision. Fully updated for Kotlin 2.4.0 and Compose Compiler 2.4.0.

What this repo is

This is a curated library of Agent Skills focused on Jetpack Compose performance. Every skill is grounded in primary sources: Android Developers documentation, the Compose compiler, posts by Ben Trengrove, Chris Banes, Manuel Vivo, and the skydoves open source projects, and blog posts. Every API reference is pinned to a version.

The skills follow the open Agent Skills standard published at agentskills.io, the same SKILL.md format used by Anthropic's Skills API, Android Studio Agent mode, and Gemini. The library was iterated against Claude Code, where the SKILL.md files load directly; other compatible runtimes have not been individually end to end tested.

Note that the Android CLI itself manages only Google's first party skill catalog (android skills add --skill ); this repo is a community library outside that catalog and is loaded by agent runtimes from project local directories rather than installed via the CLI.

What is a Skill

A Skill is a single Markdown file (SKILL.md) plus optional references/ material that teaches an agent how to perform one focused task. It declares trigger vocabulary in YAML frontmatter and a numbered workflow in the body. The agent reads the frontmatter, decides whether the skill applies to the current task, then follows the workflow inside SKILL.md step by step.

A skill is not documentation for humans. It is operational instructions for an LLM. That changes the writing voice: terse, imperative, RIGHT and WRONG snippet pairs, MUST and MUST NOT directives in bold caps, and a Verification checklist that proves the work was done. Prose is kept short. Code samples carry the load.

Directory layout

compose-performance-skills/
├── README.md                 # this file
├── INDEX.md                  # symptom to skill lookup table
├── LICENSE                   # Apache-2.0
└── //
    ├── SKILL.md              # the skill (required)
    └── references/           # optional, one level deep
        └── .md

Conventions:

  • Category: lowercase, one of stability, recomposition, lists, modifiers, side-effects, measurement, build, audit, hot-reload.
  • Slug: gerund form, lowercase, hyphenated, max 64 chars (diagnosing-compose-stability, migrating-to-modifier-node).
  • SKILL.md: uppercase. Every skill body stays under 500 lines. Longer material moves into references/.
  • references/: one level deep only. Deeper nesting breaks how agents preview the files.
  • Cross links: relative Markdown links between skills so they resolve when the repository is browsed on GitHub.

The full authoring specification lives in docs/SPEC.md.

How to use

Claude Code

Claude Code's skill loader expects each skill at ~/.claude/skills//SKILL.md. This repo organizes its 26 skills under nested category folders (//SKILL.md) for human readability, so a plain git clone into ~/.claude/skills does not surface the skills (community feedback confirmed). Use the bundled install script, which clones once to a stable location and symlinks each individual skill folder into ~/.claude/skills/:

git clone https://github.com/skydoves/compose-performance-skills.git \
  ~/.claude/skills-sources/compose-performance-skills

~/.claude/skills-sources/compose-performance-skills/scripts/install-skills.sh

The script is idempotent and accepts an optional custom target directory:

./scripts/install-skills.sh /path/to/agent/skills      # custom target
./scripts/install-skills.sh --uninstall                # remove the symlinks

Once the symlinks are in place, restart Claude Code. Mention a Compose performance symptom in a prompt and Claude Code matches the trigger vocabulary in the skill frontmatter, then loads the relevant SKILL.md automatically.

Android Studio Agent mode and Gemini

These agents discover skills at runtime by scanning project local directories per Google's Android skills documentation. The official Android skill catalog uses a flat layout (/SKILL.md directly under the install directory), and Claude Code follows the same convention. Based on the Claude Code feedback above, expect Android Studio Agent mode and Gemini to require flat layout as well, so use the same install script targeting the project's agent skills directory:

cd 
git clone https://github.com/skydoves/compose-performance-skills.git \
  .compose-performance-skills-source

./.compose-performance-skills-source/scripts/install-skills.sh .agent/skills

The script symlinks each // folder under .agent/skills// so the agent finds SKILL.md at the depth it expects. The source repo lives at .compose-performance-skills-source/ (gitignore-able) so updates are a single git pull.

Once the symlinks are in place, the agent matches the trigger vocabulary in each skill's frontmatter against the user prompt or the open file. A slow LazyColumn should trigger optimizing-lazy-layouts, a stability question should trigger diagnosing-compose-stability, and so on.

End to end behavior with Android Studio Agent mode and Gemini has not been independently verified by the author. Reports of working or broken integration are welcome at the issue tracker.

Android CLI

The Android CLI manages only Google's first party skill catalog. android skills add --skill installs catalog skills such as r8-analyzer or edge-to-edge into /skills//. Community libraries such as this repo are outside that catalog and cannot be installed through the CLI; verified by running android skills list --project= against a project containing this repo's nested layout, which surfaces only the official catalog. Use the Android CLI for first party skills and the manual clone above for this repo's skills; both sets coexist on the same project.

Claude.ai and the Claude API

For Claude.ai workspaces, upload the relevant SKILL.md files as Agent Skill attachments. For direct Anthropic API integrations, reference skills inline in the system prompt or load them through the Agent Skills file API. The skills are self contained. No external runtime is required beyond a working Compose toolchain on the developer's machine for verification steps.

Other agent runtimes

Any agent runtime that can read a Markdown file and follow its instructions can use these skills. The frontmatter is plain YAML. The body is plain Markdown. Treat the SKILL.md files as system prompts for the task, attach the linked references/ files when the body cites them, and let the agent run the Verification checklist before declaring the work done.

Quickstart

A developer pastes the following into Claude Code:

My LazyColumn drops frames during fast scroll. Composables show in the layout inspector but recomposition counts spike on every scroll tick. Diagnose the stability issue and fix it.

Claude Code matches the symptoms (dropped frames, recomposition counts, LazyColumn) against skill frontmatter and loads stability/diagnosing-compose-stability/SKILL.md. That skill walks Claude through enabling Compose Compiler reports in release mode, parsing -composables.txt for unstable parameters, then chains into stability/stabilizing-compose-types/SKILL.md for the fix. The chain is explicit in each skill's body: a fix skill states which diagnostic skill should have produced the input, and a diagnostic skill names the fix skills it can hand off to. The agent does not have to infer the path.

Skill categories

  • stability/: diagnose and fix Compose stability. Read compiler reports, stabilize types, configure stability_config.conf, validate via compose-stability-analyzer.
  • recomposition/: eliminate unnecessary recomposition. Defer state reads to layout or draw, apply derivedStateOf correctly, trace recomposition with @TraceRecomposition, avoid SubcomposeLayout/BoxWithConstraints/Scaffold pitfalls that compose during the measure pass.
  • lists/: make LazyColumn and LazyVerticalGrid smooth. Stable keys, contentType, LazyLayoutCacheWindow, pausable prefetch.
  • modifiers/: author and migrate custom modifiers. Modifier.Node over composed { }, graphicsLayer { } for animated reads.
  • side-effects/: wire flows and effects safely. collectAsStateWithLifecycle, LaunchedEffect vs RememberedEffect, lambda memoization under strong skipping.
  • measurement/: measure before fixing. Macrobenchmark, Baseline Profiles, frame timing, startup metrics, release mode invariants.
  • build/: get the toolchain right. R8 in full mode, strong skipping flag, CI time stability validation.
  • audit/: orchestrator skill that sequences the others into an end to end performance audit (Measure to Diagnose to Fix to Verify).
  • hot-reload/: install Compose Hot Reload for Android, stay inside the supported change set, preserve state across reloads, and drive the loop from an AI agent over MCP.

The full symptom to skill lookup is in INDEX.md.

Scope

In scope:

  • Jetpack Compose for Android, on the runtime, compiler, and tooling that ship with AndroidX.
  • The Compose performance loop end to end: measurement, diagnosis, fix, and verification.
  • Build configuration where it changes Compose runtime behavior (R8 full mode, strong skipping, baseline profiles).

Out of scope:

  • General Compose tutorials and onboarding. Use the official Compose pathway for that.
  • Compose Multiplatform specifics. Most skills apply, but iOS, Desktop, and Web targets are not validated here.
  • Non Compose Android performance work (View system, RecyclerView, app startup outside Compose).

Editorial position

Five non negotiable hot takes carried across every skill. They appear in skill bodies as MUST and MUST NOT directives so the agent treats them as constraints, not advice.

  1. Skippability is a diagnostic, not a KPI. Do not chase 100%.
  2. A stability config is a contract with the compiler, not a magic spell. Break the contract and you silently miss recompositions.
  3. Inline composables (Row, Column, Box) are not restartable or skippable. Wrapping them changes recomposition scoping.
  4. Flow parameters are unstable. Collect them in a ViewModel or with collectAsStateWithLifecycle. Do not pass them down.
  5. Always measure in release plus R8 plus a real device. Debug builds lie.

Contributing

Contributions are welcome. Before opening a pull request:

  1. Read docs/SPEC.md end to end. The frontmatter template, body structure, voice, and mandatory rules apply to every skill.
  2. Pull facts and code samples from docs/CORPUS.md so vocabulary stays consistent across skills.
  3. Run the post write self check. It is the gate. Frontmatter validates, body is 500 lines or fewer, at least one RIGHT and WRONG pair for code level skills, a Verification checklist, three or more authoritative reference URLs, no first person, no emojis, no time sensitive phrasing.
  4. Add the new skill to INDEX.md under each lookup section it belongs to.

Open the pull request only after the self check passes.

Attribution

Five skydoves OSS libraries seed the technical content of this repository. The skills cite them inline where their APIs are referenced.

Additional primary sources are listed in docs/CORPUS.md.

Find this repository useful? :heart:

Support it by joining stargazers for this repository. :star:

Also follow me for my next creations! 🤩

License

Designed and developed in 2026 by skydoves (Jaewoong Eum)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
排名相邻
同类项目