本文へスキップ
Skillpedia
モバイルアプリ48k · #4578

expo-ui-jetpack-compose

できること

このツールを使うと、Expoの中で Jetpack Compose という技術を使ってAndroidアプリの画面(UI)を作成できます。Androidらしいデザインに沿って、ボタンや文字などの部品を組み立てられます。

使う場面

  • ✓Expoで、Androidアプリの見た目の部分を作りたいとき。
  • ✓Android専用の見た目の部品を使う必要があるとき。
  • ✓Expo SDK 55 を使っているとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-ui-jetpack-compose/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-ui-jetpack-compose/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“「Click me」というテキストのボタンを作成して、押したときにアラートを表示してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、現代的なAndroid UI構築方法である Jetpack Compose に似た手順を使います。見た目の部品と配置を選び、すべてを「Host」の中に置くことで正しく動作させます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

The instructions in this skill apply to SDK 55 only. For other SDK versions, refer to the Expo UI Jetpack Compose docs for that version for the most accurate information.

When to Use

  • You need to build Android-native UI in Expo using @expo/ui/jetpack-compose.
  • The task involves choosing Compose views or modifiers, embedding them in Host, or translating Jetpack Compose patterns into Expo UI code.
  • You are working specifically against Expo SDK 55 behavior for Jetpack Compose integration.

Installation

npx expo install @expo/ui

A native rebuild is required after installation (npx expo run:android).

Instructions

import { Host, Column, Button, Text } from "@expo/ui/jetpack-compose";
import { fillMaxWidth, paddingAll } from "@expo/ui/jetpack-compose/modifiers";

<Host matchContents>
  <Column verticalArrangement={{ spacedBy: 8 }} modifiers={[fillMaxWidth(), paddingAll(16)]}>
    <Text style={{ typography: "titleLarge" }}>Hello</Text>
    <Button onPress={() => alert("Pressed!")}>Press me</Button>
  </Column>
</Host>;

Key Components

  • LazyColumn — Use for a Compose-native list when the platform-specific design calls for it; do not replace React Native lists universally. Wrap in <Host style={{ flex: 1 }}>.
  • Icon — Use <Icon source={require('./icon.xml')} size={24} /> with Android XML vector drawables from Material Symbols.

Limitations

  • APIs target SDK 55; check that version’s actual Expo docs and installed package before editing. Android/iOS examples are platform-specific, not interchangeable or proof of real-device behavior. Existing framework and user requirements take precedence.
  • Native rebuilds install/execute dependencies and change the project; review the intended development target first. icon.xml and app code are application assets, not bundled files.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

Jetpack Composeとは何ですか?

Androidアプリの画面を作るための、新しく分かりやすい方法です。

「Host」とは何ですか?

Expoの中でJetpack Composeの見た目の要素を動かすために必要なコンテナです。

何かインストールする必要はありますか?

はい。`@expo/ui` パッケージをインストールしたうえで、変更を反映させるために `npx expo run:android` を実行する必要があります。

詳細

作者による元の説明

Build Android-native Expo SDK 55 UI with Jetpack Compose views/modifiers, Host sizing and platform-specific integration.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4578
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル