Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude/agents-en/code-reviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Operates in an independent context without CLAUDE.md principles, executing auton
## Initial Required Tasks

Load and follow these rule files before starting:
- @docs/rules/ai-development-guide.md - AI Development Guide, pre-implementation existing code investigation process
- @docs/rules/coding-standards.md - Universal Coding Standards, pre-implementation existing code investigation process
- @docs/rules/technical-spec.md - Technical Specifications
- @docs/rules/typescript.md - TypeScript Development Rules
- @docs/rules/project-context.md - Project Context
Expand Down Expand Up @@ -96,7 +96,7 @@ Load and follow these rule files before starting:
- [ ] Component dependencies correct
- [ ] Responsibilities properly separated
- [ ] Existing codebase analysis section includes similar functionality investigation results
- [ ] No unnecessary duplicate implementations (Pattern 5 from @docs/rules/ai-development-guide.md)
- [ ] No unnecessary duplicate implementations (Pattern 5 from @docs/rules/coding-standards.md)

### Quality Validation
- [ ] Comprehensive error handling
Expand Down
4 changes: 2 additions & 2 deletions .claude/agents-en/quality-fixer-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Executes quality checks and provides a state where all checks complete with zero
## Initial Required Tasks

Load and follow these rule files before starting:
- @docs/rules/coding-standards.md - Universal Coding Standards (Anti-patterns, Rule of Three, Debugging, Type Safety)
- @docs/rules/frontend/typescript.md - Frontend TypeScript Development Rules (React function components, Props-driven design)
- @docs/rules/frontend/typescript-testing.md - Frontend Testing Rules (React Testing Library, MSW, 60% coverage)
- @docs/rules/frontend/ai-development-guide.md - Frontend Quality Check Command Reference
- @docs/rules/frontend/technical-spec.md - Frontend Quality Check Commands and Build/Test Configuration
- @docs/rules/project-context.md - Project Context
- @docs/rules/frontend/technical-spec.md - Frontend Technical Specifications (environment variables, build requirements)
- @docs/rules/architecture/ files (if present)
- Load project-specific architecture rules when defined
- Apply rules based on adopted architecture patterns
Expand Down
3 changes: 2 additions & 1 deletion .claude/agents-en/quality-fixer.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ Executes quality checks and provides a state where `npm run check:all` completes
## Initial Required Tasks

Load and follow these rule files before starting:
- @docs/rules/coding-standards.md - Universal Coding Principles and Anti-patterns
- @docs/rules/typescript.md - TypeScript Development Rules
- @docs/rules/typescript-testing.md - Testing Rules
- @docs/rules/ai-development-guide.md - Quality Check Command Reference
- @docs/rules/technical-spec.md - Quality Check Commands and Build/Test Configuration
- @docs/rules/project-context.md - Project Context
- @docs/rules/architecture/ files (if present)
- Load project-specific architecture rules when defined
Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-en/requirement-analyzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Operates in an independent context without CLAUDE.md principles, executing auton
Before starting work, be sure to read and follow these rule files:
- @docs/rules/project-context.md - Project context
- @docs/rules/technical-spec.md - Technical specifications (refer to documentation process)
- @docs/rules/ai-development-guide.md - AI development guide (refer to escalation criteria)
- @docs/rules/coding-standards.md - Universal Coding Standards (refer to escalation criteria and anti-patterns)
- @docs/rules/documentation-criteria.md - Documentation creation criteria (scale determination and ADR conditions)

## Responsibilities
Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-en/task-decomposer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Operates in an independent context without CLAUDE.md principles, executing auton
## Initial Mandatory Tasks

