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) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اضبط 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.
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 وتطلب تثبيت الإصدار 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.
الشعبية
- نجوم GitHub
- 33k
- الترتيب
- #8757
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
owasp-security
33kتعلّم وكيلك إرشادات OWASP الأمنية لتطبيقات الويب وواجهات API والموبايل والحاويات ووكلاء الذكاء الاصطناعي، ليكشف نقاط الضعف الشائعة ويقترح الإصلاحات.
agent-management
33kتتيح لوكيلك إنشاء وكلاء ذكاء اصطناعي وسردهم وإسباتهم وإيقاظهم وإعادة تسميتهم وحذفهم عبر أداة سطر الأوامر AI Maestro، مع إدارة دورة حياة كل وكيل.
agent-messaging
33kتتيح لوكيلك إرسال الرسائل الموقعة بين وكلاء الذكاء الاصطناعي واستقبالها والرد عليها، باستخدام بروتوكول المراسلة بين الوكلاء، في الغالب على جهازك.
docs-search
33kتتيح لوكيلك البحث في توثيق الشيفرة المُنشأ تلقائياً عن توقيعات الدوال وتعريفات الكلاسات والتعليقات، فيتحقق من الواجهة البرمجية الفعلية قبل تعديل الشيفرة.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.