workflow-guide
Provides guidance on Cursor ↔ Claude Code 2-agent workflow. Use when user mentions ワークフローについて, Cursorとの連携, 作業の流れ, 2-agent workflow, collaboration. Do NOT load for: 実装作業, ワークフロー設定, ハンドオフ実行.
Best use case
workflow-guide is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Provides guidance on Cursor ↔ Claude Code 2-agent workflow. Use when user mentions ワークフローについて, Cursorとの連携, 作業の流れ, 2-agent workflow, collaboration. Do NOT load for: 実装作業, ワークフロー設定, ハンドオフ実行.
Teams using workflow-guide should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/workflow-guide/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How workflow-guide Compares
| Feature / Agent | workflow-guide | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Provides guidance on Cursor ↔ Claude Code 2-agent workflow. Use when user mentions ワークフローについて, Cursorとの連携, 作業の流れ, 2-agent workflow, collaboration. Do NOT load for: 実装作業, ワークフロー設定, ハンドオフ実行.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# Workflow Guide Skill
Cursor ↔ Claude Code 2エージェントワークフローのガイダンスを提供するスキル。
---
## トリガーフレーズ
このスキルは以下のフレーズで起動します:
- 「ワークフローについて教えて」
- 「Cursor との連携方法は?」
- 「作業の流れを教えて」
- 「どうやって進めればいい?」
- "how does the workflow work?"
- "explain 2-agent workflow"
---
## 概要
このスキルは、Cursor(PM)と Claude Code(Worker)の役割分担と連携方法を説明します。
---
## 2エージェントワークフロー
### 役割分担
| エージェント | 役割 | 責務 |
|-------------|------|------|
| **Cursor** | PM(プロジェクトマネージャー) | タスク割り当て、レビュー、本番デプロイ判断 |
| **Claude Code** | Worker(作業者) | 実装、テスト、CI修正、staging デプロイ |
### ワークフロー図
```
┌─────────────────────────────────────────────────────────┐
│ Cursor (PM) │
│ ・タスクを Plans.md に追加 │
│ ・Claude Code に作業を依頼(/handoff-to-claude) │
│ ・完了報告をレビュー │
│ ・本番デプロイの判断 │
└─────────────────────┬───────────────────────────────────┘
│ タスク依頼
▼
┌─────────────────────────────────────────────────────────┐
│ Claude Code (Worker) │
│ ・/work でタスク実行(並列実行対応) │
│ ・実装 → テスト → コミット │
│ ・CI 失敗時は自動修正(3回まで) │
│ ・/handoff-to-cursor で完了報告 │
└─────────────────────┬───────────────────────────────────┘
│ 完了報告
▼
┌─────────────────────────────────────────────────────────┐
│ Cursor (PM) │
│ ・変更内容を確認 │
│ ・staging 動作確認 │
│ ・本番デプロイ実行(承認後) │
└─────────────────────────────────────────────────────────┘
```
---
## Plans.md によるタスク管理
### マーカー一覧
| マーカー | 意味 | 設定者 |
|---------|------|--------|
| `pm:依頼中` | PM から依頼(互換: cursor:依頼中) | PM(Cursor/PM Claude) |
| `cc:TODO` | Claude Code 未着手 | どちらでも |
| `cc:WIP` | Claude Code 作業中 | Claude Code |
| `cc:完了` | Claude Code 完了 | Claude Code |
| `pm:確認済` | PM 確認完了(互換: cursor:確認済) | PM(Cursor/PM Claude) |
| `cursor:依頼中` | (互換)pm:依頼中 と同義 | Cursor |
| `cursor:確認済` | (互換)pm:確認済 と同義 | Cursor |
| `blocked` | ブロック中 | どちらでも |
### タスクの状態遷移
```
pm:依頼中 → cc:WIP → cc:完了 → pm:確認済
```
---
## 主要コマンド
### Claude Code 側
| コマンド | 用途 |
|---------|------|
| `/harness-init` | プロジェクトセットアップ |
| `/plan-with-agent` | 計画・タスク分解 |
| `/work` | タスク実行(並列実行対応) |
| `/handoff-to-cursor` | 完了報告(Cursor PMへ) |
| `/sync-status` | 状態確認 |
### スキル(会話で自動起動)
| スキル | トリガー例 |
|--------|-----------|
| `handoff-to-pm` | 「PMに完了報告」 |
| `handoff-to-impl` | 「実装役に渡して」 |
### Cursor 側(参考)
| コマンド | 用途 |
|---------|------|
| `/handoff-to-claude` | Claude Code にタスク依頼 |
| `/review-cc-work` | 完了報告のレビュー |
---
## CI/CD ルール
### Claude Code の責務範囲
- ✅ staging デプロイまで
- ✅ CI 失敗時の自動修正(3回まで)
- ❌ 本番デプロイは禁止
### 3回ルール
CI が 3回連続で失敗した場合:
1. 自動修正を中止
2. エスカレーションレポートを生成
3. Cursor に判断を委ねる
---
## よくある質問
### Q: Cursor がいない場合は?
A: 一人で作業する場合も、Plans.md でタスク管理することを推奨します。
本番デプロイは手動で慎重に行ってください。
### Q: タスクが不明確な場合は?
A: Cursor に確認を依頼するか、`/sync-status` で現状を整理してください。
### Q: CI が何度も失敗する場合は?
A: 3回以上は自動修正せず、Cursor にエスカレーションしてください。
---
## 関連ドキュメント
- AGENTS.md - 詳細な役割分担
- CLAUDE.md - Claude Code 固有の設定
- Plans.md - タスク管理ファイルRelated Skills
workflow-status
Display project workflow progress by reading handoff documents in .docs/ directory. This skill should be used when users want to check their workflow status, see what phase they're in, or when other workflow skills need to verify prerequisites. Provides reusable prerequisite-checking templates for integration with other workflow skills.
workflow-new-plugin
Guided workflow for creating a new Volon plugin — ideation, requirements, spec, plan, tasks.
workflow-integration-git
Git commit workflow with conventional commits, artifact cleanup, and optional push/PR creation
workflow-creator
Create complete Claude Code workflow directories with curated skills. Use when user wants to (1) create a new workflow for specific use case (media creator, developer, marketer, etc.), (2) set up a Claude Code project with pre-configured skills, (3) download and organize skills from GitHub repositories, or (4) generate README.md and AGENTS.md documentation for workflows. Triggers on phrases like "create workflow", "new workflow", "set up workflow", "build a xxx-workflow".
validate-guidelines
Empirically verify guideline changes by running before/after eval runs across multiple models and ensuring no regressions. Use when proposing or reviewing changes to runner/models/guidelines.ts, or when the user asks to validate guidelines.
testing-workflow
Integrated testing workflow combining all testing tools and MCPs. Use when deciding which testing tools to use, planning testing strategy, or executing tests in different environments and phases. Tags official skills: wallaby-testing, web-browser, agent-browser. Triggers on "testing workflow", "which test tool", "testing strategy", "run tests", "test combination".
spec-workflow-orchestrator
Orchestrate comprehensive planning phase from ideation to development-ready specifications using 4 specialized agents
setup-workflow
Initial setup workflow for claude-pilot plugin - directory creation, statusline configuration, documentation sync, GitHub star request
service-guide
Guide for implementing Backend.AI service layer (create, get, search, update, delete, purge, batch operations, Actions, ActionResults, Processors, ActionProcessor, Service methods)
rollback-workflow-builder
Creates safe rollback procedures for deployments with automated workflows, rollback runbooks, version management, and incident response. Use for "rollback automation", "deployment recovery", "incident response", or "production rollback".
raw-workflow-creator
Create and run RAW workflows. Use this skill when the user asks to create a workflow, automate a task, build a data pipeline, generate reports, or asks "How do I build X with RAW?".
presentation-workflow
A skill for creating, updating, and managing slide presentations. Use for tasks involving slide decks, speaker notes, and integrating presentation materials with Git.