mcpField
B
building-react-native-application

building-react-native-application

github.com/cedmandocdoc開発079 回インストール1 日前に更新
リポジトリ

building-react-native-application について

React Nativeアプリの構築向けワークフロースキルです。セットアップ、構成、画面、データなどに取り組む開発者やコーディングエージェントを対象に、依頼を手順やレシピへ対応付け、契約と関連文書の確認を求めます。

主な機能

  1. 01セットアップのチェックリストと手順
  2. 02タスクとレシピの対応付け
  3. 03プロジェクト構成のガイド
  4. 04画面、UI、フォームのワークフロー
  5. 05データ、エラー、認証のワークフロー
  6. 06スタイリングとプラットフォーム修正のガイド

活用シーン

  1. 01React Nativeアプリのスキャフォールド
  2. 02画面、フォーム、UIコンポーネントの追加
  3. 03データアクセスや認証の実装
  4. 04スタイリングやプラットフォーム固有の問題への対応

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/cedmandocdoc/awesome-skills --skill building-react-native-application

インストール後、Claude Code で/building-react-native-applicationを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

agents/
openai.yaml
references/
creating-async-component.md
creating-form.md
creating-screen.md
creating-ui-component.md
managing-data.md
managing-environment.md
managing-errors.md
managing-linting.md
managing-package-installs.md
managing-platform-fixes.md
managing-project-structure.md
managing-styling.md
native-app-contract.md
scaffolding-application.md
setting-up-auth-guard.md
setting-up-authentication.md
setting-up-nativewind.md
scripts/
detect-pm.cjs
install-packages.cjs
run-package.cjs

詳細

React Native アプリケーション

セットアップ

項目種類必須対象完了条件方法
Node.js 22.12+ユーザー必須すべてnode --version で 22.12 以降が表示されるhttps://nodejs.org
常設ルール自動必須新しいアプリのスキャフォールドルートの AGENTS.md に次の行がある- `<target_path>` follows building-react-native-application; load it before changing code there. をルートの AGENTS.md(存在しない場合は作成)に追加し、ルートの CLAUDE.md が存在し、AGENTS.md をインポートしていない場合はそこにも追加します。すでに記載されているファイルはスキップします

ワークフロー

  1. セットアップ — 対象となる セットアップ の各行を順番に確認します。完了条件を満たしている場合はスキップします。user の場合、必須なら「方法」を表示して停止し、任意ならそれなしで続行します。ask の場合、リクエストから回答できる項目を埋め、残りをまとめて一度に質問し、各回答を記録します。auto と static の場合は実行します。
  2. 契約 — native-app-contract.md を読みます。
  3. レシピ — レシピ の行を1つ選び、「参照」列にあるすべてのドキュメントを開きます。
  • 複数の行にまたがるリクエスト(フォームを含む新しい画面など)は、それぞれに該当します。

レシピ

意図入力例参照先
セットアップ"Set up building-react-native-application", "Is building-react-native-application ready?"セットアップ — すべての行についてワークフローのステップ 1 を実行し、その後、各行の状態を報告します
スキャフォールド"Create an Expo app in apps/mobile", "Scaffold here", "Add linting and env handling to the app"scaffolding-application.md、managing-package-installs.md、setting-up-nativewind.md、managing-environment.md、managing-linting.md
構成"Where does this module belong?", "Two features need this hook", "Move this component to the right layer"managing-project-structure.md、managing-linting.md
画面/機能"Add a settings screen", "New orders feature", "Custom tab bar", "Open this screen from a link"managing-project-structure.md、creating-screen.md
UI プリミティブ"Add a Dialog to src/ui", "Build the select from the spec"managing-project-structure.md、creating-ui-component.md、managing-styling.md
データ"Fetch orders from the API", "Add a mutation for checkout", "Format the order date"managing-data.md、managing-environment.md
非同期 UI の状態"Show the orders list with loading and error states", "Add pull-to-refresh"creating-async-component.md、managing-data.md
エラー/フィードバック"Show a toast when saving fails", "Report crashes", "Handle unknown links"managing-errors.md、managing-data.md
フォーム/複数ステップ"Add a profile form", "Make checkout a three-step form"creating-form.md、managing-data.md
スタイリング/テーマ"Apply the design tokens", "Change the brand colors", "Add dark mode", "Override a className"managing-styling.md
認証"Add the sign-in flow", "Attach the token to API calls", "Sign out on 401"setting-up-authentication.md、managing-data.md
認証ガード"Protect the account screens", "Require profile setup after sign-in", "Add an invite link", "Restrict the team screens to members"setting-up-auth-guard.md、setting-up-authentication.md、creating-screen.md
プラットフォームの修正"The keyboard covers the input", "White flash behind the header", "Keep the splash until fonts load", "Use Inter as the body font"managing-platform-fixes.md

コメント