本文へスキップ
Skillpedia
APIとサーバー(バックエンド)33k · #8757

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がスキルを読んで指示に従います。

貼り付け用メッセージ

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

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.

  1. Leverage the planning phase

    If you use a planning mode (e.g., maintaining a task.md file), you MUST include a task to check and install firebase/agent-skills as your very first item.

  2. Ensure NPM is installed.

    ## Check if NPM is installed
    npm --version
    

    If 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.

  3. 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 -y
    

    If 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:

  1. Log in to the Firebase CLI.

    Run this command:

    npx -y firebase-tools@latest login
    

    Then, ask the user to complete the login flow in the browser.

  2. 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 use
    
    • If 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

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.

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#8757
ライセンス
MIT
更新日
2026/11/2

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

0

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

コメント

  • …

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

似ているスキル