Before starting work, be sure to read and follow these rule files:
- @docs/rules/ai-development-guide.md - Task management principles
- @docs/rules/coding-standards.md - Universal Coding Standards (task management principles, implementation completeness)
- @docs/rules/documentation-criteria.md - Documentation creation criteria
- @docs/rules/typescript-testing.md - TDD process (Red-Green-Refactor)
- @docs/rules/project-context.md - Generic design guidelines considering future extensions
Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-en/task-executor-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Load and follow these rule files before starting:
- Component hierarchy, feature-based structure, etc.
- **@docs/rules/frontend/typescript.md** - Frontend TypeScript development rules (React function components, Props-driven design, type safety)
- **@docs/rules/frontend/typescript-testing.md** - Frontend testing rules (React Testing Library, MSW, 60% coverage, Co-location principle)
- **@docs/rules/frontend/ai-development-guide.md** - Frontend AI development guide, pre-implementation existing code investigation process
- **@docs/rules/coding-standards.md** - Universal Coding Standards, pre-implementation existing code investigation process
**Follow**: All rules for implementation, testing, and code quality
**Exception**: Quality assurance process and commits are out of scope

Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-en/task-executor.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Load and follow these rule files before starting:
- Layered architecture, clean architecture, hexagonal, etc.
- **@docs/rules/typescript.md** - TypeScript development rules (type definitions, any prohibition, error handling)
- **@docs/rules/typescript-testing.md** - Testing rules (TDD methodology, test structure, assertion approach)
- **@docs/rules/ai-development-guide.md** - AI development guide, pre-implementation existing code investigation process
- **@docs/rules/coding-standards.md** - Universal Coding Standards, pre-implementation existing code investigation process
**Follow**: All rules for implementation, testing, and code quality
**Exception**: Quality assurance process (Phase 1-6) and commits are out of scope

Expand Down
4 changes: 2 additions & 2 deletions .claude/agents-en/technical-designer-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Before starting work, be sure to read and follow these rule files:
- @docs/rules/documentation-criteria.md - Documentation creation criteria
- @docs/rules/frontend/technical-spec.md - Frontend technical specifications (React, build tool, environment variables)
- @docs/rules/frontend/typescript.md - Frontend TypeScript development rules (function components, Props-driven design)
- @docs/rules/frontend/ai-development-guide.md - Frontend AI development guide, pre-implementation existing code investigation process
- @docs/rules/coding-standards.md - Universal Coding Standards, pre-implementation existing code investigation process
- @docs/rules/project-context.md - Project context
- @docs/rules/architecture/implementation-approach.md - Metacognitive strategy selection process (used for implementation approach decisions)
- @docs/rules/architecture/ architecture rule files (if exist)
Expand Down Expand Up @@ -61,7 +61,7 @@ Must be performed before Design Doc creation:
- List major public Props of target component (about 5 important ones if over 10)
- Identify usage sites with `Grep: "<ComponentName" --type tsx`

3. **Similar Component Search and Decision** (Pattern 5 prevention from @docs/rules/frontend/ai-development-guide.md)
3. **Similar Component Search and Decision** (Pattern 5 prevention from @docs/rules/coding-standards.md)
- Search existing code for keywords related to planned component
- Look for components with same domain, responsibilities, or UI patterns
- Decision and action:
Expand Down
4 changes: 2 additions & 2 deletions .claude/agents-en/technical-designer.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Before starting work, be sure to read and follow these rule files:
- @docs/rules/documentation-criteria.md - Documentation creation criteria
- @docs/rules/technical-spec.md - Project technical specifications
- @docs/rules/typescript.md - TypeScript development rules
- @docs/rules/ai-development-guide.md - AI development guide, pre-implementation existing code investigation process
- @docs/rules/coding-standards.md - Universal Coding Standards, pre-implementation existing code investigation process
- @docs/rules/project-context.md - Project context
- @docs/rules/architecture/implementation-approach.md - Metacognitive strategy selection process (used for implementation approach decisions)
- @docs/rules/architecture/ architecture rule files (if exist)
Expand Down Expand Up @@ -61,7 +61,7 @@ Must be performed before Design Doc creation:
- List major public methods of target service (about 5 important ones if over 10)
- Identify call sites with `Grep: "ServiceName\." --type ts`

3. **Similar Functionality Search and Decision** (Pattern 5 prevention from @docs/rules/ai-development-guide.md)
3. **Similar Functionality Search and Decision** (Pattern 5 prevention from @docs/rules/coding-standards.md)
- Search existing code for keywords related to planned functionality
- Look for implementations with same domain, responsibilities, or configuration patterns
- Decision and action:
Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-en/work-planner.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Operates in an independent context without CLAUDE.md principles, executing auton
## Initial Mandatory Tasks

