port-github-app-to-origin
O que ela faz
A skill lê o código do seu GitHub App e compara o que ele precisa com a API do Origin. É para equipes que planejam migrar de um GitHub App para um Origin App.
Quando usar
- ✓Quando você quer trazer um GitHub App existente para o Origin.
- ✓Quando você precisa saber de quais recursos do Origin seu app depende.
- ✓Quando você quer um plano escrito com perguntas para sua equipe antes de começar qualquer código.
Link da skill
https://github.com/cursor/plugins/blob/main/origin-apps/skills/port-github-app-to-origin/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Planeje como migrar nosso bot de revisão do GitHub para um Origin App e liste o que falta no Origin para ele.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente encontra no código do app as permissões, os eventos de webhook, as chamadas de API e a autenticação, e os associa à documentação do Origin. Ele escreve um briefing para a equipe e uma nota de feedback para o Cursor, sem alterar nenhum código.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Ela muda meu código?
Não. A skill serve apenas para planejar, e só altera código se você pedir depois de ler o briefing.
O que vai no feedback para o Cursor?
O que o app precisa fazer e o que o Origin não tem, escrito como casos de uso, sem caminhos de arquivos nem nomes de repositórios.
E se algo não estiver no código?
A skill registra isso como uma pergunta para sua equipe, em vez de chutar.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 15 mil
- Posição no ranking
- #11006
- Licença
- —
- Atualizada em
- 31/10/2026
Comentários
- …
Mais skills deste repositório
advisor
15 milPermite que seu agente consulte um segundo modelo mais forte em pontos-chave, como antes de uma decisão importante ou quando está travado em um erro, se você ativar.
check-agent-compatibility
15 milExecuta uma verificação completa de quão bem agentes de código de IA conseguem iniciar, verificar e documentar um repositório, e devolve uma única pontuação de compatibilidade com os principais problemas.
cli-for-agents
15 milEnsina seu agente a projetar ou revisar ferramentas de linha de comando para que agentes de IA consigam executá-las sem perguntas, com textos de ajuda claros e exemplos.
continual-learning
15 milMantém suas notas do AGENTS.md atualizadas, entregando o trabalho de revisar conversas passadas a um atualizador de memória dedicado.
Skills parecidas
api-connector-builder
280 milFaz seu agente construir novas conexões com APIs seguindo o padrão já existente. Use quando precisar adicionar mais uma integração sem criar um novo jeito de fazer.
api-design
280 milAjuda seu agente a projetar APIs REST seguindo as melhores práticas. É útil para definir como as APIs se comunicam, como os erros são mostrados e como organizar os dados.
backend-patterns
280 milAjuda seu agente com padrões de arquitetura do lado do servidor e otimização de banco de dados. É útil para construir ou revisar o código que roda no servidor.