Skip to content
cccskills
FreePublished on GitHub

Architecture Boundaries & Dependencies

Ensure architecture/design docs define clear boundaries, ownership, dependency direction, and change impact to avoid tight coupling.

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

See how to install

Files included (3)

  • SKILL.md4.2 KB
  • fixtures/01-reversed-dependency-should-detect.md2.7 KB
  • fixtures/02-boundary-defined-elsewhere-should-not-detect.md2.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Pattern declaration

Primary pattern: Reviewer Secondary patterns: Inversion Why: 設計ドキュメントの責務境界・依存方向・変更影響の記載品質を検証し、密結合を防ぐ。

Goal / 目的

  • 設計/アーキドキュメントの差分から、責務境界の曖昧さ・依存方向の崩れ・変更影響の見落としを減らす。

Non-goals / 扱わないこと

  • アーキの正解を断定しない(境界/責務/依存関係の “記述の質” に限定)。
  • 実装レベルの設計(クラス設計や関数分割)への立ち入り。

Pre-execution Gate / 実行前ゲート

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

  • 差分にアーキテクチャ/設計ドキュメント(docs/architecture/, docs/adr/, *architecture*.md, *design*.md, *.adr, *c4*, *diagram*)が含まれている
  • 差分にコンポーネントの境界・責務・依存関係に関する記述の追加・変更が含まれている
  • inputContextにdiffが含まれている

ゲート不成立時の出力: NO_REVIEW: architecture-boundaries — 境界/依存に関する設計ドキュメントの変更なし

False-positive guards / 抑制条件

  • 既に参照先(ADR/図/既存ルール)で明確な場合は、重複指摘しない。

Rule / ルール

  • 先頭に要約を 1 行出す(追加/変更されたコンポーネントと依存の要点)。
  • 指摘は最大 8 件まで。境界の曖昧さ、依存方向の逆流、責務の過密、影響範囲の未整理を優先。
  • 可能な限り “追記案(貼れる形)” を付ける。

Checklist / 観点チェックリスト

  • 境界と責務
    • コンポーネント/モジュールの責務が 1〜3 行で説明されているか。
    • “どこまでが担当範囲か(Non-goals)” が明記されているか。
    • Owner(チーム/担当)や運用責任が曖昧でないか。
  • 依存方向
    • 依存の向きが一貫しているか(例: 上位→下位、Domain→Infrastructure など)。
    • 依存の理由(なぜ必要か)が書かれているか。
    • 双方向依存や循環依存を生む構造になっていないか。
  • 変更影響
    • 変更で影響を受ける利用者/サービス/データ/運用が列挙されているか。
    • 互換性(API/イベント/データ)と移行の前提が明記されているか。
  • 境界を跨ぐ契約
    • インターフェース(API/イベント/バッチ入出力)の契約がドキュメント化されているか。
    • エラーモデル/リトライ/冪等性など、跨ぎ方のルールがあるか。

Output / 出力フォーマット

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

  • 先頭に要約を 1 行: (summary):1: <境界/依存/影響の要点>
  • 以降は指摘(最大 8 件):
    • <message> に [severity=critical|major|minor|info] を含める。
    • 可能なら “追記案” を 1 行付ける(例: 責務: ... / Non-goals: ... / 依存理由: ...)。

評価指標(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