Before starting work, be sure to read and follow these rule files:
- @docs/rules/ai-development-guide.md - AI development guide, pre-implementation existing code investigation process, task management principles
- @docs/rules/coding-standards.md - Universal Coding Standards, pre-implementation existing code investigation process, task management principles
- @docs/rules/documentation-criteria.md - Documentation creation criteria
- @docs/rules/technical-spec.md - Technical specifications
- @docs/rules/typescript-testing.md - Testing rules
Expand Down
4 changes: 2 additions & 2 deletions .claude/agents-ja/code-reviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
## 初回必須タスク

作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
- @docs/rules/ai-development-guide.md - AI開発ガイド、実装前の既存コード調査プロセス
- @docs/rules/coding-standards.md - 普遍的コーディング規約、実装前の既存コード調査プロセス
- @docs/rules/technical-spec.md - 技術仕様
- @docs/rules/typescript.md - TypeScript開発ルール
- @docs/rules/project-context.md - プロジェクトコンテキスト
Expand Down Expand Up @@ -96,7 +96,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
- [ ] コンポーネント間の依存関係が正しいか
- [ ] 責務の分離が適切か
- [ ] 既存コードベース分析セクションに類似機能調査結果が記載されているか
- [ ] 不必要な重複実装がないか(@docs/rules/ai-development-guide.md パターン5)
- [ ] 不必要な重複実装がないか(@docs/rules/coding-standards.md パターン5)

### 品質検証
- [ ] エラーハンドリングが網羅的か
Expand Down
4 changes: 2 additions & 2 deletions .claude/agents-ja/quality-fixer-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
## 初回必須タスク

作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
- @docs/rules/coding-standards.md - 普遍的コーディング規約(アンチパターン、Rule of Three、デバッグ、型安全性)
- @docs/rules/frontend/typescript.md - フロントエンドTypeScript開発ルール(React function components、Props-driven design)
- @docs/rules/frontend/typescript-testing.md - フロントエンドテストルール(React Testing Library、MSW、60%カバレッジ)
- @docs/rules/frontend/ai-development-guide.md - フロントエンド品質チェックコマンドリファレンス
- @docs/rules/frontend/technical-spec.md - フロントエンド品質チェックコマンドとビルド/テスト設定
- @docs/rules/project-context.md - プロジェクトコンテキスト
- @docs/rules/frontend/technical-spec.md - フロントエンド技術仕様(環境変数、ビルド要件)
- @docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)
- プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
- 採用されているアーキテクチャパターンに応じたルールを適用
Expand Down
7 changes: 4 additions & 3 deletions .claude/agents-ja/quality-fixer.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
- @docs/rules/typescript.md - TypeScript開発ルール
- @docs/rules/typescript-testing.md - テストルール
- @docs/rules/ai-development-guide.md - 品質チェックコマンド一覧
- @docs/rules/technical-spec.md - 品質チェックコマンドとビルド/テスト設定
- @docs/rules/coding-standards.md - 技術的判断基準とアンチパターン
- @docs/rules/project-context.md - プロジェクトコンテキスト
- @docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)
- プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
Expand All @@ -47,7 +48,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、

### Phase 詳細

各フェーズの詳細なコマンドと実行手順は @docs/rules/ai-development-guide.md の「品質チェックコマンドリファレンス」を参照
各フェーズの詳細なコマンドと実行手順は @docs/rules/technical-spec.md の「品質チェック要件」セクションを参照

## ステータス判定基準(二値判定)

Expand Down Expand Up @@ -199,7 +200,7 @@ blockedにする前に、以下の順序で仕様を確認:
## 重要な原則

✅ **推奨**: ルールファイルで定義された原則に従うことで、高品質なコードを維持:
- **ゼロエラー原則**: @docs/rules/ai-development-guide.md 参照
- **ゼロエラー原則**: @docs/rules/coding-standards.md 参照
- **型システム規約**: @docs/rules/typescript.md 参照(特にany型の代替手段)
- **テスト修正基準**: @docs/rules/typescript-testing.md 参照

Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-ja/requirement-analyzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
- @docs/rules/project-context.md - プロジェクトコンテキスト
- @docs/rules/technical-spec.md - 技術仕様(ドキュメント作成プロセス参照)
- @docs/rules/ai-development-guide.md - AI開発ガイド(エスカレーション基準参照)
- @docs/rules/coding-standards.md - 普遍的コーディング規約(エスカレーション基準参照)
- @docs/rules/documentation-criteria.md - ドキュメント作成基準(規模判定とADR条件)

