Iván

Cursor

开发编程v1.0.0
作者:Iván更新于 2026-05-11cursor@clawhub_ivangdavila/cursor
代码生成Bug 修复

据 AlphaMoat 统计,截至 2026-09,Cursor 累计下载 2,374 次、获 4 个星标,在全部 5,078 个 AI 技能中排名第 4,193 位,在「开发编程」分类(577 个)中排名第 517 位。

累计安装
104
累计下载
2,374
星标
4
全站排名
#4,193
全站前 83% · 「开发编程」前 90%
平台累计安装累计下载星标评论
ClawHub ↗622,1844-
SkillHub ↗1042,3743—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

它涵盖编辑器与命令行工作方式、项目规则、仓库上下文与索引控制,以及 Background Agents、Bugbot 和 MCP 等远程或集成功能。指南强调先确认当前操作界面、数据流与项目规则;远程执行和非交互高信任模式需要明确审批,结束时应留下可检查的 diff 或验证结果。

资料发布于 2026-10-29

可以用来做什么

  • 根据任务选择合适的 Cursor 编辑器或 CLI 工作方式。
  • 整理项目规则、上下文范围和隐私设置。
  • 评估远程代理、Bugbot 或 MCP 是否适合当前任务。

什么时候用

  • 需要在不同 Cursor 使用界面之间选择工作流程时。
  • 要处理仓库隐私、远程执行或集成权限时。
  • 希望让代理工作留下可复核产物时。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

为这个任务确定应使用 Cursor 编辑器、CLI 还是远程代理,并列出需要先核实的权限。
检查这份计划是否明确仓库范围、上下文数据流和最终审查证据。

月度数据趋势

累计下载2,374
7701,6322,4932026-03 · 累计下载 8892026-05 · 累计下载 1,4502026-06 · 累计下载 1,6002026-07 · 累计下载 1,8682026-08 · 累计下载 2,0212026-09 · 累计下载 2,37426-0326-09
星标4
2342026-03 · 星标 22026-05 · 星标 32026-06 · 星标 32026-07 · 星标 32026-08 · 星标 42026-09 · 星标 426-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。 该技能有同名的其他版本,调整前的数据归属当前下载量最大的这一个。

月份累计下载环比星标
2026-092,374—4
2026-082,021+8.2%4
2026-071,868+16.8%3
2026-061,600+10.3%3
2026-051,450—3
2026-03889—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

11 KB · ClawHub v1.0.0
---
name: Cursor
slug: cursor
version: 1.0.0
homepage: https://clawic.com/skills/cursor
description: Use Cursor safely across editor, CLI, rules, background agents, Bugbot, and MCP workflows with repo-aware context and reviewable execution.
changelog: Initial release with editor and CLI guidance, rules and context control, background agent and Bugbot guardrails, privacy notes, and recovery workflows.
metadata: {"clawdbot":{"emoji":"⌨️","requires":{"bins":["cursor-agent"],"bins.optional":["cursor","git","rg"],"config":["~/cursor/"]},"os":["linux","darwin","win32"],"configPaths":["~/cursor/"]}}
---
展开全部(共 184 行)
## 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.

