Agent skill · cursor
port-github-app-to-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.
What it needs
About 3k tokens when loaded.
What this skill does
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 use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills cursor/port-github-app-to-origin