·coil-compose

有關在 Jetpack Compose 中使用 Coil 進行圖像加載的專家指南。當詢問有關從 URL 加載圖像、處理圖像狀態或在 Compose 中優化圖像性能時,請使用此選項。

25安裝·1熱度·@new-silvermoon

安裝

$npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill coil-compose

SKILL.md

When implementing image loading in Jetpack Compose, use Coil (Coroutines Image Loader). It is the recommended library for Compose due to its efficiency and seamless integration.

Primary Composable: AsyncImage Use AsyncImage for most use cases. It handles size resolution automatically and supports standard Image parameters.

Low-Level Control: rememberAsyncImagePainter Use rememberAsyncImagePainter only when you need a Painter instead of a composable (e.g., for Canvas or Icon) or when you need to observe the loading state manually.

有關在 Jetpack Compose 中使用 Coil 進行圖像加載的專家指南。當詢問有關從 URL 加載圖像、處理圖像狀態或在 Compose 中優化圖像性能時,請使用此選項。 來源:new-silvermoon/awesome-android-agent-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill coil-compose
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 coil-compose?

有關在 Jetpack Compose 中使用 Coil 進行圖像加載的專家指南。當詢問有關從 URL 加載圖像、處理圖像狀態或在 Compose 中優化圖像性能時,請使用此選項。 來源:new-silvermoon/awesome-android-agent-skills。

如何安裝 coil-compose?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill coil-compose 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/new-silvermoon/awesome-android-agent-skills