/cursor-pack:cursor-ai-chatfrom cursor-pack
Teaches how to use Cursor AI Chat effectively: @-mentions, inline edit (Cmd+K), chat panel (Cmd+L), and context management patterns.
Ships in cursor-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Master the Cursor AI Chat panel and inline edit for code assistance, debugging, and exploration.
The side-panel chat for conversational code assistance:
┌─────────────────────────────────┐
│ Chat [M] │ ← Model selector
│─────────────────────────────────│
│ Context Pills: │
│ [main.ts] [utils/] [@Web] │ ← Active context shown as pills
│─────────────────────────────────│
│ User: Explain the auth flow │
│ in @src/auth/middleware.ts │
│ │
│ AI: The middleware checks... │
│─────────────────────────────────│
│ [Type message...] [Send] │
└─────────────────────────────────┘
Key actions:
Cmd+L to add selection as contextCmd+Shift+L adds selection to existing chat without clearingSurgical edits within the editor. Select code (or place cursor), press Cmd+K, type instruction:
Selected: function calculateTotal(items) { ... }
Prompt: "Add TypeScript types and handle empty array edge case"
Result: Cursor shows diff inline -- green for additions, red for removals.
Press Cmd+Y to accept, Esc to reject.
Best for single-function edits, type annotations, refactoring a specific block, adding error handling.
Type @ in chat to access context sources:
| Symbol | Purpose | Example |
|---|---|---|
@Files | Reference specific files | @src/utils/auth.ts |
@Folders | Include directory contents | @src/components/ |
@Code | Reference specific symbols | @handleSubmit function |
@Docs | External documentation | @Docs React Router |
@Git | Git diff context | @Git (uncommitted changes) |
@Codebase | Semantic search full codebase | @Codebase where is auth handled? |
@Web | Live web search | @Web latest Next.js 15 changes |
@Definitions | Symbol definitions | Jump to type/function definitions |
@Cursor Rules | Active project rules | Show which rules are loaded |
@Recent Changes | Recent file edits | Context from recent modifications |
@Lint Errors | Current lint issues | Fix active linting problems |
Register external docs for @Docs lookup:
Cursor Settings > Features > DocsAdd new dochttps://react.dev/reference/react (Cursor crawls and indexes it)@Docs React then ask questionsWorks with any documentation site. Good for framework APIs, internal wikis, design systems.
@src/api/orders.ts @src/types/order.ts
The createOrder function doesn't validate the shipping address.
Add Zod validation that checks: street, city, state (2-letter), zip (5 or 9 digit).
Throw a typed ValidationError if invalid.
@src/api/users.ts
Create a new file src/api/products.ts following the exact same pattern
as the users API. CRUD endpoints, same error handling, same response format.
Product fields: id, name, price (cents), category, createdAt.
@src/hooks/useAuth.ts @Lint Errors
The useAuth hook causes an infinite re-render loop when the token expires.
The useEffect fires repeatedly. What's the root cause and how do I fix the
dependency array?
@src/components/ @src/api/
I need to add real-time notifications. The app uses REST APIs currently.
Should I add WebSockets, SSE, or polling? Consider the existing architecture
shown in these directories.
Start new chats for new topics. Long conversations degrade response quality as context fills up.
When to start fresh:
When to continue:
Switch models using the dropdown in chat header:
| Task | Recommended Model |
|---|---|
| Quick questions, explanations | GPT-4o, Claude Sonnet |
| Complex refactoring, architecture | Claude Opus, GPT-5 |
| Bug hunting, reasoning | o1, o3 reasoning models |
| Speed-critical simple tasks | cursor-small, GPT-4o-mini |
| Auto (let Cursor decide) | Auto mode |
| Feature | Chat (Cmd+L) | Inline (Cmd+K) | Composer (Cmd+I) |
|---|---|---|---|
| Scope | Exploration, Q&A | Single block edit | Multi-file changes |
| Context | Conversation history | Selected code | Project-wide |
| Output | Text + code snippets | Inline diff | File-level diffs |
| Best for | Understanding, planning | Quick fixes, types | Features, scaffolding |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cursor, ai-chat, inline-edit, cmd-k, cmd-l, context-management
npx claudepluginhub flight505/skill-forge --plugin cursor-pack30 skills in this plugin
/cursor-advanced-composerAdvanced Cursor Composer techniques: agent mode, parallel agents, complex refactoring, and multi-step
orchestration. Triggers on "advanced composer", "composer patterns", "multi-file generation",
"composer refactoring", "agent mode", "parallel agents".
/cursor-api-key-managementConfigure BYOK API keys for OpenAI, Anthropic, Google, Azure, and custom models in Cursor.
Triggers on "cursor api key", "cursor openai key", "cursor anthropic key", "own api key cursor",
"BYOK cursor", "cursor azure key".
/cursor-codebase-indexingSet up and optimize Cursor codebase indexing for semantic code search and @Codebase queries.
Triggers on "cursor index", "codebase indexing", "index codebase", "cursor semantic search",
"@codebase", "cursor embeddings".
/cursor-common-errorsTroubleshoot common Cursor IDE errors: authentication, completion, indexing, API, and performance
issues. Triggers on "cursor error", "cursor not working", "cursor issue", "cursor problem",
"fix cursor", "cursor crash".
/cursor-compliance-auditCompliance and security auditing for Cursor IDE usage: SOC 2, GDPR, HIPAA assessment, evidence
collection, and remediation. Triggers on "cursor compliance", "cursor audit", "cursor security review",
"cursor soc2", "cursor gdpr", "cursor data governance".
/cursor-composer-workflowsMaster Cursor Composer for multi-file AI editing, scaffolding, and refactoring. Triggers on "cursor composer",
"multi-file edit", "cursor generate files", "composer workflow", "cursor scaffold", "Cmd+I".
Other plugins' skills for the same job