Compose Graphics (Advanced Android Visuals)
An advanced recipe skill for building Material 3 Expressive motion, AGSL shaders, and Canvas generative art in Jetpack Compose.
Dev & CodingAdvanced★ 249⑂ 19AI score 9/10Last updated: Jul 31, 2026
What it does
- API decision table: instantly picks the right tool — spring physics, pixel shaders, Canvas drawing, or graphicsLayer render effects.
- Material 3 Expressive:
expressive()vsstandard()motion schemes, spatial vs effects tokens (fast/default/slow), spring tuning recipes, and shape morphing withandroidx.graphics.shapes. - AGSL shaders (Android 13+): ready-to-use sources for touch ripple, holographic gradient, and liquid glass (chromatic aberration + blur), plus
RuntimeShader+Modifier.graphicsLayerbinding and mandatory SDK 33 gating with fallbacks. - Canvas/DrawScope: animated sine wave, 50-particle system, flow fields, and correct frame loops with
withFrameMillis. - Five anti-patterns: Expressive everywhere, ungated RuntimeShader, Canvas reading state directly, chaining four shaders, allocating inside DrawScope.
Who it's for
- Android developers building UI with Jetpack Compose.
- Teams polishing hero screens, onboarding flows, or brand-defining interactions.
- Anyone trying AGSL or custom Canvas drawing for the first time who wants to dodge performance and compatibility traps.
Example uses
- "Make this detail card expand with a slightly overshooting Expressive spring" → generates
updateTransition+slowSpatialSpec()code. - "Give this panel a liquid-glass look" → chromatic aberration AGSL shader plus
Modifier.blur(), with an Android 12 fallback. - "Add a drifting particle background to the loading screen" → Canvas particle pool with a remembered, rewound Path.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/AThevon/genjutsu/HEAD/skills/_jutsu/compose-graphics/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/_jutsu/compose-graphics folder from the GitHub repo AThevon/genjutsu into my ~/.claude/skills/compose-graphics/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/AThevon/genjutsu.git && mkdir -p ~/.claude/skills && cp -r genjutsu/skills/_jutsu/compose-graphics ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/AThevon/genjutsu.git - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r genjutsu/skills/_jutsu/compose-graphics ~/.claude/skills/ - (Recommended) also copy the base skill it references:
cp -r genjutsu/skills/_jutsu/compose-motion ~/.claude/skills/ - Restart Claude Code and run
/skillsto confirmcompose-graphicsis listed. - Try a prompt like "Write an AGSL ripple shader for Compose" — the skill loads automatically.
View source on GitHub ↗License: MIT