شعار Setup

Setup

مؤسسة
RevenueCat
setup

Use this skill when setting up a RevenueCat project for Android: creating the app in the dashboard, uploading the Google Play service account credentials, connecting Real Time Developer Notifications, configuring entitlements and offerings, and getting the public SDK API key for the Android app.

Add to TypingMind

نظرة عامة

الناشرRevenueCat
المستودعplay-billing-skills
اسم المهارةsetup
النجوم
58
التفريعات
0
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها RevenueCat على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Setup في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/RevenueCat/play-billing-skills/tree/main/revenuecat/setup
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RevenueCat/play-billing-skills.git /tmp/play-billing-skills
mkdir -p .claude/skills
cp -r /tmp/play-billing-skills/revenuecat/setup .claude/skills/setup
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Setup في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Setup تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Setup بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

RevenueCat Android Setup

Configure a RevenueCat project so the Android SDK can fetch offerings, validate purchases, and grant entitlements. This skill covers the dashboard side of setup and the service account connection to Google Play.

The scope stops at "dashboard ready, API key in hand." SDK initialization code belongs to the configuring-the-sdk skill.

Phase 1: Discovery

Confirm these items before you touch the RevenueCat dashboard. Missing any of them will block the connection step.

PrerequisiteWhere it livesWhy RevenueCat needs it
Google Play Console appPlay ConsoleDashboard connects by package name
Package namePlay Console app listingMust match your Android app exactly
In-app products or subscriptionsPlay Console monetizationRevenueCat imports the catalog
Base plans for subscriptionsPlay Console subscriptionBilling Library 6+ requires them
Google Cloud service account JSONGoogle Cloud ConsoleRevenueCat authenticates to the Play Developer API
Play Console account permissionsPlay Console users and permissionsView app information and download bulk reports (read-only); View financial data, orders, and cancellation survey responses; Manage orders and subscriptions; Manage store presence

Ask the user:

  • Is the app already published on Play (even as internal testing)?
  • Are products live in Play Console, or still drafts?
  • Do you have the service account JSON, or do you need the creation steps?

If products do not exist yet, pause. Product creation is a Play Console task outside this skill.

Phase 2: Plan

Pick the route that matches the user's state.

StateRoute
No RevenueCat accountStart at Step 1, create account and project
Account exists, no Android app in projectStart at Step 2, add Android app
App exists, Play not connectedJump to Step 3, upload service account
Play connected, no entitlements or offeringsJump to Step 4
Everything configured, need the API keyJump to Phase 4 verification

The default flow below runs end to end. Skip steps the user has already completed.

Phase 3: Execute

Step 1: Create the RevenueCat project and Android app

  1. Sign up or log in at app.revenuecat.com.
  2. Create a project. One project can hold Android, iOS, and web apps for the same product.
  3. Inside the project, add an Android app. Enter the Play Console package name.

RevenueCat generates a public SDK API key per platform. You will copy the Android key at the end. Do not reuse iOS or web keys in the Android app.

Step 2: Create a Google Cloud service account (if needed)

In Google Cloud Console, in the project that will own the service account (Play Console no longer needs a linked Cloud project):

  1. Enable the Google Play Android Developer API, the Google Play Developer Reporting API, and the Cloud Pub/Sub API.
  2. Create a service account and grant it Pub/Sub Editor and Monitoring Viewer.
  3. Create a JSON key for the service account and download it.

In Play Console, under Users and permissions:

  1. Invite the service account email.
  2. Grant app-level access to the app.
  3. Grant those four account permissions.

Step 3: Connect Google Play in RevenueCat

In the RevenueCat dashboard, open the Android app settings:

  1. Confirm the package name matches Play Console.
  2. Upload the service account JSON key file.
  3. Save.

RevenueCat validates the credential by calling the Play Developer API. If validation fails, the common causes are missing API enablement, wrong project, or the service account not yet propagated in Play (allow up to 36 hours; editing and saving any product description in Play Console often speeds this up).

Step 3b: Connect Real Time Developer Notifications

RevenueCat strongly recommends connecting Google Real Time Developer Notifications (RTDN), and requires it for DEFERRED plan changes and for one time product refund and void tracking.

  1. In the RevenueCat Play app settings, click Connect to Google to get a Pub/Sub topic ID.
  2. In Play Console, go to Monetize > Monetization setup > Real Time Developer Notifications, paste the topic, and choose "Get all notifications for subscriptions and one-time products" (RevenueCat's guide shows it as "Subscriptions, voided purchases, and all one-time products").
  3. Send a test notification and confirm the RevenueCat dashboard shows "Last received".

Step 4: Create entitlements

Entitlements are the access levels your app checks. Define them once, reference them everywhere in client code.

In the dashboard under Entitlements, create one per access tier. Most apps ship with a single entitlement.

IdentifierDescription
pro_accessUnlocks premium features
team_accessUnlocks team features (second tier, optional)

Use a stable identifier. Renaming an entitlement later means rewriting every feature gate.

Step 5: Import products and attach entitlements

Under Products, click Import. RevenueCat pulls the Play catalog through the connected service account.

  1. Select each product you want RevenueCat to manage.
  2. Attach each product to an entitlement. Purchasing the product grants that entitlement.

A single entitlement can back many products (monthly, annual, lifetime all unlock pro_access).

Step 6: Create an offering

Offerings drive what a user sees on the paywall. One offering groups multiple packages.

Under Offerings:

  1. Create an offering (for example, default).
  2. Add packages. Pick a package type (Monthly, Annual, Lifetime, or custom) and assign a product.
  3. Make one offering the Default offering (the SDK returns it as offerings.current).

The Android SDK fetches offerings.current to show the default paywall. Swap the current offering later from the dashboard without shipping an app update.

Step 7: Copy the Android API key

In the Android app settings, copy the public SDK API key. This value is the second argument to PurchasesConfiguration.Builder. The skill configuring-the-sdk uses it.

kotlin
// Handed off to configuring-the-sdk
val revenueCatApiKey = "goog_xxxxxxxxxxxxxxxxxxxxxxxx"

Phase 4: Verify

Confirm the dashboard and Play Console are wired together before moving to SDK work.

CheckHow to verifyPass signal
Service account acceptedRevenueCat app settings, Google Play sectionShows connected with a green indicator
Real Time Developer Notifications connectedRevenueCat app settings, Google Play sectionShows "Last received" after a test notification
Products importedProducts tab in dashboardPlay products appear with live prices
Entitlement attachmentsOpen each productShows the attached entitlement
Default offeringOfferings tabOne offering marked Default
Package product linksOpen the current offeringEach package shows a product identifier
API key scopeProject settings, API keysAndroid key is distinct from iOS and web keys

Ask the user to confirm each row. If a product shows no price, the service account is connected but the product is not active in Play. Fix the Play listing, then re-import.

Hand off to configuring-the-sdk with:

  • The Android API key
  • The current offering identifier
  • The entitlement identifiers the app will check

References

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Setup؟

Use this skill when setting up a RevenueCat project for Android: creating the app in the dashboard, uploading the Google Play service account credentials, connecting Real Time Developer Notifications, configuring entitlements and offerings, and getting the public SDK API key for the Android app.

لماذا تستخدم Setup على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Setup عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Setup في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/RevenueCat/play-billing-skills/tree/main/revenuecat/setup. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Setup؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Setup؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Setup معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Setup مجانية؟

نعم. نشرها RevenueCat على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