Cursor
БесплатноБез исполняемых скриптовНе проверенUse Cursor safely across editor, CLI, rules, background agents, Bugbot, and MCP workflows with repo-aware context and reviewable execution.
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
When to Use
User wants to operate Cursor as a real coding environment instead of a vague AI editor: choose the right surface, shape repo context, set rules correctly, use cursor-agent, run Background Agents, review with Bugbot, or decide whether MCP and remote execution are acceptable.
Use this skill when the hard part is not "write code" but "make Cursor behave predictably" across editor chat, Agent or Ask flows, CLI runs, project rules, repo indexing, remote agents, GitHub integration, and privacy-sensitive work.
Architecture
Memory lives in ~/cursor/. If ~/cursor/ does not exist, run setup.md. See memory-template.md for structure.
~/cursor/
|-- memory.md # Durable activation boundaries and workflow defaults
|-- repo-profiles.md # Per-repo conventions, trust posture, and verification expectations
|-- rules-notes.md # Project-rule strategy, legacy rule cleanup, and instruction hierarchy notes
|-- privacy.md # Indexing, ignore, remote execution, and data-handling defaults
|-- remote-workflows.md # Background Agent, Bugbot, and GitHub integration decisions
`-- incidents.md # Repeated failures, wrong-surface runs, and recovery patterns
Quick Reference
Load only the smallest file needed for the current blocker.
| Topic | File |
|---|---|
| Setup guide | setup.md |
| Memory template | memory-template.md |
| Install and choose the right Cursor surface | install-and-surfaces.md |
| Rules, context hierarchy, and mode choice | rules-and-context.md |
cursor-agent, non-interactive runs, and MCP boundaries |
cli-and-mcp.md |
| Background Agents, Bugbot, and GitHub-connected workflows | background-agents-and-bugbot.md |
| Privacy mode, indexing, and ignore files | privacy-and-indexing.md |
| Recovery playbooks for auth, bad context, and remote-run mistakes | troubleshooting.md |
Requirements
- Cursor installed and usable on the target machine, or permission to guide installation.
cursor-agentavailable when the task depends on CLI or automation workflows.gitavailable for repo-aware work, diff review, branch handling, Background Agents, or Bugbot.- Explicit user approval before enabling Background Agents, granting GitHub app write access, using remote MCP servers, or running high-trust non-interactive commands.
- Treat model names, mode behavior, CLI flags, and remote-workflow features as live product surface: verify against official Cursor docs or current CLI help instead of assuming stale behavior.
Operating Coverage
This skill treats Cursor as an operational coding system, not as generic editor advice. It covers:
- editor-side usage across Agent, Ask, Manual, and custom mode patterns
- project rules through
.cursor/rules, user rules, and repo-level agent guidance, with.cursorrulestreated as legacy - context shaping through repo boundaries, indexing, and ignore files
- local and non-interactive
cursor-agentworkflows, including resume and MCP-aware execution - Background Agents and Bugbot when work shifts from local interaction to remote GitHub-connected execution
- privacy, data exposure, and review discipline when Cursor features move code or prompts off the local machine
Data Storage
Keep only durable Cursor operating context in ~/cursor/:
- which repos, teams, or task types are approved for Cursor use
- preferred surface by task type: editor, CLI, Background Agent, or Bugbot
- rule hierarchy decisions and recurring
.cursor/rulespatterns that worked - privacy and trust defaults around indexing, ignore files, GitHub integration, and remote MCP
- repeated failures such as wrong repo scope, ignored rules, unsafe non-interactive runs, or remote review noise
Core Rules
1. Lock the Cursor Surface First
- Name the active surface before doing anything else: editor Agent, Ask, Manual, custom mode,
cursor-agent, Background Agent, or Bugbot. - Each surface changes permissions, context loading, and review expectations.
- Advice that ignores the surface usually causes the wrong workflow or trust level.
2. Establish the Instruction Hierarchy Before Prompting
- Check for project rules in
.cursor/rules, repo agent guidance, and any team-level user rules before asking Cursor to act. - Treat
.cursorrulesas a legacy format that may still exist but should not be your default design target. - If rules conflict or are too broad, fix the rule layout before expanding the prompt.
3. Shape Context Deliberately
- Control what Cursor sees through repo selection, indexing posture, and ignore files instead of assuming it "just knows the repo."
- Use
.cursorignoreand.cursorindexingignorefor context control, but never treat them as perfect secret barriers. - When a task is narrow, reduce context first instead of adding more instructions later.
4. Separate Local Work From Remote Work
- Editor Agent and local CLI use are different from Background Agents and Bugbot.
- R
Установить Cursor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Cursor?
Use Cursor safely across editor, CLI, rules, background agents, Bugbot, and MCP workflows with repo-aware context and reviewable execution.
Как установить скилл Cursor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Cursor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic