wshobson/チーム通信プロトコル

エージェントチーム間の構造化されたメッセージングプロトコル。メッセージタイプの選択、計画の承認、シャットダウン手順、および回避すべきアンチパターンを含みます。

チーム通信プロトコル とは?

このスキルは、AIエージェントチーム内での効果的なコミュニケーションを確立・管理するための構造化プロトコルを提供します。具体的には、新しく作成されたチームのコミュニケーション基準を設定する際、ダイレクトメッセージとブロードキャストのどちらを送信すべきか判断する際、チームリーダーが実装者の計画を事前にレビュー・承認する必要がある場合、すべてのタスク完了後にチームを正常にシャットダウンする場合、または統合ポイントでのチームメイト間の調整ミスをデバッグする場合に役立ちます。このスキルはClaude Code、Cursor、CodexなどのAIエージェントプラットフォームで動作し、メッセージタイプ選択、計画承認、シャットダウン手順、避けるべきアンチパターンをカバーします。開発者がチームのコミュニケーションパターンを標準化し、調整ミスやタスクの重複などの一般的な問題を防ぐのに役立ちます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/wshobson/agents/tree/main/skills/team-communication-protocols

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

チーム通信プロトコル は何をしますか?

エージェントチーム間の構造化されたメッセージングプロトコル。メッセージタイプの選択、計画の承認、シャットダウン手順、および回避すべきアンチパターンを含みます。このスキルは、新しく生成されたチームのコミュニケーション基準を設定する際、ダイレクトメッセージとブロードキャストのどちらを送信すべきか判断する際、チームリーダーが実装者の計画を事前にレビュー・承認する必要がある場合、すべてのタスク完了後にチームを正常にシャットダウンする場合、または統合ポイントでのチームメイト間の調整ミスをデバッグする場合に使用します。

はじめに

このスキルでは、複数のAIエージェントチーム内での一貫性を確保するための、構造化されたメッセージングプロトコルを定義します。

メッセージタイプ

タイプ説明使用例
DIRECT1対1のメッセージ。ターゲットエージェントにのみ表示されます。コードレビューの依頼、実装情報の共有
BROADCASTすべてのチームメンバーに送信されるメッセージ。トピックがチーム全体に関わる場合に使用します。計画の更新、ステータス変更、一般的な注意事項

ダイレクト vs ブロードキャストの判断

  • ダイレクト: メッセージが特定のエージェントまたは設定されたグループにのみ関係する場合。
  • ブロードキャスト: メッセージがチーム全体にとって重要である場合(例:目標の変更、APIの変更、リリースの延期)。

計画承認プロトコル

1. 実装者が計画を提出

実装者は、詳細なアクション可能なステップを含む計画を、チームリーダー(TL)(優先度順:チームリーダー、調整役、自身)にダイレクトメッセージで送信します。

2. チームリーダーがレビュー

チームリーダーは以下を確認します:

  • 計画がすべてのタスク要件をカバーしているか。
  • 依存関係が特定されているか。
  • 見積もりが妥当か。

3. 承認または修正要求

チームリーダーは、以下のいずれかのメッセージで応答します:

  • 承認: 計画 [計画ID] 承認済み。次に進んでください。
  • 修正要求: 計画 [計画ID] 修正が必要:[具体的な変更点]。

4. 実装者が調整

実装者は、承認を受け取るまで計画を調整・再提出します。

シャットダウン手順

通常シャットダウン

すべての作業が完了した場合:

BROADCAST: すべてのタスクが完了しました。最終確認を開始します。
→ 確認後:
BROADCAST: シャットダウン中です。さらなる指示がない限り、これ以上の作業は必要ありません。

緊急シャットダウン

予期しない問題が発生した場合(クリティカルエラー、リソース不足):

DIRECT: TL:緊急シャットダウンが必要です。理由:[簡単な説明]。
→ TLが確認した場合:
BROADCAST: 緊急シャットダウン。理由:[簡単な説明]。直ちに作業を停止してください。

アンチパターン(避けるべきパターン)

