本文へスキップ
Skillpedia
APIとサーバー(バックエンド)15k · #11005

origin-api

できること

このスキルは、エージェントを正しいOrigin APIのドキュメントに導き、確認すべきルールを示します。Originアプリを作ったり、Originのwebhookを扱ったりする開発者向けです。

使う場面

  • ✓タスクにOrigin API、Originアプリ、Originのwebhookが出てくるとき。
  • ✓Originアプリを作成する、またはそれとして認証する必要があるとき。
  • ✓webhookの配信を扱う、またはOriginのエンドポイントを呼び出すとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/cursor/plugins/blob/main/origin-apps/skills/origin-api/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Originアプリを認証して、リポジトリのエンドポイントを呼び出すにはどうすればよいですか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、公式のOriginドキュメントの索引から始めて、質問に答えるセクションだけを読み、リポジトリがネイティブかGitHubのミラーかといったルールを確認します。エンドポイント名は記憶に頼らず、ドキュメントから確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.

よくある質問

エンドポイント名を推測しますか?

いいえ。エンドポイント、スコープ、制限はドキュメントから得られ、ドキュメントは記憶より優先されます。

ネイティブのリポジトリとは何ですか?

Origin上に作られたリポジトリで、フルのスコープとすべての書き込み操作があります。GitHubのミラーは制限が多くなります。

webhookのペイロードも扱いますか?

はい。ドキュメントには、各webhookイベントのペイロードのリファレンスが含まれています。

詳細

作者による元の説明

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

人気

GitHubのスター
15k
ランキング
#11005
ライセンス
—
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル