Skip to content
cccskills
FreePublished on GitHub

Service Integration & Contracts

Ensure cross-service integration defines contracts, ownership, failure handling, versioning, and rollout/rollback expectations.

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

See how to install

Files included (3)

  • SKILL.md4.2 KB
  • fixtures/01-no-owner-no-failure-policy-should-detect.md3.8 KB
  • fixtures/02-reference-update-only-should-not-detect.md2.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Pattern declaration

Primary pattern: Reviewer Secondary patterns: Inversion Why: サービス間連携の差分から契約不備・責任境界・障害時の未定義をレビューし、連携の破綻シナリオを逆照射する。

Goal / 目的

  • サービス間連携(API/イベント/メッセージング)の差分から、契約不備・責任境界の曖昧さ・障害時の未定義を早期に潰す。

Non-goals / 扱わないこと

  • 連携方式の正解を断定しない(契約/運用/互換性の明確化に限定)。
  • 実装レベルの細部(SDK、リトライ実装、キュー設定の調整など)。

Pre-execution Gate / 実行前ゲート

このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。

  • 差分にサービス間連携・契約・インターフェイス・イベント定義に関するドキュメントまたはスキーマが含まれている
  • inputContextにdiffが含まれている

ゲート不成立時の出力: NO_REVIEW: integration-contracts — サービス間連携/契約に関する差分がない

False-positive guards / 抑制条件

  • 参照先の契約ドキュメントが明確で、差分が参照更新のみの場合は重複指摘しない。

Rule / ルール

  • 先頭に要約を 1 行出す(producer/consumer、契約変更、互換性の要点)。
  • 指摘は最大 8 件まで。互換性破壊、所有者不明、失敗時の振る舞い不明を優先。
  • “追記テンプレ” を付けて、文書に落とせる形にする。

Checklist / 観点チェックリスト

  • 契約(Contract)
    • メッセージ/API のスキーマ、必須/任意、互換性ルール(追加は後方互換、削除は破壊的等)が明記されているか。
    • バージョニング、deprecated 期間、移行ガイドがあるか。
  • Owner と責任境界
    • Producer/Consumer の Owner、SLA/SLO の前提、問い合わせ窓口があるか。
    • どこまでが producer の責任で、どこから consumer かが書かれているか。
  • 失敗時の振る舞い
    • リトライ、冪等性、重複配信、順序、遅延、DLQ/再処理の前提があるか。
    • エラーコード/失敗イベント/補償処理の方針があるか。
  • ロールアウト/ロールバック
    • 両対応期間(新旧契約)と、切替条件/ロールバック条件があるか。
    • 段階リリース(feature flag 等)の前提があるか。

Output / 出力フォーマット

すべて日本語。<file>:<line>: <message> 形式で出力する。

  • 先頭に要約を 1 行: (summary):1: <producer/consumerと契約変更の要点>
  • 以降は指摘(最大 8 件):
    • <message> に [severity=critical|major|minor|info] を含める。
    • 可能なら “追記テンプレ” を 1 行付ける。

追記テンプレ例:

  • Owner: producer=<team>, consumer=<team> / 互換性: <後方互換/破壊的> / 移行: <両対応期間>
  • 失敗時: retry=<回数/間隔>, idempotency=<キー>, DLQ=<扱い>, 補償=<方針>

評価指標(Evaluation)

  • 合格基準: 差分に紐づく契約/責任境界/失敗時の抜けが優先度付きで指摘され、追記案がある。
  • 不合格基準: 差分と無関係な一般論、根拠のない断定、指摘過多。

人間に返す条件(Human Handoff)

  • 互換性破壊の判断、または組織横断の責任分界が未合意の場合は人間レビューへ返す。

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

<What this skill does>

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

s977043/river-review7Updated Oct 23, 2026

画像・ボタン・フォーム要素に適切なアクセシブルネームがあるか確認する。

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

s977043/river-review7Updated Oct 23, 2026

Ensure ADRs capture context, decision, alternatives, tradeoffs, and follow-ups in a way that prevents future drift.

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

s977043/river-review7Updated Oct 23, 2026

敵対的分析手法を統合したレビューの entry skill。認知バイアス対策の3手法 (Pre-mortem / War Game / Logic Torturing)と、宣言・主張と実態の乖離を突く claim-vs-actual 検出3パターン(Self-Contradiction / Refactor-Claim Audit / Cross-File Leakage)へルーティングし、通常のレビューでは見えない設計の盲点・ 防御の穴・論理の弱点・宣言と実装のズレを可視化する。

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

s977043/river-review7Updated Oct 23, 2026

Review changes to the Agent Skills import/export bridge for path safety, round-trip fidelity, and validation correctness.

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

s977043/river-review7Updated Oct 23, 2026

Checks whether AI-assisted work defines review criteria, accessible context, explicit review loop, human judgment boundary, and feedback capture before delegating to an agent.

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

s977043/river-review7Updated Oct 23, 2026

See all skills by s977043

Report a problem with this skill