본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)15k · #11006

port-github-app-to-origin

하는 일

스킬은 GitHub 앱의 코드를 읽고, 필요한 것을 Origin API와 비교합니다. GitHub 앱에서 Origin 앱으로 옮기는 계획을 세우는 팀을 위한 스킬입니다.

사용하는 경우

  • ✓기존 GitHub 앱을 Origin으로 옮기고 싶을 때.
  • ✓앱이 어떤 Origin 기능에 의존하는지 알아야 할 때.
  • ✓코딩을 시작하기 전에 팀에 물어볼 질문이 담긴 서면 계획을 원하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/cursor/plugins/blob/main/origin-apps/skills/port-github-app-to-origin/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“GitHub 리뷰 봇을 Origin 앱으로 옮기는 계획을 세우고, Origin에 없어서 필요한 기능을 나열해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 앱 코드에서 권한, 웹훅 이벤트, API 호출, 인증을 찾아 Origin 문서와 대응시킵니다. 코드는 바꾸지 않고, 팀을 위한 브리프와 Cursor를 위한 피드백 노트를 작성합니다.

기술 내용 (원본 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:

  1. 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.
  2. 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: in openapi.yaml marks every operation with its scopes; the operationId sits a line above.
  • x-origin-webhook-events: in openapi.yaml marks every webhook payload schema with the event slugs that deliver it.
  • ### <Endpoint name> and ### <Payload type> headings in llms-full.txt start 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" in references/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.scopes over 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.type carries 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

자주 묻는 질문

코드를 바꾸나요?

아니요. 이 스킬은 계획만을 위한 것이며, 브리프를 읽은 뒤 요청할 때만 코드를 바꿉니다.

Cursor에 보내는 피드백에는 무엇이 들어가나요?

앱이 해야 하는 일과 Origin에 없는 것을 사용 사례로 적습니다. 파일 경로나 저장소 이름은 넣지 않습니다.

코드에 없는 내용은 어떻게 하나요?

추측하지 않고, 팀이 답해야 할 질문으로 기록합니다.

상세 정보

작성자의 원본 설명

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
라이선스
—
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