Skillpedia
واجهات API والخوادم (backend)33k · #8757

firebase-basics

ما الذي تفعله

تساعد هذه المهارة وكيلك على إعداد مشاريع تستخدم Firebase، وهي منصة تطبيقات من Google، وبنائها. وهي لمطوري تطبيقات الويب أو الجوال الذين يريدون خدمات مثل الاستضافة وقواعد البيانات.

متى تستخدمها

  • ✓عندما تبدأ تطبيق ويب أو جوال جديدًا ينبغي أن يستخدم Firebase.
  • ✓عندما تحتاج إلى إعداد Firebase CLI وربطه بمشروع.
  • ✓عندما تريد إضافة خدمة Firebase، مثل قاعدة بيانات أو تسجيل دخول، إلى تطبيق.

رابط المهارة

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/firebase-basics/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/firebase-basics/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اضبط Firebase في تطبيق React الخاص بي مع الاستضافة وقاعدة بيانات Firestore.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يتحقق الوكيل أولًا من وجود 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 وتطلب تثبيت الإصدار LTS من Node.js إذا كان غائبًا.

هل يثبت الوكيل أشياء أخرى؟

يثبت مهارات 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة