What problem does it solve?
This Skill addresses the challenges of integrating and using the Cursor SDK, which enables programmatically running Cursor agents in TypeScript or Python.
Core Features & Use Cases
- Language Variant Selection: Assists in choosing the right programming language (TypeScript or Python) based on user input and codebase context.
- Voice and Posture Guidance: Provides instructions on the appropriate communication style and design approach for effective use of the SDK.
- Invocation Patterns: Explains three key invocation patterns for using the SDK, including
Agent.prompt, Agent.create with agent.send, and Agent.resume.
- Troubleshooting: Offers insights into common issues such as incorrect runtime selection, failure to execute, and resource leakage.
Quick Start
Run the following command to start using the Cursor SDK in Python:
agent.send("Start an agent to perform the task")