← Back to list

architecture-review
by sugar-cat7
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: architecture-review description: Use when generating or modifying code to ensure it follows project architecture and development guidelines. Enforces Result-based error handling, TypeScript conventions, and frontend architecture patterns.
Architecture Skill
このスキルはプロジェクトのアーキテクチャと開発指針に基づいてコードを生成・修正する際に使用します。
必須読み込みファイル
作業開始前に以下のドキュメントを必ず参照してください:
- CLAUDE.md - プロジェクト全体のガイドライン
- docs/architecture.md - フロントエンドアーキテクチャ
- docs/css.md - Tailwind CSS ガイドライン
- docs/error-handling.md - エラーハンドリング規約
- docs/typescript.md - TypeScript 規約
- docs/ui-specification.md - UI 仕様
コーディング規約
エラーハンドリング
try-catchは使用禁止Result型を使用する- ライブラリの非同期処理には
wrapを使用 - インポート:
import { wrap, Ok, Err, AppError } from "@blog/errors"
TypeScript
- Zod スキーマを型定義の信頼源とする
- 明示的なインターフェースではなく、スキーマから型を推論する
フロントエンドアーキテクチャ
- Feature-based アプローチ
- Container/Presentational パターン
- Next.js App Router と features/pages の 1:1 マッピング
CSS & スタイリング
- Tailwind CSS v4 (CSS-first configuration)
@themeディレクティブでデザイントークンを定義- コンポーネントバリアントには
cvaを使用 - 条件付きクラスには
cn()を使用 @apply、カスタム CSS クラス、新しい@keyframesは禁止
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon