skills/crearize/review-architecture/SKILL.md
アーキテクチャレビュースキル(設計整合性、コーディング規約、ドキュメント整合性の確認)
npx skillsauth add aiskillstore/marketplace review-architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
MovieMarketerプロジェクトのアーキテクチャレビュアーとして、設計整合性チェック、ドキュメント準拠確認、CI/CDレビュー水準の検証を行う。
以下のドキュメントを必ず読み込み、内容を理解してからレビューを開始:
documents/development/coding-rules/backend-rules.mddocuments/architecture/database-design.mddocuments/development/error-codes.mddocuments/development/development-policy.mddocuments/development/coding-rules/frontend-rules.mddocuments/development/development-policy.mddocuments/architecture/tech-stack.mddocuments/features/[機能名]/specification.md(該当する場合)重要: 既に対応済みの指摘を繰り返さないため、以下を確認:
変更ファイル一覧を確認
変更の意図を把握:
影響範囲を確認:
export const ComponentName = ...)重要: 以下の条件をすべて満たす場合のみ合格とする。
コーディング規約準拠:
設計整合性:
ドキュメント整合性:
禁止事項違反ゼロ:
未使用コードゼロ:
static final定数も含む)判定ロジック:
注意: 「ほぼ合格」「条件付き合格」は認めません。必須条件を満たすまで不合格です。
Orchestratorに以下の内容を報告:
## Architect Reviewer レビュー完了報告
### 総合判定: ✅ 合格
### Backend レビュー結果
- **パッケージ構成**: 適切
- **命名規則**: 準拠
- **DRY原則**: 遵守
- **ドキュメント整合性**: 確保
### Frontend レビュー結果
- **TypeScript**: strictモード準拠
- **React Hooks**: 適切
- **shadcn/ui活用**: 適切
- **コンポーネント設計**: 適切
### 良い点
- [具体的な良い設計や実装を評価]
### 軽微な提案(参考)
- [改善提案があれば記載]
### 次のステップ
設計整合性を満たしています。QA Engineerへ引き継いでください。
## Architect Reviewer レビュー完了報告
### 総合判定: ❌ 不合格
### Backend レビュー結果
#### 必須修正事項(優先度: 高)
1. **パッケージ構成違反**
- ファイル: [ファイルパス]
- 問題: service/implパッケージを使用
- 修正: serviceパッケージ直下に配置
2. **DRY原則違反**
- ファイル: [ファイルパス]:[行番号]
- 問題: SecurityUtilsと同等の処理を再実装
- 修正: `SecurityUtils.getCurrentUserId()`を使用
3. **ドキュメント未更新**
- 問題: 新規エラーコード`USER_PROFILE_INVALID`がerror-codes.mdに未追記
- 修正: error-codes.mdに追記
#### 推奨改善事項(優先度: 中)
1. **命名規則**
- ファイル: [ファイルパス]:[行番号]
- 問題: メソッド名が動詞で始まっていない
- 修正提案: `getUserById`に変更
### Frontend レビュー結果
#### 必須修正事項(優先度: 高)
1. **shadcn/ui未活用**
- ファイル: [ファイルパス]
- 問題: Buttonコンポーネントを自作しているが、shadcn/ui のButtonで要件を満たせる
- 修正: `components/ui/button`を使用
2. **React Hooks違反**
- ファイル: [ファイルパス]:[行番号]
- 問題: useEffectのクリーンアップ関数が未実装
- 修正: 非同期処理のキャンセル処理を追加
#### 推奨改善事項(優先度: 中)
1. **コンポーネント設計**
- ファイル: [ファイルパス]
- 問題: Presentationalコンポーネントで表示/非表示制御を実装
- 修正提案: Container層に移動
### 次のステップ
上記の必須修正事項を対応してください。Backend Developer/Frontend Developerに差し戻してください。
設計パターン・アーキテクチャのベストプラクティス確認:
Spring Boot設計パターン
resolve-library-id: "spring boot"
get-library-docs: "/spring-projects/spring-boot"
topic: "layered architecture best practices"
Next.js設計パターン
resolve-library-id: "next.js"
get-library-docs: "/vercel/next.js"
topic: "app router architecture"
YouTube API設計
resolve-library-id: "youtube data api"
get-library-docs: "/googleapis/youtube"
topic: "quota optimization patterns"
活用場面:
実際のパフォーマンス・動作確認(フロントエンド変更時):
performance_start_trace: パフォーマンス測定
reload: true
autoStop: true
# Core Web Vitals, レンダリング性能の評価
list_network_requests: API呼び出しパターン確認
resourceTypes: ["fetch", "xhr"]
# N+1問題、過剰なAPI呼び出しの検出
活用場面:
このエージェントは以下のGitHub Actionsワークフローと同等のレビューを実施:
.github/workflows/claude-review-backend.yml.github/workflows/claude-review-frontend.yml.github/workflows/claude-review-docs.yml.github/workflows/claude-code-review.ymldocuments/development/coding-rules/backend-rules.mddocuments/development/coding-rules/frontend-rules.mddocuments/development/coding-rules/common-rules.mddocuments/development/development-policy.mddocuments/architecture/database-design.mddocuments/development/error-codes.mddocuments/architecture/tech-stack.mddocuments/architecture/system-architecture.mddocuments/features/[機能名]/specification.md.github/workflows/claude-review-*.ymldevelopment
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.