AgentSkillsCN

cc-cursor-cc

在修复 SonarQube 质量门禁失败时,可优先选用此技能。它会运行 sonarqube-check 技能以识别失败原因,修复已发现的问题,然后利用 git-commit 技能提交更改。

SKILL.md
--- frontmatter
name: cc-cursor-cc
description: "Validates brainstormed ideas with Cursor PM, updates Plans.md, then handoff back. 2-Agent workflow support."
allowed-tools: ["Read", "Write", "Edit", "Bash"]
user-invocable: false

CC-Cursor-CC Skill (Plan Validation Round Trip)

Supports the flow of sending brainstormed content from Claude Code to Cursor (PM) for feasibility validation.

Prerequisites

This skill assumes 2-agent operation.

RoleAgentDescription
PMCursorValidate plans, update Plans.md
ImplClaude CodeBrainstorming, implementation

Execution Flow

Step 1: Extract Brainstorming Context

Extract from recent conversation:

  1. Goal (feature/purpose)
  2. Technology choices
  3. Decisions made
  4. Undecided items
  5. Concerns

Step 2: Add Provisional Tasks to Plans.md

markdown
## 🟠 Under Validation: {{Project}} `pm:awaiting-validation`

### Provisional Tasks (To Validate)
- [ ] {{task1}} `awaiting-validation`
- [ ] {{task2}} `awaiting-validation`

### Undecided Items
- {{item1}} → **Requesting PM decision**

Step 3: Generate Validation Request for Cursor

Generate text to copy-paste to Cursor:

markdown
## 📋 Plan Validation Request

**Goal**: {{summary}}

**Provisional tasks**:
1. {{task1}}
2. {{task2}}

### ✅ Requesting Cursor (PM) to:
1. Validate feasibility
2. Break down tasks
3. Decide undecided items
4. Update Plans.md (awaiting → cc:TODO)

Step 4: Guide Next Action

  1. Copy & paste request to Cursor
  2. Run /plan-with-cc in Cursor
  3. Cursor updates Plans.md
  4. Cursor runs /handoff-to-claude
  5. Copy & paste back to Claude Code

Overall Flow

code
Claude Code (Brainstorm)
    ↓ /cc-cursor-cc
Cursor (PM validates & breaks down)
    ↓ /handoff-to-claude
Claude Code (/work implements)