Pular para o conteúdo
Skillpedia
APIs e servidores (backend)15 mil · #11005

origin-api

O que ela faz

A skill aponta o agente para a documentação correta da API do Origin e para as regras que devem ser conferidas primeiro. É para desenvolvedores que criam Origin Apps ou tratam webhooks do Origin.

Quando usar

  • ✓Quando uma tarefa menciona a API do Origin, Origin Apps ou webhooks do Origin.
  • ✓Quando você precisa criar um Origin App ou se autenticar como um.
  • ✓Quando você trata entregas de webhooks ou chama endpoints do Origin.

Link da skill

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

Copie 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

Use esta skill para me ajudar: https://github.com/cursor/plugins/blob/main/origin-apps/skills/origin-api/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Como eu autentico meu Origin App e chamo os endpoints de repositório?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente começa pelo índice oficial da documentação do Origin, lê apenas a seção que responde à sua pergunta e confere regras como se um repositório é nativo ou um espelho do GitHub. Ele não depende da memória para nomes de endpoints.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

Ele chuta nomes de endpoints?

Não. Endpoints, escopos e limites vêm da documentação, que prevalece sobre a memória.

O que é um repositório nativo?

Um repositório criado no Origin, que tem todos os escopos e todas as ações de escrita. Um espelho do GitHub tem mais limites.

Ela cobre o payload dos webhooks?

Sim. A documentação inclui uma referência de payload para cada evento de webhook.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
15 mil
Posição no ranking
#11005
Licença
—
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas