port-github-app-to-origin
यह क्या करती है
यह स्किल आपके GitHub App का कोड पढ़ती है और उसकी ज़रूरतों की तुलना Origin API से करती है। यह उन टीमों के लिए है जो GitHub App से Origin App में जाने की योजना बना रही हैं।
कब इस्तेमाल करें
- ✓जब आप मौजूदा GitHub App को Origin पर लाना चाहते हैं।
- ✓जब आपको पता करना है कि आपका ऐप किन Origin सुविधाओं पर निर्भर है।
- ✓जब आप कोडिंग शुरू होने से पहले टीम के सवालों के साथ लिखित योजना चाहते हैं।
Skill का लिंक
https://github.com/cursor/plugins/blob/main/origin-apps/skills/port-github-app-to-origin/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे GitHub review bot को Origin App में ले जाने की योजना बनाइए और बताइए कि उसके लिए Origin में क्या कमी है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट ऐप के कोड में permissions, webhook events, API कॉल और प्रमाणीकरण खोजता है, फिर उन्हें Origin दस्तावेज़ से मिलाता है। वह टीम के लिए एक brief और Cursor के लिए एक feedback नोट लिखता है, बिना कोई कोड बदले।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Port a GitHub App to an Origin App
Run this inside the app's codebase. The output is a porting brief for the
team plus a Feedback for Cursor section they can send as is
(references/brief.md). This skill plans. It does not write or change code
unless the user asks for that after reading the brief. Follow the
origin-api skill for the docs and the rules to check first. Two more rules:
- Find it in the code, do not ask. Read what the app uses out of its source. Anything you cannot find becomes a question for the team.
- Feedback describes use cases, not the team's code. The team's parts of
the brief may cite
file:line. Feedback for Cursor says only what the app needs to do and what Origin lacks for it, in Origin terms, with no file paths, module names, framework details, or repository names.
What to find
Record file:line for each item, and note what you looked for but did not
find.
- Declared permissions and events, from a manifest or infrastructure code if one is checked in. Otherwise derive them from the calls.
- Every webhook event the app handles, and every payload field each handler reads, including fields it only logs.
- Every REST and GraphQL call, with the parameters and filters the code passes, the response fields it reads, whether it runs on every webhook or in a loop, and how it paginates.
- Authentication: the JWT algorithm, how the app learns the installation ID after install, how it handles token expiry, any user sign-in and what it is for, and whether the app clones or pushes git.
- The webhook receiver: how it verifies signatures, whether it has the raw body when it verifies, and how it deduplicates deliveries.
- Calls a framework or library makes for the app. Probot's receiver, token
cache, and config loader; Octokit
App's installation and repository listing; app-auth libraries. Read the dependency's docs and list these calls marked "from<dependency>".
How to map
A brief needs the whole spec, but openapi.yaml and llms-full.txt are
each several hundred kilobytes, too large to read into context whole. Save
them locally if you can, in a temporary location outside the app's
repository so nothing in the working tree is overwritten or left behind,
then search them and read only the matching part:
x-origin-scopes:inopenapi.yamlmarks every operation with its scopes; theoperationIdsits a line above.x-origin-webhook-events:inopenapi.yamlmarks every webhook payload schema with the event slugs that deliver it.### <Endpoint name>and### <Payload type>headings inllms-full.txtstart the section that spells out that endpoint's or payload's fields as dotted paths; read from the heading to the next###.
For a single question later, start at llms.txt and fetch just that
section.
- A matching name is a candidate, not an answer. Read the operation's description, parameters, and response fields against what the code passes and reads. If a parameter or field the code depends on is missing, that is a workaround or a gap, not a match.
- GitHub's pull request calls that live under
/issues/{n}/…(comments, labels) live under the pull request endpoints on Origin. If the code uses them on real issues, see "Where GitHub features live on Origin" inreferences/brief.md. - Origin has no GraphQL. Break each query into REST calls and record the fan-out.
- The scopes to request are the union of
x-origin-scopes.scopesover the operations you named. Do not translate the GitHub manifest. - Each GitHub event and action pair maps to at most one slug in "Events". The action is part of the slug. A pair with no slug is not an event on Origin.
- For each payload field the code reads, record whether it is in the
payload, in the delivery envelope around the payload (
event.typecarries the action), needs an extra read (say which operation and how many calls per event), can be computed from other fields, or is missing. Payloads are snapshots. A field the REST resource has but the payload lacks needs an extra read. - A capability the docs never mention is not available today. Ask the team about it. A behavior the docs neither confirm nor deny gets a question plus a step in the end-to-end test that checks it. Do not assume it works the way it did on GitHub.
Before finishing
Every claim about Origin points at something in the saved docs. Every gap has a feedback entry that names its cost
अक्सर पूछे जाने वाले सवाल
क्या यह मेरा कोड बदलता है?
नहीं। स्किल केवल योजना के लिए है, और brief पढ़ने के बाद आप माँगें तभी कोड बदलता है।
Cursor के लिए feedback में क्या जाता है?
ऐप को क्या करना है और Origin में क्या कमी है, use cases के रूप में, बिना फ़ाइल पथ या repository नाम के।
अगर कोई बात कोड में न मिले तो?
स्किल उसे अनुमान लगाने के बजाय टीम के लिए एक सवाल के रूप में दर्ज करती है।
जानकारी
लेखक का मूल विवरण
Plans the port of an existing GitHub App to a Cursor Origin App. Use when the task is to bring a GitHub App to Origin or compare what it uses against the Origin API. Reads the app's needs out of its code, maps them onto the live Origin spec, and writes a porting brief with feedback for Cursor. Planning only.
repo: cursor/plugins
लोकप्रियता
- GitHub स्टार
- 15k
- रैंकिंग में स्थान
- #11006
- लाइसेंस
- —
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
advisor
15kअगर आप इसे चालू करते हैं, तो आपका एजेंट बड़े फ़ैसले से पहले या किसी त्रुटि में अटकने पर एक ज़्यादा शक्तिशाली दूसरे मॉडल से सलाह ले सकता है।
check-agent-compatibility
15kजाँचती है कि AI कोडिंग एजेंट किसी रिपॉज़िटरी को शुरू, सत्यापित और दस्तावेज़ित कर सकते हैं या नहीं, और एक अनुकूलता स्कोर के साथ मुख्य समस्याएँ लौटाती है।
cli-for-agents
15kआपके एजेंट को कमांड-लाइन टूल ऐसे डिज़ाइन या जाँचना सिखाती है कि AI एजेंट उन्हें बिना प्रॉम्प्ट चला सकें, साफ़ help टेक्स्ट और उदाहरणों के साथ।
continual-learning
15kपिछली चैट की समीक्षा का काम एक समर्पित मेमोरी अपडेटर को सौंपकर आपकी AGENTS.md नोट्स को अद्यतन रखती है।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।