Add cursor-sdk plugin#60
Merged
roshansada merged 1 commit intomainfrom Apr 28, 2026
Merged
Conversation
Wires the existing @cursor/sdk skill (sourced from anysphere/everysphere packages/cursor-sdk/skill/cursor-sdk) into the plugins marketplace as a standalone cursor-sdk plugin: SKILL.md, the seven reference files (runtime-choice, auth, error-handling, streaming, mcp, advanced, patterns), plugin.json, README, LICENSE, and the marketplace.json + README.md entries. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cursor-sdkplugin into the marketplace as a standalone plugin.SKILL.mdplus the seven reference files —runtime-choice.md,auth.md,error-handling.md,streaming.md,mcp.md,advanced.md,patterns.md— undercursor-sdk/skills/cursor-sdk/..cursor-plugin/marketplace.jsonand adds a row to the top-level plugins table inREADME.md.What it covers
The skill helps users build apps, scripts, CI pipelines, and automations on top of the Cursor TypeScript SDK: the three invocation patterns (
Agent.prompt,Agent.create+agent.send,Agent.resume), the top traps (silent local-vs-cloud default,CursorAgentErrorvsresult.status === "error", async dispose,wait()is required, runtime capability checks), runtime selection, auth, model selection, observing existing runs, and production best practices. The reference files are loaded only when the user's task clearly falls inside one of them.Test plan
node scripts/validate-plugins.mjspasses afternpm install --no-save ajv ajv-formats(same command thevalidate-plugins.ymlworkflow runs).Validate pluginsworkflow passes on this PR./add-plugin cursor-sdkand confirm the skill is discoverable and thereferences/*.mdresolve fromSKILL.md.Made with Cursor