## 責務
Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-ja/task-decomposer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
## 初回必須タスク

作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
- @docs/rules/ai-development-guide.md - タスク管理の原則
- @docs/rules/coding-standards.md - タスク管理の原則
- @docs/rules/documentation-criteria.md - ドキュメント作成基準
- @docs/rules/typescript-testing.md - TDDプロセス(Red-Green-Refactor)
- @docs/rules/project-context.md - 将来の拡張を考慮した汎用的な設計指針
Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-ja/task-executor-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
- プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
- 採用されているアーキテクチャパターンに応じたルールを適用
- コンポーネント階層、機能ベース構造等
- **@docs/rules/coding-standards.md** - 普遍的コーディング規約(アンチパターン、Rule of Three、デバッグ、型安全性、実装前の既存コード調査プロセス)
- **@docs/rules/frontend/typescript.md** - フロントエンドTypeScript開発ルール(React function components、Props-driven設計、型安全性)
- **@docs/rules/frontend/typescript-testing.md** - フロントエンドテストルール(React Testing Library、MSW、60%カバレッジ、Co-location原則)
- **@docs/rules/frontend/ai-development-guide.md** - フロントエンドAI開発ガイド、実装前の既存コード調査プロセス
**厳守**: 実装・テスト・コード品質に関するすべてのルール
**例外**: 品質保証工程・コミット作成は責務範囲外のため適用しない

Expand Down
2 changes: 1 addition & 1 deletion .claude/agents-ja/task-executor.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
- レイヤード・アーキテクチャ、クリーンアーキテクチャ、ヘキサゴナル等
- **@docs/rules/typescript.md** - TypeScript開発ルール(型定義、any禁止、エラーハンドリング)
- **@docs/rules/typescript-testing.md** - テストルール(TDD手法、テスト構造、アサーション方針)
- **@docs/rules/ai-development-guide.md** - AI開発ガイド、実装前の既存コード調査プロセス
- **@docs/rules/coding-standards.md** - 普遍的コーディング規約、実装前の既存コード調査プロセス
**厳守**: 実装・テスト・コード品質に関するすべてのルール
**例外**: 品質保証工程(Phase 1-6)・コミット作成は責務範囲外のため適用しない

Expand Down
4 changes: 2 additions & 2 deletions .claude/agents-ja/technical-designer-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、

作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
- @docs/rules/documentation-criteria.md - ドキュメント作成基準
- @docs/rules/coding-standards.md - 普遍的コーディング規約(アンチパターン、Rule of Three、実装前の既存コード調査プロセス)
- @docs/rules/frontend/technical-spec.md - フロントエンド技術仕様(React、ビルドツール、環境変数)
- @docs/rules/frontend/typescript.md - フロントエンドTypeScript開発ルール(function components、Props-driven設計)
- @docs/rules/frontend/ai-development-guide.md - フロントエンドAI開発ガイド、実装前の既存コード調査プロセス
- @docs/rules/project-context.md - プロジェクトコンテキスト
- @docs/rules/architecture/implementation-approach.md - メタ認知的戦略選択プロセス(実装アプローチ決定で使用)
- @docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)
Expand Down Expand Up @@ -61,7 +61,7 @@ Design Doc作成前に必ず実施:
- 変更対象コンポーネントの主要publicPropsを列挙(10個超の場合は重要な5個程度)
- `Grep: "<ComponentName" --type tsx` で使用箇所を特定

3. **類似コンポーネントの検索と判断**(@docs/rules/frontend/ai-development-guide.md パターン5対策)
3. **類似コンポーネントの検索と判断**(@docs/rules/coding-standards.md パターン5対策)
- 実装予定のコンポーネントに関連するキーワードで既存コードを検索
- 同じドメイン、同じ責務、同じUIパターンのコンポーネントを探索
- 判断と行動:
Expand Down
Loading