Cursor plugin specification and official plugins
TypeScript
State the mirror rule as native versus GitHub mirror
Cursor Agent0390402f4dea
diff --git a/origin-apps/skills/origin-api/SKILL.md b/origin-apps/skills/origin-api/SKILL.mdindex 45c3addd..803dc25a 100644--- a/origin-apps/skills/origin-api/SKILL.md+++ b/origin-apps/skills/origin-api/SKILL.md@@ -31,15 +31,12 @@ heading or annotation you need, and read only the matching part. Cite## Rules to check first-1. **Native or mirror.** An installation keeps its full scopes only on- native repositories (created on Origin) and stable outbound mirrors- (Origin is the source and pushes to GitHub). A stable outbound mirror is- not a merge target: Merge Pull Request works only on native repositories,- and so does changing the default branch. Read each operation's description- for mirror limits.- On a repository mirrored from GitHub, every event except- `repository.pushed` still arrives, and every call beyond metadata and- contents reads returns `403` ("Mirrored repositories", "Events").+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 bodydiff --git a/origin-apps/skills/port-github-app-to-origin/references/brief.md b/origin-apps/skills/port-github-app-to-origin/references/brief.mdindex 4117c4f4..41640b75 100644--- a/origin-apps/skills/port-github-app-to-origin/references/brief.md+++ b/origin-apps/skills/port-github-app-to-origin/references/brief.md@@ -110,11 +110,10 @@ the app's own check runs or comments by author → the check run `key`, or amarker the app controls; user sign-in and acting as a user → "Acting onbehalf of users" (user confirmation receipt, installation user tokens).-Repositories mirrored from GitHub: an installation can only read metadata-and contents until the mirror becomes a stable outbound mirror (Origin is-the source and pushes to GitHub). Merging a pull request and changing the-default branch work only on native repositories, the ones created on Origin-("Mirrored repositories").+GitHub mirrors: an installation can only read metadata and contents, and+merging a pull request or changing the default branch is not available.+Every write needs a native repository, one created on Origin ("Mirrored+repositories").Not in the current spec (ask the team; feedback only if it blocks the mainflow): GraphQL (break each query into REST calls); Issues (pull request