アンチパターン名説明推奨される解決策
ゴーストメッセージエージェントが応答を待たずにメッセージを送信し、相手に届いていないと想定する。明確な確認応答プロトコルを使用する。
情報過多ブロードキャストチーム全体の関心がない詳細をブロードキャストする。特定のトピックにはダイレクトメッセージを使用する。
シャットダウン後の活動シャットダウンがブロードキャストされた後もタスクを続ける。シャットダウンメッセージを確認し、すぐに作業を停止する。
未承認の作業チームリーダーの明示的な承認なしにタスクを開始する。作業を開始する前に、チームリーダーに計画を承認してもらう。

監視と調整

統合ポイントでの調整の問題を検出するには、チームメイトが適切なメッセージタイプを使用していない、またはシャットダウンプロトコルに従っていない兆候を探してください。調整が中断された場合、問題を特定するために監査ログとメッセージ履歴を確認してください。

ベストプラクティス

  • 常に確認応答する: 受信したメッセージには 確認済み:[メッセージID] で返信する。
  • 簡潔に保つ: ダイレクトメッセージとブロードキャストの両方で、明確で簡単に読めるメッセージを心がける。
  • 一意のIDを使用する: メッセージと計画を追跡しやすくするために一意のIDを使用する。
  • 定期的に更新する: 作業中に、重要なマイルストーンが完了したらブロードキャストで更新する。

例

# 実装者からチームリーダーへの計画提出
DIRECT: TL:認証機能の計画を提出します。ID:pln-001。

# チームリーダーから実装者への承認
DIRECT: 実装者:計画 pln-001 承認済み。次に進んでください。

# シャットダウンのブロードキャスト
BROADCAST: すべてのタスクが完了しました。シャットダウン中です。

ライセンス

このスキルは、標準的なMITライセンスの下で利用可能です。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

wshobson/accessibility-compliance

Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

wshobson/airflow-dag-patterns

Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs.

wshobson/angular-migration

Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.

wshobson/anti-reversing-techniques

Understand anti-reversing, obfuscation, and protection techniques encountered during software analysis. Use this skill when analyzing malware evasion techniques, when implementing anti-debugging protections for CTF challenges, when reverse engineering packed binaries, or when building security research tools that need to detect virtualized environments.

wshobson/api-design-principles

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

wshobson/architecture-decision-records

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

wshobson/architecture-patterns

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.

wshobson/async-python-patterns

Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.

wshobson/attack-tree-construction

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

wshobson/auth-implementation-patterns

Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.

wshobson/avoid-ai-writing

Audit and rewrite prose so it stops reading as machine-generated. Use this skill when asked to remove AI-isms, clean up AI writing, edit a draft for AI tells, audit a README, changelog, release note, PR description, or blog post for machine-sounding prose, or make text sound less like AI. Supports a detect-only mode, a rewrite mode, and an edit-in-place mode, with optional voice and context profiles.

wshobson/backtesting-frameworks

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

wshobson/bash-defensive-patterns

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.

wshobson/bats-testing-patterns

Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities.

wshobson/bazel-build-optimization

Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.

wshobson/before-you-build

Pre-build product and feature risk review for founders, product managers, and AI-assisted builders. Use this skill when the user is about to build a landing page, MVP, SaaS product, internal tool, agent workflow, or major feature and needs to check demand, positioning, monetization, retention, trust, distribution, and adoption risk before implementation starts.

wshobson/billing-automation

Build automated billing systems for recurring payments, invoicing, subscription lifecycle, and dunning management. Use when implementing subscription billing, automating invoicing, or managing recurring payment systems.

wshobson/binary-analysis-patterns

Master binary analysis patterns including disassembly, decompilation, control flow analysis, and code pattern recognition. Use when analyzing executables, understanding compiled code, or performing static analysis on binaries.

wshobson/block-no-verify-hook

Configure a PreToolUse hook to prevent AI agents from skipping git pre-commit hooks with --no-verify and other bypass flags. Use when setting up Claude Code projects that enforce commit quality gates.

wshobson/brand-landingpage

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens — use frontend-design instead.

関連スキル