Skip to content
cccskills
FreePublished on GitHub

create-cursor-agent

Authors Cursor Rules (.cursor/rules/*.mdc) and custom Subagents (.cursor/agents/*.md or ~/.cursor/agents). Use when creating or refactoring rules/subagents, splitting large rules, choosing subagent vs skill, setting model/readonly/background, or replacing repeated delegation prompts.

The English summary is being prepared. Showing the original description.

ax-inc-dev/claude-cursor-orchestration3 stars(GitHub 3 + cccskills 0)
Works withFigma

Run score Not tested

See how to install

Files included (1)

  • SKILL.md9.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Create Cursor Rules & Subagents(ルール・サブエージェント作成)

Cursor Rules(.cursor/rules/*.mdc)は会話への恒久コンテキスト。カスタムサブエージェント(.cursor/agents/*.md または ~/.cursor/agents/*.md)は親エージェントが Task で委任する専門役割。どちらも短く・実行可能・スコープ明確に書く。

When to Use(このスキル自体)

  • ルール/サブエージェントの新規作成・分割・description 改善
  • サブエージェントかスキルかの線引きを説明・設計したい
  • 親が毎回載せるべきコンテキスト(サブエージェントは履歴を見ない)を整理したい

Skill パス解決(サブエージェント・ルール設計の共通正本)

Read する前に、次の順で最初に存在するパスを使う。本文に「フルパスだけ」を書いて ~/.cursor/skills/ に無い process 系を参照抜けさせないこと。

  1. <workspace>/.cursor/skills/<dir>/SKILL.md(リポ独自・チーム共有)
  2. ~/.cursor/skills/<dir>/SKILL.md(ユーザ正本)
  3. ~/.cursor/superpowers/skills/<dir>/SKILL.md(Superpowers / 汎用プロセス系。例: writing-plans, test-driven-development, dispatching-parallel-agents, systematic-debugging)

プラグインキャッシュ配下(ハッシュ変動)は、サブエージェント定義に書かない。Figma 等は orchestrator/figma-canvas-builder が Glob 手順を保持する。

禁止: 存在しないディレクトリを「正本」として書くだけにする(例: ~/.cursor/skills/writing-plans が未展開のまま)。上記解決順を必ず書くか、実体のある場所へ symlink / 複製する。

Subagent とは(Cursor 公式モデルに準拠)

  • 専用コンテキストで動き、結果を親に返す。長い調査やノイズの多い出力を親から切り離せる。
  • 並列実行可(複数 Task)。コードの別領域を同時に進められる。
  • 常に空のコンテキストから開始。過去の親チャット履歴にはアクセスしない → 委任プロンプトに必要な事実・パス・制約を親が含める。
  • エディター / CLI / Cloud Agents で利用可能。

フォアグラウンドとバックグラウンド

モード挙動向いていること
フォアグラウンド完了まで親が待機、結果をすぐ返す順次・出力が直ちに必要なタスク
バックグラウンドすぐ戻り、サブエージェントが独立実行長時間・並列ワークストリーム

フロントマターで is_background: true とする(下記)。

組み込みサブエージェント(設定不要)

親が適宜起動。Explore(広い探索・並列検索)、Bash(冗長なシェル出力の分離)、Browser(DOM スナップショット等のノイズ分離)。カスタム定義は不要。

Subagent vs Skill(使い分け)

サブエージェント向きスキル向き
長時間リサーチで コンテキストを分けたい単一用途(changelog 生成、format など)
複数ワークストリームを並列手早く繰り返しできればよい
多段・専門知識が要るタスク一発で済む手順
独立して検証したい別ウィンドウ不要

単一目的でコンテキスト分離も不要なら Skill やスラッシュコマンドを優先する。

ファイルの場所と優先順位

種類パススコープ
プロジェクト.cursor/agents/当該リポのみ
互換.claude/agents/, .codex/agents/当該リポのみ
ユーザー~/.cursor/agents/ユーザーの全プロジェクト

名前衝突: プロジェクトがユーザーより優先。.cursor/ が .claude/ / .codex/ より優先。

チーム共有するなら .cursor/agents/ をリポにコミットするのが一般的。

サブエージェント定義の型(Markdown + YAML)

---
name: security-auditor
description: Security specialist. Use when implementing auth, payments, or sensitive data.
model: inherit
readonly: true
is_background: false
---

(本文プロンプト:役割・手順・出力形式。簡潔に。)

フロントマター欄

フィールド必須デフォルト説明
name推奨ファイル名から導出表示・識別。小文字・ハイフン。
description推奨—委任のトリガー。Task がこれを読み要否判断。具体的な WHEN とパターン語(Use proactively / Use when ...)を書く。
model任意inheritinherit(親と同じ) / fast(探索・検証・大量処理向け) / 特定モデル ID。
readonly任意falsetrue で編集・状態変更系シェル等が制限される。
is_background任意falsetrue でバックグラウンド実行。

モデル: 深い推論は inherit、速度・コスト重視の捜査・検証は fast。組織制限・Max Mode・プランでフォールバックすることがある。

自動委任を促すなら description に いつ委任するかを明示する(例: Use proactively for ...)。

呼び出し

  • 明示: プロンプトで /agent-name(例: /verifier confirm the auth flow)または自然文で「○○ subagent を使って」。
  • 並列: 1 メッセージ内で複数 Task → 同時実行されやすい。
  • 再開: 実行ごとに agent ID が返る。Resume agent <id> and ... で継続(長時間・バックグラウンド後も可)。

通用 Best Practices(ルール+サブエージェント)

  1. 1 サブエージェント=1 責務。「汎用 helper」を量産しない。
  2. description を最重視 — ここが委任の成否を決める。実際に投げて呼ばれるか試す。
  3. 本文は簡潔 — 長大プロンプトは焦点をぼかす。詳細は Skill / ドキュメント参照。
  4. 500 行以内 — ルール・定義が肥大化したら分割し、参照はパスで。
  5. ファイル参照を優先 — 規約全文は貼らない。正本パス + 「必要時 Read」。
  6. Hooks — サブエージェントに構造化出力ファイルを書かせる場合、後処理の一貫性は hooks 検討。

Cursor Rule(.mdc)の型(リマインダ)

---
description: ...
globs: "**/*.ts"
alwaysApply: false
---
# ...

Avoid(ルール・サブエージェント共通)

避ける代わり
スタイルガイド全文Linter。ルールには設定ファイルへの参照のみ
一般 CLI の網羅リスト案件固有の既定コマンドだけ
「一般的なタスク用」など曖昧な description具体的なシーン(例: OAuth 実装時)
サブエージェントだらけ(似た役割が数十本)まず 2〜3 本に絞り、明確な差分があるときだけ追加
単一目的・分離不要なのにサブエージェントSkill / スラッシュコマンド
コードベースの重複貼付正本パスを参照

よくあるパターン(設計ヒント)

  • Verifier: 完了報告を疑ってテスト・実装確認。model: fast も選択肢。
  • Orchestrator(親): Planner → Implementer → Verifier のように構造化された引き継ぎを明示。
  • Debugger / Test-runner: 再現・根因・再実行までを手順化。test-runner は「proactively」を description に。

パフォーマンス・コスト(目安)

  • サブエージェントはそれぞれトークンを消費。並列 n 本 ≒ 概ね n 倍に近い負荷になりうる。
  • 単純・短時間はメインの方が速いこともある。利点は分離・並列・専門化。
  • オーバーヘッド:起動時にコンテキストを取りにいくコストあり。

Instructions(作成フロー)

  1. Rules か Subagent かを上表で決める。
  2. サブエージェントなら description に WHEN を具体化(自動委任なら proactive フレーズ検討)。
  3. model / readonly / is_background を用途に合わせる。
  4. 本文は 手順・出力形式・禁止を短く。長文は Skill や docs/ へ。
  5. 親向けメモ: 委任時は履歴にない前提でコンテキストを渡す。
  6. Checklist で仕上げ。

Checklist

  • 1 ファイル=1 焦点。汎用「helper」量産になっていない
  • description に 具体的なトリガー(必要なら proactive)
  • 本文が過長でない(参照で済ませている)
  • Rules: description / globs / alwaysApply が意図と一致
  • Subagent: model / readonly / is_background が意図と一致
  • 単一目的タスクを無理にサブエージェント化していない(Skill 候補ではないか)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

B2B サイトの戦略・情報設計。価値提案・メッセージマップ・ジャーニー導線・意思決定マップ・信頼棚卸・トーン/禁止表現まで一気通貫でテンプレ化する。実装前フェーズ専用(全PJ共通)。

The English summary is being prepared. Showing the original description.

ax-inc-dev/claude-cursor-orchestration3Updated Apr 25, 2026

Keep a PR merge-ready by triaging comments, resolving clear conflicts, and fixing CI in a loop.

The English summary is being prepared. Showing the original description.

ax-inc-dev/claude-cursor-orchestration3Updated Apr 25, 2026

法人向けHTMLプレゼンスライドの実装エンジン。Claude Codeから指示書(アウトライン+テンプレート指定+カラー+コンテンツ)を受け取り、単一HTMLファイルとして実装する。43種テンプレート+14種アニメーション。トリガー:プレゼン実装、スライドHTML生成、提案資料コーディング。

The English summary is being prepared. Showing the original description.

ax-inc-dev/claude-cursor-orchestration3Updated Apr 25, 2026

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

The English summary is being prepared. Showing the original description.

ax-inc-dev/claude-cursor-orchestration3Updated Apr 25, 2026

canvas

Free

A Cursor Canvas is a live React app that the user can open beside the chat. You MUST use a canvas when the agent produces a standalone analytical artifact — quantitative analyses, billing investigations, security audits, architecture reviews, data-heavy content, timelines, charts, tables, interactive explorations, repeatable tools, or any response that benefits from visual layout. Especially prefer a canvas when presenting results from MCP tools (Datadog, Databricks, Linear, Sentry, Slack, etc.) where the data is the deliverable — render it in a rich canvas rather than dumping it into a markdown table or code block. If you catch yourself about to write a markdown table, stop and use a canvas instead. You MUST also read this skill whenever you create, edit, or debug any .canvas.tsx file.

The English summary is being prepared. Showing the original description.

ax-inc-dev/claude-cursor-orchestration3Updated Apr 25, 2026

Authors reusable Agent Skills (SKILL.md) for personal (~/.cursor/skills/) or project (.cursor/skills/) scope. Use when the user wants to create, split, or refactor a skill; standardize skill shape; or migrate repeated chat prompts into a skill. Complements Cursor's built-in create-skill in skills-cursor.

The English summary is being prepared. Showing the original description.

ax-inc-dev/claude-cursor-orchestration3Updated Apr 25, 2026

See all skills by ax-inc-dev

Report a problem with this skill