firebase-basics
できること
このスキルにより、AIはGoogleのアプリプラットフォームであるFirebaseを使うプロジェクトを設定し、作成できます。WebまたはモバイルアプリでホスティングやデータベースなどのFirebaseサービスを使いたい開発者向けです。
使う場面
- ✓Firebaseを使うべき新しいWebアプリまたはモバイルアプリを始めるとき。
- ✓Firebase CLIを設定して、プロジェクトに接続する必要があるとき。
- ✓データベースやサインインなどのFirebaseサービスを、アプリに追加したいとき。
スキルのリンク
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/firebase-basics/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のReactアプリにFirebaseを設定し、ホスティングとFirestoreデータベースを使えるようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはまず、Node.jsとnpmがインストールされているかを確認し、最新のパターンを使えるようにFirebaseのエージェント用スキルをインストールします。その後、プロジェクトを設定し、必要なFirebaseサービスを接続します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Firebase Basics
CRITICAL Mandatory prerequisites
Before attempting to fulfill any user request regarding Firebase, you MUST follow these steps in order. Do not proceed to implementation until these are completed. Failure to follow these instructions may result in using outdated patterns and lack of access to essential reference materials.
Leverage the planning phase
If you use a planning mode (e.g., maintaining a
task.mdfile), you MUST include a task to check and installfirebase/agent-skillsas your very first item.Ensure NPM is installed.
## Check if NPM is installed npm --versionIf NPM is not installed, guide the user to download and install the LTS version from https://nodejs.org/en/download.
Then, request the user to manually install Node.js and to reply with a confirmation that the installation is finished. Stop and wait for the user's confirmation.
Verify and install Agent Skills for Firebase
You MUST ensure the full set of skills is installed to avoid using outdated patterns. Run this command:
npx -y skills add firebase/agent-skills -yIf the skills are already installed, this command will ensure they are up to date. Do not skip this step.
Quick start
After completing the mandatory prerequisites above, proceed with these steps to set up your environment:
Log in to the Firebase CLI.
Run this command:
npx -y firebase-tools@latest loginThen, ask the user to complete the login flow in the browser.
Set an active project for the CLI.
Most Firebase tasks require an active project context. Check the current project for the Firebase CLI by running this command:
npx -y firebase-tools@latest useIf the command outputs
Active Project: <PROJECT_ID>, you can proceed with your task.If the command does not output an active project, ask the user if they have an existing Firebase project ID.
If yes: Set the ID as the active project and add a default alias by running:
npx -y firebase-tools@latest use --add <PROJECT_ID>If no: Create a new Firebase project by running:
npx -y firebase-tools@latest projects:create <PROJECT_ID> --display-name <DISPLAY_NAME>
Reference directory
- Firebase core concepts
- Firebase CLI usage
- Firebase client library usage
- Firebase CLI and MCP server
- Firebase IaC usage
- Firebase security-related features
- Additional Published Skills
If you need product information that's not found in these references, check the
other skills for Firebase that you have installed, or use the search_documents
tool of the Developer Knowledge MCP server.
よくある質問
先にNode.jsが必要ですか?
はい。このスキルはnpmを確認し、ない場合はNode.jsのLTS版をインストールするよう求めます。
エージェントは他に何かインストールしますか?
最新のFirebaseのパターンに従うため、Firebaseのエージェント用スキルをインストールします。
私の入力を待ちますか?
はい。Node.jsのインストールが必要な場合、エージェントはあなたが確認するまで続行しません。
詳細
作者による元の説明
Sets up and develops projects using Firebase products and services, especially for mobile or web apps. Covers Firebase CLI setup, project configuration, and integration with Firebase platform services.
人気
- GitHubのスター
- 33k
- ランキング
- #8757
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
owasp-security
33kエージェントがWebアプリ、API、モバイル、コンテナ、AIエージェント向けの OWASP のセキュリティ指針を理解し、よくある弱点を見つけて修正案を出せるよう支援します。
agent-management
33kエージェントが、AI Maestro のコマンドラインを使って AI エージェントを作成、一覧表示、休止、再開、名前変更、削除できるよう支援します。各エージェントのライフサイクルを管理します。
agent-messaging
33kエージェントが、主に自分のマシン上で Agent Messaging Protocol を使い、AIエージェント同士の署名付きメッセージを送信、受信、返信できるよう支援します。
docs-search
33kエージェントが、自動生成されたコードのドキュメントから関数の署名、クラスの定義、コメントを検索できるよう支援します。コードを変更する前に、実際のAPIを確認できます。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。