Skip to content

Add cursor-sdk plugin#60

Merged
roshansada merged 1 commit intomainfrom
roshansada/add-cursor-sdk-plugin
Apr 28, 2026
Merged

Add cursor-sdk plugin#60
roshansada merged 1 commit intomainfrom
roshansada/add-cursor-sdk-plugin

Conversation

@roshansada
Copy link
Copy Markdown
Collaborator

@roshansada roshansada commented Apr 28, 2026

Summary

  • Adds a new cursor-sdk plugin into the marketplace as a standalone plugin.
  • Ships the full skill: SKILL.md plus the seven reference files — runtime-choice.md, auth.md, error-handling.md, streaming.md, mcp.md, advanced.md, patterns.md — under cursor-sdk/skills/cursor-sdk/.
  • Registers the plugin in .cursor-plugin/marketplace.json and adds a row to the top-level plugins table in README.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, CursorAgentError vs result.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.mjs passes after npm install --no-save ajv ajv-formats (same command the validate-plugins.yml workflow runs).
  • CI Validate plugins workflow passes on this PR.
  • Manual smoke: install via /add-plugin cursor-sdk and confirm the skill is discoverable and the references/*.md resolve from SKILL.md.

Made with Cursor

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
@roshansada roshansada merged commit 739bb28 into main Apr 28, 2026
1 check passed
@roshansada roshansada deleted the roshansada/add-cursor-sdk-plugin branch April 28, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant