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

origin-api

ما الذي تفعله

توجّه هذه المهارة وكيلك إلى وثائق Origin API الصحيحة وإلى القواعد التي يجب فحصها أولًا. وهي لمطوّرين يبنون Origin Apps أو يتعاملون مع خطافات الويب في Origin.

متى تستخدمها

  • ✓عندما تذكر المهمة Origin API أو Origin Apps أو خطافات Origin.
  • ✓عندما تحتاج إلى إنشاء Origin App أو المصادقة بوصفه.
  • ✓عندما تتعامل مع تسليمات الخطافات أو تستدعي نقاط نهاية Origin.

رابط المهارة

https://github.com/cursor/plugins/blob/main/origin-apps/skills/origin-api/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/cursor/plugins/blob/main/origin-apps/skills/origin-api/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“كيف أصادق Origin App الخاص بي وأستدعي نقاط نهاية المستودع؟”

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

كيف تعمل

يبدأ وكيلك من فهرس الوثائق الرسمية لـ Origin، ويقرأ القسم الذي يجيب عن سؤالك فقط، ويتحقق من قواعد مثل هل المستودع أصلي أم مرآة GitHub. ولا يعتمد على الذاكرة في أسماء نقاط النهاية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Origin API

The docs are the source of truth. Do not name an endpoint, scope, event slug, header, or limit from memory. Where this file and the docs disagree, the docs win.

The docs live under https://cursor.com/docs/api/origin/. llms.txt is the index and links every section, endpoint, and webhook payload. openapi.yaml is the contract, and "Endpoint reference" explains its x-origin-* extensions. llms-full.txt is the whole reference in one file. changelog says what moved. For one question, start at llms.txt and fetch only the section that answers it. llms-full.txt and openapi.yaml are each several hundred kilobytes, too large to read into context whole. When you need all of them, as a porting brief does, save them locally if you can, outside any repository you are working in, search them for the section heading or annotation you need, and read only the matching part. Cite operationIds and section names.

Rules to check first

  1. Native or mirror. A repository is either native (created on Origin) or a GitHub mirror. On a native repository an installation has its full scopes and every write. On a GitHub mirror, every event except repository.pushed still arrives, every call beyond metadata and contents reads returns 403, and merging a pull request or changing the default branch is not available ("Mirrored repositories", "Events").
  2. Subscribe. Only installation.* events arrive without a subscription. A missing subscription produces silence, not an error ("Events").
  3. Verify, dedupe, acknowledge. Verify the signature over the raw body before parsing, dedupe on the delivery ID, return 2xx, then process ("Signature verification", "Retries", "Automatic disable"). Origin signs a digest, which Standard Webhooks does not, so a generic verifier fails.
  4. Scopes from the spec. Request the union of x-origin-scopes.scopes over the operations the app calls ("Scopes").
  5. Opaque tokens and IDs. Do not build or parse page tokens or IDs ("Pagination", "IDs").

One section name the index does not make obvious: what happens to a check-run post that arrives out of order is under "Ordering writes".

Porting an existing GitHub App: use port-github-app-to-origin in this plugin.

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

هل يخمّن أسماء نقاط النهاية؟

لا. تأتي نقاط النهاية والنطاقات والحدود من الوثائق، وهي تتقدم على الذاكرة.

ما المستودع الأصلي؟

مستودع أُنشئ على Origin، وله نطاقات كاملة وكل إجراءات الكتابة. أما مرآة GitHub فلها حدود أكثر.

هل تغطي حمولات الخطافات؟

نعم. تحتوي الوثائق على مرجع للحمولة لكل حدث من أحداث الخطافات.

التفاصيل

الوصف الأصلي من المؤلف

Routes questions about the Cursor Origin API to the right section of the Origin docs and names the few rules to check first. Use when a task mentions Origin, the Origin API, Origin Apps, or Origin webhooks, including creating an Origin App, authenticating as one, calling Origin endpoints, or handling Origin webhook deliveries.

repo: cursor/plugins

الشعبية

نجوم GitHub
15k
الترتيب
#11005
الترخيص
—
آخر تحديث
31‏/10‏/2026

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

0

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

التعليقات

  • …

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

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