Android coil compose

From krutikJain/android-agent-skills · View interactive version

Android coil compose is an AI agent skill from the GitHub repository krutikJain/android-agent-skills. Use Coil in Jetpack Compose with AsyncImage, painter variants, sizing, and accessible image loading patterns.

How to use this skill

Skill file

Android Coil Compose

When To Use

Workflow

  1. Identify whether the UI needs a simple image surface, low-level painter access, or custom slot-based loading states.
  2. Prefer AsyncImage first, then drop down to painter APIs only when the component truly needs them.
  3. Constrain size, placeholders, and content description so the image behavior is both performant and accessible; for painter APIs, supply an explicit size resolver when needed.
  4. Check list rendering, state churn, and visual fallbacks before considering the implementation done, and confirm that remote data or decoder modules are actually present when the source type needs them.
  5. Hand off general Compose layout or broader performance issues to the neighboring skills after the image pipeline is stable.

Guardrails

Anti-Patterns

Review Focus

Examples

Happy path

Edge case

Failure recovery

Done Checklist

Official References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.