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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
- 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.pushedstill arrives, every call beyond metadata and contents reads returns403, and merging a pull request or changing the default branch is not available ("Mirrored repositories", "Events"). - Subscribe. Only
installation.*events arrive without a subscription. A missing subscription produces silence, not an error ("Events"). - 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. - Scopes from the spec. Request the union of
x-origin-scopes.scopesover the operations the app calls ("Scopes"). - 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
コメント
- …
このリポジトリの他のスキル
advisor
15k重要な判断の前や、エラーで行き詰まったときなど、要所でより強力な第二のモデルに相談させます。機能をオンにしている場合のみ動きます。
check-agent-compatibility
15kAIコーディングエージェントがリポジトリを起動し、検証し、文書化できるかを包括的に確認し、主な問題とともに1つの互換性スコアを返します。
cli-for-agents
15kAIエージェントがプロンプトなしで実行でき、わかりやすいヘルプ文と例を備えるように、コマンドラインツールを設計または確認する方法をエージェントに教えます。
continual-learning
15k過去のチャットを確認する作業を専用のメモリ更新エージェントに任せることで、AGENTS.mdのメモを最新に保ちます。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。