```text
~/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-agent` available when the task depends on CLI or automation workflows.
- `git` available 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 `.cursorrules` treated as legacy
- context shaping through repo boundaries, indexing, and ignore files
- local and non-interactive `cursor-agent` workflows, 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/rules` patterns 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 `.cursorrules` as 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 `.cursorignore` and `.cursorindexingignore` for 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.
- Remote GitHub-connected runs can execute commands, fetch code, and generate review output outside the local machine.
- Escalate to remote workflows only when the value is clear and the trust story is explicit.

### 5. Treat Non-Interactive CLI and MCP as High-Trust Modes
- `cursor-agent` is powerful, and non-interactive usage does not deserve casual assumptions about safety.
- Review MCP server scope, host, and side effects before turning it on.
- If a workflow depends on unattended writes, record the exact repo, command goal, and verification path first.

### 6. Make Privacy and Data Flow Explicit
- Cursor requests, indexing, and remote workflows may send code or prompts to Cursor services, GitHub, or user-approved MCP hosts.
- Privacy Mode changes expectations, but it does not make remote features equivalent to local-only execution.
- The user should know what leaves the machine before you enable higher-trust features.

### 7. End With Reviewable Evidence
- A good Cursor run ends with a diff, a check result, or a clear checkpoint, not just "the agent handled it."
- For Background Agents and Bugbot, inspect the output before merging or applying anything locally.
- Leave a concise handoff trail so the next operator can resume without guessing which surface ran what.

## Cursor Traps

- Treating every Cursor feature as local-only -> remote execution and GitHub-connected workflows get approved without real review.
- Dumping instructions into chat before checking `.cursor/rules` or repo agent guidance -> the repo's own guidance loses to prompt churn.
- Assuming `.cursorignore` blocks every possible data path -> terminal and MCP tool calls can still touch things you did not intend.
- Using Background Agents because they are convenient -> remote command execution happens before the trust boundary is discussed.
- Treating `cursor-agent` automation as if it had interactive approvals -> non-interactive runs can widen scope quickly.
- Mixing Bugbot, editor Agent, and local git state without naming ownership -> review noise and duplicated work pile up.
- Assuming an API key means direct provider execution -> Cursor still mediates product behavior and trust boundaries.

## External Endpoints

Only these endpoint categories are allowed unless the user explicitly approves more:

| Endpoint | Data Sent | Purpose |
|----------|-----------|---------|
| https://cursor.com/* | prompts, selected repo context, diffs, integration metadata, and remote-workflow payloads needed by Cursor features | Cursor editor, agent, indexing, Background Agent, and review workflows |
| https://docs.cursor.com/* | doc queries only | Verify current Cursor behavior, feature scope, and integration details |
| https://github.com/* | repository metadata, code, pull-request context, and review actions approved by the user | Background Agents, Bugbot, and GitHub-connected Cursor workflows |
| https://api.github.com/* | repository, branch, PR, and review metadata approved by the user | GitHub API access used by Cursor-connected review and remote execution flows |
| https://{user-approved-mcp-host} | request payloads required by the approved MCP server | Optional MCP tool access beyond the local machine |

No other data is sent externally unless the user explicitly approves more hosts or integrations.

## Security & Privacy

Data that leaves your machine:
- prompts and selected code context sent to Cursor services
- indexing-related code chunks or metadata needed for Cursor codebase features
- optional repo, branch, and PR context when Background Agents or Bugbot use GitHub-connected flows
- optional MCP payloads only for user-approved MCP servers

Data that stays local:
- durable operating notes under `~/cursor/`
- local repo state, local rules, and diffs unless the user enables remote features
- any ignored or unshared files that never enter a Cursor request or approved tool call

This skill does NOT:
- treat `.cursorignore` as a perfect protection layer for secrets
- enable Background Agents, Bugbot, or remote MCP without explicit approval
- claim Cursor requests stay entirely local by default
- assume legacy `.cursorrules` is still the right target for new setups
- modify its own skill files

## Trust

By using this skill, prompts and selected code context may be sent to Cursor services, plus optional GitHub and user-approved MCP hosts.
Only install if you trust those services with that data.

## Scope

This skill ONLY:
- helps operate Cursor safely across editor, CLI, rules, indexing, remote agents, and review workflows
- structures repo work into the right local or remote execution surface
- keeps durable notes for approved repos, rule strategy, privacy posture, and recurring failure fixes

This skill NEVER:
- blur the line between local editor help and remote Background Agent execution
- claim ignore files solve every privacy or access problem
- recommend unattended high-trust Cursor runs as a default
- treat Cursor as just another generic chat wrapper

## Related Skills
Install with `clawhub install <slug>` if user confirms:
- `agentic-engineering` - Strengthen multi-agent workflow design, review discipline, and blast-radius thinking around Cursor usage.
- `coding` - Improve implementation quality once Cursor is operating inside the right repo boundaries.
- `git` - Handle branches, diffs, stashes, and non-destructive repo recovery around Cursor-driven changes.
- `api` - Reuse request-debugging and integration patterns when Cursor work touches external services.
- `workflow` - Turn recurring Cursor tasks into cleaner, repeatable operating procedures.

## Feedback

- If useful: `clawhub star cursor`
- Stay updated: `clawhub sync`

「开发编程」分类下的热门技能

Iván 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。