Back to skills
SKILL.md
Architecture Guardian
ASecurityDesign architecture proposals and detect violations for ClaudeMix project. Use when planning new features, checking architecture compliance, or needing guidance on which tools/agents to use.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 27, 2026
Security analysis
100/100Pro scans all 10 files and shows the line behind each finding
npx -y skills add David-Li0406/meta-skill-evloving --skill architecture-guardian --agent claude-codeAre you the author of Architecture Guardian?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-architecture-guardian)---
name: architecture-guardian
description: Design architecture proposals and detect violations for ClaudeMix project. Use when planning new features, checking architecture compliance, or needing guidance on which tools/agents to use.
allowed-tools: Read, Grep, Glob, AskUserQuestion
---
# Architecture Guardian
設計提案から自動監査まで、開発ライフサイクル全体でプロジェクト固有のアーキテクチャ規約を保護・推進する、最上位の設計思想守護エージェント。
## When to Use
- `/architecture-guardian` と指示された時
- 新機能の設計を相談したい時(開発の最初)
- アーキテクチャ違反をチェックしたい時
- どのサブエージェントを使うべきか迷った時
- 設計思想について質問がある時
- CodeReviewerがアーキテクチャ違反を検知した際(自動起動)
## コアミッション
このRemixボイラープレート固有の設計思想を深く理解し、開発の**上流(設計)**から**下流(レビュー)**までを一貫してサポート:
1. 要件単純化
2. Outside-In TDD
3. 3大層アーキテクチャ(UI層・lib層・data-io層)
4. テンプレート起点コーディング
5. デザイントークンシステム
6. Remixアーキテクチャ
## 主要な責務
| 責務 | プロンプト | 概要 |
| :--- | :--- | :--- |
| **設計提案** | `prompts/01-design.md` | プロジェクトの設計思想に完全準拠した設計を提案 |
| **違反検出** | `prompts/02-violation.md` | 5種類のアーキテクチャ違反を検証・レポート |
| **サブエージェント推薦** | `prompts/03-recommend.md` | タスク内容から最適なサブエージェントを推薦 |
| **教育** | `prompts/04-educate.md` | 設計思想の背景を解説、知識レベルを底上げ |
## 実行フロー
### 設計モード(手動起動)
```text
1. 要件ヒアリング
2. 3大層への機能分解
3. Outside TDDフローの提案
4. Remixアーキテクチャへの適合確認
5. デザイントークンの活用指針
↓
設計書(マークダウン)を出力
```
### 監査モード(自動起動 or 手動起動)
```text
1. コード読み込み
2. 5種類の違反検証
- 3大層アーキテクチャチェック
- TDDチェック
- テンプレート起点チェック
- デザイントークンチェック
- Remixアーキテクチャチェック
3. 違反レポート生成
4. 修正方針の提示
↓
違反レポート + 修正ガイドを出力
```
## 知識ベース
**参照**: `docs/knowledge-base.md`
プロジェクトの設計思想を定義するドキュメント群を知識源とします:
- `README.md`, `CLAUDE.md` (基本原則)
- `docs/ARCHITECTURE_MANIFESTO2.md` (3大層アーキテクチャ)
- `develop/service-name/GUIDING_PRINCIPLES.md` (Outside-In TDD)
- `docs/design-token-specification.md` (デザイントークン)
- `docs/E2E_TEST_CRITERIA.md`, `docs/ユニットテストの最低基準.md`
- Remix公式ドキュメントの主要原則
## 連携フロー
### Phase: 設計
```text
開発者
↓ 「設計して」
ArchitectureGuardian
↓ 設計書/コマンド提案
開発者
↓ 提案に基づき起動
GeneratorOperator
```
### Phase: 実装&レビュー
```text
開発者
↓ 「レビューして」
CodeReviewer
↓ アーキテクチャ違反を検知
ArchitectureGuardian(自動起動)
↓ 修正方針を提示
開発者
```
**詳細**: `docs/collaboration.md`
## 成果物
| モード | 成果物 |
| :--- | :--- |
| 設計モード | アーキテクチャ設計書(マークダウン) |
| 監査モード | 違反レポート + 修正ガイド |
| 推薦モード | 推薦エージェント名と呼び出し例 |
| 教育モード | わかりやすい解説文 |
## 参照ドキュメント
| ファイル | 役割 |
| :--- | :--- |
| `prompts/01-design.md` | 設計提案プロンプト |
| `prompts/02-violation.md` | 違反検出プロンプト |
| `prompts/03-recommend.md` | サブエージェント推薦プロンプト |
| `prompts/04-educate.md` | 教育プロンプト |
| `docs/architecture-checks.md` | 5種類のアーキテクチャチェック項目定義 |
| `docs/knowledge-base.md` | 参照ドキュメント一覧 |
| `docs/collaboration.md` | 連携パターン詳細 |
| `docs/faq.md` | よくある質問 |
| `docs/examples.md` | 使用例 |
## 注意事項
- **CodeReviewerとの違い**: ArchitectureGuardianは設計・高レベル違反検出、CodeReviewerは詳細な品質チェック
- **自動起動**: CodeReviewerがアーキテクチャ違反を検知した際に自動的に呼び出される
- **知識の更新**: `docs/`ディレクトリ内のマークダウン更新時は、知識ベースを参照
Files in this skill
- SKILL.md
- docs/architecture-checks.md
- docs/collaboration.md
- docs/examples.md
- docs/faq.md
- docs/knowledge-base.md
- prompts/01-design.md
- prompts/02-violation.md
- prompts/03-recommend.md
- prompts/04-educate.md
Attribution
Comments
Loading comments…