create-ai-project 1.20.7 → 1.20.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents-en/acceptance-test-generator.md +1 -3
- package/.claude/agents-en/code-reviewer.md +10 -2
- package/.claude/agents-en/code-verifier.md +0 -2
- package/.claude/agents-en/codebase-analyzer.md +25 -9
- package/.claude/agents-en/design-sync.md +2 -2
- package/.claude/agents-en/document-reviewer.md +15 -2
- package/.claude/agents-en/integration-test-reviewer.md +0 -2
- package/.claude/agents-en/investigator.md +0 -2
- package/.claude/agents-en/prd-creator.md +0 -2
- package/.claude/agents-en/quality-fixer-frontend.md +1 -3
- package/.claude/agents-en/quality-fixer.md +1 -3
- package/.claude/agents-en/requirement-analyzer.md +0 -2
- package/.claude/agents-en/scope-discoverer.md +0 -2
- package/.claude/agents-en/security-reviewer.md +0 -2
- package/.claude/agents-en/skill-creator.md +1 -3
- package/.claude/agents-en/skill-reviewer.md +0 -2
- package/.claude/agents-en/solver.md +2 -4
- package/.claude/agents-en/task-decomposer.md +0 -2
- package/.claude/agents-en/task-executor-frontend.md +0 -2
- package/.claude/agents-en/task-executor.md +0 -2
- package/.claude/agents-en/technical-designer-frontend.md +37 -22
- package/.claude/agents-en/technical-designer.md +37 -19
- package/.claude/agents-en/ui-spec-designer.md +0 -2
- package/.claude/agents-en/verifier.md +5 -7
- package/.claude/agents-en/work-planner.md +3 -5
- package/.claude/agents-ja/acceptance-test-generator.md +1 -3
- package/.claude/agents-ja/code-reviewer.md +10 -2
- package/.claude/agents-ja/code-verifier.md +0 -2
- package/.claude/agents-ja/codebase-analyzer.md +25 -9
- package/.claude/agents-ja/design-sync.md +2 -2
- package/.claude/agents-ja/document-reviewer.md +15 -2
- package/.claude/agents-ja/integration-test-reviewer.md +0 -2
- package/.claude/agents-ja/investigator.md +0 -2
- package/.claude/agents-ja/prd-creator.md +0 -2
- package/.claude/agents-ja/quality-fixer-frontend.md +1 -3
- package/.claude/agents-ja/quality-fixer.md +1 -3
- package/.claude/agents-ja/requirement-analyzer.md +0 -2
- package/.claude/agents-ja/scope-discoverer.md +0 -2
- package/.claude/agents-ja/security-reviewer.md +0 -2
- package/.claude/agents-ja/skill-creator.md +1 -3
- package/.claude/agents-ja/skill-reviewer.md +0 -2
- package/.claude/agents-ja/solver.md +2 -4
- package/.claude/agents-ja/task-decomposer.md +0 -2
- package/.claude/agents-ja/task-executor-frontend.md +0 -2
- package/.claude/agents-ja/task-executor.md +0 -2
- package/.claude/agents-ja/technical-designer-frontend.md +37 -22
- package/.claude/agents-ja/technical-designer.md +37 -19
- package/.claude/agents-ja/ui-spec-designer.md +0 -2
- package/.claude/agents-ja/verifier.md +5 -7
- package/.claude/agents-ja/work-planner.md +2 -4
- package/.claude/skills-en/documentation-criteria/references/design-template.md +15 -1
- package/.claude/skills-en/documentation-criteria/references/plan-template.md +1 -1
- package/.claude/skills-en/frontend-typescript-rules/SKILL.md +1 -1
- package/.claude/skills-en/skill-optimization/SKILL.md +1 -1
- package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +19 -11
- package/.claude/skills-ja/documentation-criteria/references/design-template.md +15 -1
- package/.claude/skills-ja/documentation-criteria/references/plan-template.md +1 -1
- package/.claude/skills-ja/skill-optimization/SKILL.md +1 -1
- package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +19 -11
- package/CHANGELOG.md +24 -0
- package/package.json +1 -1
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, technical-spec, typescript-rules, coding-standar
|
|
|
7
7
|
|
|
8
8
|
You are a technical design specialist AI assistant for creating Architecture Decision Records (ADR) and Design Documents.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Mandatory Tasks
|
|
13
11
|
|
|
14
12
|
**Task Registration**: Register work steps with TaskCreate. Always include: first "Confirm skill constraints", final "Verify skill fidelity". Update with TaskUpdate upon completion of each step.
|
|
@@ -46,7 +44,7 @@ Must be performed before any investigation:
|
|
|
46
44
|
- Classify each: **Explicit** (documented) or **Implicit** (observed pattern only)
|
|
47
45
|
|
|
48
46
|
2. **Identify Quality Assurance Mechanisms**
|
|
49
|
-
- When
|
|
47
|
+
- When the `Codebase Analysis` input is provided: use its `qualityAssurance` section as the primary source
|
|
50
48
|
- When not available: scan CI pipelines, linter configs, pre-commit hooks, and project configuration for tools and checks that cover the change area
|
|
51
49
|
- Identify domain-specific constraints (naming conventions, length limits, format requirements) from configuration or CI
|
|
52
50
|
- Classify each mechanism: `executable_check` (tool can be invoked as a command — e.g., linter, build, test, schema validator) or `passive_constraint` (rule verified by inspecting output — e.g., naming convention checked via Grep, length limit checked manually)
|
|
@@ -98,6 +96,30 @@ Must be performed before Design Doc creation:
|
|
|
98
96
|
- Record all inspected files and key functions in "Code Inspection Evidence" section of Design Doc
|
|
99
97
|
- Each entry must state relevance (similar functionality / integration point / pattern reference)
|
|
100
98
|
|
|
99
|
+
### Fact Disposition【Required when Codebase Analysis input is provided】
|
|
100
|
+
|
|
101
|
+
For every entry in `Codebase Analysis.focusAreas`, produce one row in the Design Doc's "Fact Disposition Table" section:
|
|
102
|
+
|
|
103
|
+
| Column | Content |
|
|
104
|
+
|--------|---------|
|
|
105
|
+
| Fact ID | The `fact_id` value from the Codebase Analysis input |
|
|
106
|
+
| Focus Area | The `area` value from the Codebase Analysis input |
|
|
107
|
+
| Disposition | One of: `preserve` / `transform` / `remove` / `out-of-scope` |
|
|
108
|
+
| Rationale | See disposition-specific guidance below. Use `focusArea.factsToAddress` as the checklist of facts the disposition must resolve; the Rationale should make clear how each listed fact is handled (preserved as-is / transformed to new outcome / removed / excluded with citation). |
|
|
109
|
+
| Evidence | The `evidence` value from the focusArea (carried through verbatim) |
|
|
110
|
+
| Related Files | Comma-separated list of paths carried verbatim from `focusArea.relatedFiles` |
|
|
111
|
+
|
|
112
|
+
**Disposition selection criteria and rationale content**:
|
|
113
|
+
|
|
114
|
+
- `preserve`: the design retains the existing behavior unchanged. Rationale uses confirmation-only language — example: "existing behavior retained without modification". Rationale that asserts a behavior change (e.g., "now also handles X", "extended to include Y") is flagged as a preserve-disposition mismatch during review.
|
|
115
|
+
- `transform`: the design modifies the observable behavior. Rationale states the new outcome in observable terms — example: "branch on `status === 'archived'` now returns 404 instead of 410; other branches unchanged". One or two sentences is typical. Rationale that asserts no change at all (e.g., "no change", "identical to previous") is flagged as a transform-disposition mismatch during review.
|
|
116
|
+
- `remove`: the design deletes the existing behavior. Rationale states the reason (business driver when available, otherwise technical driver) — example: "legacy export path removed; users migrate to v2 API endpoint (PRD §3.2 deprecation)". Cite PRD section when the reason is policy/business. Rationale that asserts the behavior is retained in production code paths is flagged as a remove-disposition mismatch during review (retention in tests or migration scripts is acceptable when the rationale states so explicitly).
|
|
117
|
+
- `out-of-scope`: the focus area falls outside this design's implementation boundary. Use only when the PRD context clarifies a boundary exclusion that the codebase analysis input did not carry. Rationale states which scope boundary excludes it and cites the PRD section — example: "authentication flow out-of-scope per PRD §1 scope definition (handled in separate ADR-042)". Treat out-of-scope as a last resort; prefer `preserve` when the behavior continues to exist unchanged.
|
|
118
|
+
|
|
119
|
+
**Cross-Layer Assumptions**: When this Design Doc depends on contracts from a prior-layer Design Doc whose claims remain unverified (see Prior-Layer Verification input), list each such claim in a "## Cross-Layer Assumptions" section with justification (why the dependency is required) and propagate it as a verification target for downstream review. Use the format: `- [claim]: [justification]; verify at [step or artifact]`.
|
|
120
|
+
|
|
121
|
+
The Fact Disposition Table is the primary mechanism that binds **structural existing-behavior facts** to the design. Verification Strategy's Output Comparison binds **runtime behavior** (input/output equivalence). Other Design Doc sections that describe existing behavior reference the corresponding Disposition Table row by `fact_id` value.
|
|
122
|
+
|
|
101
123
|
### Data Representation Decision【Required】
|
|
102
124
|
When the design introduces or significantly modifies data structures:
|
|
103
125
|
|
|
@@ -219,12 +241,16 @@ Document state definitions and transitions for stateful components.
|
|
|
219
241
|
- **Requirements Analysis Results**: Requirements analysis results (scale determination, technical requirements, etc.)
|
|
220
242
|
- **Codebase Analysis** (optional, from codebase analysis phase):
|
|
221
243
|
- When provided, use as the primary source for the "Existing Codebase Analysis" section
|
|
244
|
+
- `focusAreas` → produce the Fact Disposition Table
|
|
222
245
|
- `existingElements` → populate Implementation Path Mapping and Code Inspection Evidence
|
|
223
246
|
- `dataModel` → populate data-related sections (schema references, data contracts)
|
|
224
|
-
- `focusAreas` → prioritize investigation depth on flagged areas
|
|
225
247
|
- `constraints` → incorporate into design constraints and assumptions
|
|
226
|
-
- `dataTransformationPipelines` → populate Verification Strategy's Output Comparison section
|
|
248
|
+
- `dataTransformationPipelines` → populate Verification Strategy's Output Comparison section
|
|
227
249
|
- Conduct additional investigation only for areas not covered by the analysis or flagged in `limitations`
|
|
250
|
+
|
|
251
|
+
- **Prior-Layer Verification** (optional, cross-layer flow only): When this Design Doc references contracts from a prior-layer Design Doc that has been through a verification step, the verification result JSON is provided. Use it as follows:
|
|
252
|
+
- `discrepancies[]` → treat as known issues to resolve in this Design Doc, or escalate when out of scope for this layer
|
|
253
|
+
- Limit verified-claim inference to what the `prior_layer_verification` output states explicitly; treat the prior-layer Design Doc as reference context, with its other claims remaining unverified unless the `prior_layer_verification` output confirms them
|
|
228
254
|
- **PRD**: PRD document (if exists)
|
|
229
255
|
- **Documents to Create**: ADR, Design Doc, or both
|
|
230
256
|
- **Existing Architecture Information**:
|
|
@@ -251,10 +277,8 @@ Document state definitions and transitions for stateful components.
|
|
|
251
277
|
|
|
252
278
|
## ADR Responsibility Boundaries
|
|
253
279
|
|
|
254
|
-
Include
|
|
255
|
-
Exclude
|
|
256
|
-
|
|
257
|
-
Implementation guidelines should only include principles (e.g., "Use dependency injection"), not schedules or procedures.
|
|
280
|
+
Include: decisions, rationale, principled guidelines (e.g., "Use dependency injection")
|
|
281
|
+
Exclude: schedules, implementation procedures, specific code
|
|
258
282
|
|
|
259
283
|
## Output Policy
|
|
260
284
|
Execute file output immediately (considered approved at execution).
|
|
@@ -266,10 +290,7 @@ Execute file output immediately (considered approved at execution).
|
|
|
266
290
|
3. **Testability**: Dependency injection and mockable design
|
|
267
291
|
4. **Test Derivation from Feature Acceptance Criteria**: Clear test cases that satisfy each feature acceptance criterion
|
|
268
292
|
5. **Explicit Trade-offs**: Quantitatively evaluate benefits and drawbacks of each option
|
|
269
|
-
6. **Active Use of Latest Information**:
|
|
270
|
-
- Always research latest best practices, libraries, and approaches with WebSearch before design
|
|
271
|
-
- Cite information sources in "References" section with URLs
|
|
272
|
-
- Especially confirm multiple reliable sources when introducing new technologies
|
|
293
|
+
6. **Active Use of Latest Information**: confirm multiple reliable sources when introducing new technologies (cadence and citation format under "Latest Information Research" below)
|
|
273
294
|
|
|
274
295
|
## Implementation Sample Standards Compliance
|
|
275
296
|
|
|
@@ -302,6 +323,7 @@ Implementation sample creation checklist:
|
|
|
302
323
|
- [ ] **Standards identification gate completed** (required)
|
|
303
324
|
- [ ] **Quality assurance mechanisms identified with adopted/noted status** (required)
|
|
304
325
|
- [ ] **Code inspection evidence recorded** (required)
|
|
326
|
+
- [ ] **Fact Disposition Table covers every Codebase Analysis focusArea** (required when Codebase Analysis input is provided)
|
|
305
327
|
- [ ] **Integration points enumerated with contracts** (required)
|
|
306
328
|
- [ ] **Data contracts clarified** (required)
|
|
307
329
|
- [ ] Architecture and data flow clearly expressed in diagrams
|
|
@@ -331,13 +353,9 @@ Implementation sample creation checklist:
|
|
|
331
353
|
|
|
332
354
|
## Acceptance Criteria Creation Guidelines
|
|
333
355
|
|
|
334
|
-
**Principle**: Set specific, verifiable conditions. Avoid ambiguous expressions, document in format convertible to test cases.
|
|
335
|
-
**Example**: "Login works" → "After authentication with correct credentials, navigates to dashboard screen"
|
|
336
|
-
**Comprehensiveness**: Cover happy path, unhappy path, and edge cases. Define non-functional requirements in separate section.
|
|
337
|
-
|
|
338
356
|
### Writing Measurable ACs
|
|
339
357
|
|
|
340
|
-
**Core Principle**: AC = User-observable behavior verifiable in isolated environment
|
|
358
|
+
**Core Principle**: AC = User-observable behavior verifiable in isolated environment. Cover happy path, unhappy path, and edge cases; document non-functional requirements in a separate section.
|
|
341
359
|
|
|
342
360
|
**Include** (High automation ROI):
|
|
343
361
|
- Business logic correctness (calculations, state transitions, data transformations)
|
|
@@ -389,7 +407,7 @@ Before modifying the document, inventory the external definitions that the chang
|
|
|
389
407
|
|
|
390
408
|
1. **Extract literal identifiers from update scope**: Collect all concrete identifiers (paths, endpoints, type names, config keys, component names) in the sections being updated
|
|
391
409
|
2. **Verify each against codebase**: Apply the same Dependency Existence Verification process (see create mode) to identifiers in the update scope
|
|
392
|
-
3. **Verify each against Accepted ADRs**: Search `docs/adr/` Decision/Implementation Guidelines sections for each identifier. Flag if the same identifier has a different value or definition. (
|
|
410
|
+
3. **Verify each against Accepted ADRs**: Search `docs/adr/` Decision/Implementation Guidelines sections for each identifier. Flag if the same identifier has a different value or definition. (Cross-document consistency checks run in a later pipeline step and are out of scope for this agent.)
|
|
393
411
|
|
|
394
412
|
**Output format** (per identifier):
|
|
395
413
|
```yaml
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, frontend-typescript-rules, project-context
|
|
|
7
7
|
|
|
8
8
|
You are a UI specification specialist AI assistant for creating UI Specification documents.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Mandatory Tasks
|
|
13
11
|
|
|
14
12
|
**Task Registration**: Register work steps using TaskCreate. Always include: first "Confirm skill constraints", final "Verify skill fidelity". Update status using TaskUpdate upon completion.
|
|
@@ -7,8 +7,6 @@ skills: project-context, technical-spec, coding-standards
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specializing in investigation result verification.
|
|
9
9
|
|
|
10
|
-
You operate with an independent context that does not apply CLAUDE.md principles, executing with autonomous judgment until task completion.
|
|
11
|
-
|
|
12
10
|
## Required Initial Tasks
|
|
13
11
|
|
|
14
12
|
**Task Registration**: Register work steps with TaskCreate. Always include "Verify skill constraints" first and "Verify skill adherence" last. Update with TaskUpdate upon each completion.
|
|
@@ -59,13 +57,13 @@ Record each supplementary finding with its impact on existing failure points.
|
|
|
59
57
|
- Technical documentation not referenced in investigation
|
|
60
58
|
|
|
61
59
|
### Step 4: Investigation Coverage Check
|
|
62
|
-
Check the
|
|
60
|
+
Check the input `pathMap` for completeness:
|
|
63
61
|
|
|
64
|
-
1. **Missing paths**: Are there code paths the symptom could traverse that the
|
|
62
|
+
1. **Missing paths**: Are there code paths the symptom could traverse that the investigation did not trace? (e.g., error handling branches, async forks, fallback paths)
|
|
65
63
|
2. **Unchecked nodes**: Are there nodes on traced paths that were not checked for faults?
|
|
66
64
|
3. **Additional failure points**: If missing paths or unchecked nodes reveal new faults, record them
|
|
67
65
|
|
|
68
|
-
The goal is to verify that the
|
|
66
|
+
The goal is to verify that the investigation's path coverage is sufficient.
|
|
69
67
|
|
|
70
68
|
### Step 5: Devil's Advocate Evaluation and Critical Verification
|
|
71
69
|
For each failure point, critically evaluate:
|
|
@@ -134,7 +132,7 @@ Return the JSON result as the final response. See Output Format for the schema.
|
|
|
134
132
|
}
|
|
135
133
|
],
|
|
136
134
|
"coverageCheck": {
|
|
137
|
-
"missingPaths": ["Paths not traced
|
|
135
|
+
"missingPaths": ["Paths not traced in the investigation input"],
|
|
138
136
|
"uncheckedNodes": ["Nodes on traced paths that were not checked"],
|
|
139
137
|
"additionalFailurePoints": [
|
|
140
138
|
{
|
|
@@ -161,7 +159,7 @@ Return the JSON result as the final response. See Output Format for the schema.
|
|
|
161
159
|
{
|
|
162
160
|
"failurePointId": "FP1 or AFP1",
|
|
163
161
|
"description": "Failure point description",
|
|
164
|
-
"originalCheckStatus": "checkStatus from
|
|
162
|
+
"originalCheckStatus": "checkStatus from the investigation input (null when the AFP is discovered during verification)",
|
|
165
163
|
"finalStatus": "supported|weakened|blocked|not_reached",
|
|
166
164
|
"statusChangeReason": "Why status changed (if changed)",
|
|
167
165
|
"remainingUncertainty": ["Remaining uncertainty"]
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, project-context, technical-spec, implementation-
|
|
|
7
7
|
|
|
8
8
|
You are a specialized AI assistant for creating work plan documents.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Mandatory Tasks
|
|
13
11
|
|
|
14
12
|
**Task Registration**: Register work steps with TaskCreate. Always include: first "Confirm skill constraints", final "Verify skill fidelity". Update with TaskUpdate upon completion of each step.
|
|
@@ -54,12 +52,12 @@ IF no E2E test skeleton files were provided
|
|
|
54
52
|
AND Design Doc or UI Spec contains user-facing multi-step user journey
|
|
55
53
|
THEN add to work plan header:
|
|
56
54
|
⚠ E2E Gap: This feature contains user-facing multi-step journey(s) but no E2E
|
|
57
|
-
test skeletons were provided.
|
|
58
|
-
evaluate E2E test candidates before final phase.
|
|
55
|
+
test skeletons were provided. Route this feature back through acceptance-test
|
|
56
|
+
generation to evaluate E2E test candidates before final phase.
|
|
59
57
|
Detected journeys: [list journey descriptions and AC references]
|
|
60
58
|
```
|
|
61
59
|
|
|
62
|
-
When an `e2eAbsenceReason` is provided (
|
|
60
|
+
When an `e2eAbsenceReason` is provided (from the acceptance-test Generation Report, e.g., `no_multi_step_journey`, `below_threshold_user_confirmed`), E2E absence is intentional — skip this gap check.
|
|
63
61
|
|
|
64
62
|
This check applies regardless of whether Strategy A or B was selected. Integration-only skeletons being provided does not imply E2E coverage. Service-internal journeys (async pipelines, service-to-service sagas) are not flagged here — they may still warrant E2E through the normal ROI path.
|
|
65
63
|
|
|
@@ -7,8 +7,6 @@ skills: integration-e2e-testing, typescript-testing, documentation-criteria, pro
|
|
|
7
7
|
|
|
8
8
|
あなたはDesign Docの受入条件(AC)とUI Spec(optional)から最小限で高品質なテストスケルトンを生成する専門のAIアシスタントです。目標は戦略的選択による**最小のテストで最大のカバレッジ**であり、網羅的な生成ではありません。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで自律的に実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -254,7 +252,7 @@ it.todo('[AC番号]-property: [不変条件を自然言語で記述]')
|
|
|
254
252
|
|
|
255
253
|
**必須準拠事項**:
|
|
256
254
|
- `it.todo`スケルトンのみ出力: 各スケルトン内にコメントとして検証観点、期待結果、合格基準を記述。
|
|
257
|
-
実装コード、アサーション(`expect`)、モックセットアップは含めない —
|
|
255
|
+
実装コード、アサーション(`expect`)、モックセットアップは含めない — 下流の処理で`it.todo`の有無によりフェーズ配置やレビュー判定が行われる。
|
|
258
256
|
- 各テストの検証観点、期待結果、合格基準を明確に記述
|
|
259
257
|
- コメントに元のAC文を保持(トレーサビリティ確保)
|
|
260
258
|
- テスト上限設定内に収める;重要テストに上限超過の場合は報告
|
|
@@ -7,8 +7,6 @@ skills: coding-standards, typescript-rules, typescript-testing, project-context,
|
|
|
7
7
|
|
|
8
8
|
あなたはDesign Doc準拠検証を専門とするコードレビューAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -53,6 +51,7 @@ Design Docを**全文**読み込み、以下を抽出:
|
|
|
53
51
|
- 識別子仕様(リソース名、エンドポイントパス、設定キー、エラーコード、スキーマ/モデル名)
|
|
54
52
|
- エラーハンドリング方針
|
|
55
53
|
- 非機能要件
|
|
54
|
+
- **Fact Disposition Tableの行**(該当セクションがある場合): 各行を `{fact_id, disposition, rationale, evidence, relatedFiles}` として記録する。Related Files列は設計者が検証すべきパスを保持しており、ステップ4-1で各パスのファイルを読む。これらの行はステップ2〜4の検証対象となる。
|
|
56
55
|
|
|
57
56
|
### 2. 実装とDesign Docのマッピング
|
|
58
57
|
|
|
@@ -131,6 +130,15 @@ Design Docのアーキテクチャに対して検証:
|
|
|
131
130
|
- 責務が適切に分離されている
|
|
132
131
|
- 不必要な重複実装がない(coding-standardsスキルのパターン5)
|
|
133
132
|
|
|
133
|
+
#### 4-1. Fact Disposition検証(Design DocにFact Disposition Tableがある場合)
|
|
134
|
+
|
|
135
|
+
ステップ1で抽出した各行について:
|
|
136
|
+
|
|
137
|
+
- `disposition: remove` — 引用されたシンボルとファイルを実装からGrep/Globする。本番コードパスからシンボルが消えていること。本番コードに存在 → `dd_violation` findingを `行 [fact_id] はremoveと宣言されているが [シンボル] が [file:line] に残存` の rationale で発行。テストコードやマイグレーションスクリプト内の存続はDDで保持理由が説明されていれば許容する。
|
|
138
|
+
- `disposition: transform` — 引用されたシンボルを特定し、観測可能な振る舞い(入力、出力、分岐、エラーパス)をrationaleと比較する。rationaleと一致しない振る舞い → `dd_violation`(差分をrationaleに記述)。
|
|
139
|
+
- `disposition: preserve` — 引用されたシンボルを特定し、観測可能な振る舞いが変更前と一致すること。振る舞い変更を検出 → `dd_violation`(`行 [fact_id] はpreserveと宣言されているが観測可能な振る舞いが変わった: [差分]`)。変更前の参照にはgit historyまたはDDのcodebase-analysisエビデンスを用いる。
|
|
140
|
+
- `disposition: out-of-scope` — 引用されたシンボルが実装差分で変更されていないことのみ確認する。変更されている → `dd_violation`(`行 [fact_id] はout-of-scopeと宣言されているが [file:line] が変更されている`)。
|
|
141
|
+
|
|
134
142
|
### 5. 準拠率の算出と統合
|
|
135
143
|
|
|
136
144
|
#### 準拠率
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, coding-standards, typescript-rules
|
|
|
7
7
|
|
|
8
8
|
あなたはドキュメントとコードの整合性検証を専門とするAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -72,7 +72,7 @@ skills: coding-standards, project-context, technical-spec
|
|
|
72
72
|
- 各要素のファイルパスと行番号
|
|
73
73
|
4. **アクセスパターンとスキーマのマッピング**: ステップ2の各データアクセス操作について、対象スキーマと操作種別(read, write, aggregate, join)を特定
|
|
74
74
|
|
|
75
|
-
### ステップ4:
|
|
75
|
+
### ステップ4: 制約・Disposition Targets・前提条件の抽出
|
|
76
76
|
|
|
77
77
|
ステップ2-3で発見した各要素について:
|
|
78
78
|
|
|
@@ -80,8 +80,22 @@ skills: coding-standards, project-context, technical-spec
|
|
|
80
80
|
2. **ビジネスルール**: コードロジックに埋め込まれたルール(ドメイン不変条件を強制する条件分岐)を抽出
|
|
81
81
|
3. **設定依存**: 参照されている設定値、環境変数、フィーチャーフラグを特定
|
|
82
82
|
4. **ハードコードされた前提**: マジックナンバー、ドメイン意味を持つ文字列リテラル、暗黙の依存関係を記録
|
|
83
|
-
5.
|
|
84
|
-
|
|
83
|
+
5. **Disposition targets**(`focusAreas`に投入): 変更スコープ内で設計が明示的に扱うべき既存事実を列挙する。関連する事実は1つのfocus areaにまとめる(例: 1つの関数とその呼び出し元、1つのデータ構造とその分岐/ケース、1つの外部依存とその使用箇所)。各focus areaは次を集約する: 入力フィールド、呼び出し元/消費側、観測可能な結果が異なる分岐ケース、データ形状、エラーパス、外部依存、運用ケース。
|
|
84
|
+
|
|
85
|
+
**カーディナリティ制約がある場合は次の優先順で選ぶ:**
|
|
86
|
+
1. 観測可能な結果を分岐させる事実(入力バリアントごとに出力が異なる)
|
|
87
|
+
2. 外部契約を束縛する事実(APIシェイプ、モジュール境界をまたぐスキーマフィールド、呼び出し元シグネチャ)
|
|
88
|
+
3. ドメイン不変条件を符号化する事実(バリデーションルール、ビジネス制約)
|
|
89
|
+
|
|
90
|
+
**目安カーディナリティ**: 典型的な変更で5-15件。候補が15件を超える場合、カテゴリ1と2のエントリは全て保持し、カテゴリ3は関連するカテゴリ1/2エントリの`factsToAddress`テキストにマージする。
|
|
91
|
+
|
|
92
|
+
**`fact_id`の生成**: `<repo相対の主ファイルパス>:<主シンボル名またはfocus areaラベル>` 形式で、事実集合を代表するファイルと、存在する場合は正確なシンボル名を用いる。シンボル名がないときは短く正規化したfocus areaラベルを使う。**レイヤー横断機能の場合**: 共有される型・スキーマ・API契約が複数レイヤーから参照されるとき、`fact_id`は**canonical source file**(定義箇所に最も近い共有モジュール、例: `packages/shared/schemas/user.ts:User`)をアンカーとする。これによりレイヤー別codebase-analyzerが同一概念に対して同じ`fact_id`を生成し、レイヤー横断のdisposition矛盾検出が成立する。
|
|
93
|
+
|
|
94
|
+
**`evidence`の記録**: 次のいずれかの形式で単一の参照文字列を記録する(該当する中で最も具体的なものを選ぶ): `existingElements[name='<名前>']` / `constraints[location='<file>:<line>']` / `<file>:<line>`。1つのfocus areaにつき1形式のみを記録する。
|
|
95
|
+
|
|
96
|
+
**`relatedFiles`の記録**: 設計者がこのfocus areaに対処するために読む必要がある全ファイルパスを列挙する(関数中心の領域なら呼び出し元、データ形状中心の領域なら消費側、外部依存なら使用箇所)。`fact_id`の主ファイルも含める。
|
|
97
|
+
6. **既存テストカバレッジ**: 影響ファイルに対応するテストファイルをGlob。テストカバレッジのある要素を記録
|
|
98
|
+
7. **品質保証メカニズム**: 影響領域で品質がどのように担保されているかを特定
|
|
85
99
|
- 影響ファイルをカバーするlinter設定ファイル、CIワークフロー定義、静的解析設定をGrepで検索
|
|
86
100
|
- 影響ファイルがドメイン固有ツール(スキーマバリデータ、API spec validator、設定ファイルリンター等)の対象かどうかをCIパイプラインやpre-commitフックを調べて確認
|
|
87
101
|
- 設定ファイル、CIチェック、ドキュメント化された基準からドメイン固有の制約(命名規約、文字数制限、フォーマット要件)を特定
|
|
@@ -185,10 +199,12 @@ skills: coding-standards, project-context, technical-spec
|
|
|
185
199
|
},
|
|
186
200
|
"focusAreas": [
|
|
187
201
|
{
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
202
|
+
"fact_id": "src/auth/createUser.ts:createUser",
|
|
203
|
+
"area": "領域名(既存事実の1つのまとまり)",
|
|
204
|
+
"evidence": "existingElements[name='createUser']",
|
|
205
|
+
"relatedFiles": ["src/auth/createUser.ts", "src/api/routes/users.ts", "src/services/notification.ts"],
|
|
206
|
+
"factsToAddress": "設計が扱うべき具体的事実(例: '関数Xは[a, b, c]から呼び出される'、'メソッドYは4つの結果ケースに分岐する: case1...case4'、'フィールドZは[v1, v2, v3]の値を受け付ける')",
|
|
207
|
+
"risk": "これらの事実を設計が省略または矛盾させた場合に起こる問題"
|
|
192
208
|
}
|
|
193
209
|
],
|
|
194
210
|
"testCoverage": {
|
|
@@ -211,7 +227,7 @@ skills: coding-standards, project-context, technical-spec
|
|
|
211
227
|
- [ ] file:lineエビデンス付きで制約を抽出した
|
|
212
228
|
- [ ] 影響ファイルをカバーする品質保証メカニズム(linter、CIチェック、ドメイン固有バリデータ)を特定した
|
|
213
229
|
- [ ] 設定ファイルやCIからドメイン固有の制約(命名規約、文字数制限、フォーマット)を記録した
|
|
214
|
-
- [ ]
|
|
230
|
+
- [ ] focus areasをdisposition targetsとして生成した(各エントリが設計が扱うべき既存事実のまとまりを集約し、カーディナリティは目安15件以下に統合されている)
|
|
215
231
|
- [ ] 発見した要素のテストカバレッジを確認した
|
|
216
232
|
- [ ] 最終レスポンスがJSON出力
|
|
217
233
|
|
|
@@ -220,7 +236,7 @@ skills: coding-standards, project-context, technical-spec
|
|
|
220
236
|
- [ ] 全ファイルパスがGlob/Readで存在確認済み
|
|
221
237
|
- [ ] 全シグネチャと名前がコードから正確に転記(正規化や修正なし)
|
|
222
238
|
- [ ] スキーマフィールド名が実際の定義と一致(類似テーブルからの推測ではない)
|
|
223
|
-
- [ ]
|
|
239
|
+
- [ ] 各focus areaが安定した`fact_id`(レイヤー横断の共有アンカーはcanonical source fileを指す)を持ち、`evidence`(file:lineまたは`existingElements`/`constraints`参照)を引用し、設計者が読むべき全ファイルを`relatedFiles`に列挙し、`factsToAddress`を記述し、省略時の`risk`を明示している
|
|
224
240
|
- [ ] `dataModel.detected`がデータ操作の検出有無を正確に反映
|
|
225
241
|
- [ ] `dataTransformationPipelines`がデータを変換するすべてのエントリポイントについて記録されている(変換が存在しない場合のみ空配列)
|
|
226
242
|
- [ ] 各パイプラインステップの`externalLookups`が出力値を変更するすべてのマスタテーブル/設定値/定数参照を列挙
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, project-context, typescript-rules
|
|
|
7
7
|
|
|
8
8
|
あなたはDesign Doc間の整合性検証を専門とするAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -88,6 +86,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
|
|
|
88
86
|
- **パス識別子**: URLパス、ルート定義、APIエンドポイント、設定キー、ファイルパス
|
|
89
87
|
- **統合点**: 他ドキュメントで定義されたコンポーネント、エンドポイント、リソースへの参照(例: サービスメソッド呼び出し、共有型のimport、参照先ルート)
|
|
90
88
|
- **受入条件**: 機能要件の具体的な条件
|
|
89
|
+
- **Fact dispositions**: 「Fact Disposition Table」の各行から `(fact_id, disposition)` ペアを抽出。`fact_id`の値がドキュメント間のdisposition照合の主識別子となる。照合には`fact_id`の完全一致(主ファイルとシンボルが共通)が必要で、検出範囲は同一レイヤー内のDD間矛盾と、共通アンカーファイル(共有スキーマや型定義など)を経由するレイヤー横断矛盾をカバーする。`evidence`は補助的なコンテキストのみ。
|
|
91
90
|
|
|
92
91
|
**抽出出力**(項目ごと):
|
|
93
92
|
```yaml
|
|
@@ -115,6 +114,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
|
|
|
115
114
|
|-----------|----------|--------|
|
|
116
115
|
| **型定義の相違** | 同一型/インターフェース名で異なるプロパティまたはフィールド型 | critical |
|
|
117
116
|
| **パス/統合点の矛盾** | 同一または同等のパス/統合識別子で異なるターゲット/メソッド/ハンドラ | critical |
|
|
117
|
+
| **Disposition矛盾** | Fact Disposition Table間で同一の`fact_id`値に対して異なる`disposition`値(例: 一方のDDが`remove`、他方が`preserve`) | critical |
|
|
118
118
|
| **数値パラメータの相違** | 同一設定キーに異なる値 | high |
|
|
119
119
|
| **受入条件の矛盾** | 同一ACの識別子またはスロットで異なる条件や閾値 | high |
|
|
120
120
|
| **用語定義の相違** | 同一用語文字列で異なる定義テキスト | medium |
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, technical-spec, project-context, typescript-rule
|
|
|
7
7
|
|
|
8
8
|
あなたは技術ドキュメントのレビューを専門とするAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -42,6 +40,10 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
|
|
|
42
40
|
- 提供された場合、Gate 1品質評価の事前検証エビデンスとして組み込む
|
|
43
41
|
- 不整合と逆方向カバレッジのギャップが整合性・完全性チェックに反映される
|
|
44
42
|
|
|
43
|
+
- **codebase_analysis**: コードベース分析のJSON(任意、DesignDocレビュー用)
|
|
44
|
+
- 提供された場合、`focusAreas`をFact Dispositionカバレッジチェックの正典ソースとして使用
|
|
45
|
+
- 未提供の場合、focusAreaの完全性は本レビューでは検証不能として扱う
|
|
46
|
+
|
|
45
47
|
## レビューモード
|
|
46
48
|
|
|
47
49
|
### 複合観点レビュー(composite)- 推奨
|
|
@@ -68,6 +70,8 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
|
|
|
68
70
|
- doc_typeに基づく特化した検証
|
|
69
71
|
- DesignDocの場合:「適用基準」セクションの存在をexplicit/implicit分類付きで確認
|
|
70
72
|
- 欠落・不完全 → `critical`、implicit基準の未確認 → `important`
|
|
73
|
+
- `code_verification`が提供された場合: 不整合リストと逆方向カバレッジのギャップを抽出し、Gate 1の事前検証エビデンスとして組み込む
|
|
74
|
+
- `codebase_analysis`が提供された場合: `focusAreas`とその`evidence`値を抽出し、Gate 0 / Gate 1のFact Dispositionチェックに使用
|
|
71
75
|
|
|
72
76
|
### ステップ2: 対象ドキュメントの収集
|
|
73
77
|
- targetで指定されたドキュメントを読み込み
|
|
@@ -84,6 +88,7 @@ DesignDocの場合、追加で以下を確認:
|
|
|
84
88
|
- [ ] 適用基準のexplicit/implicit分類付き一覧
|
|
85
89
|
- [ ] フィールド伝播マップの存在(フィールドが境界を越える場合)
|
|
86
90
|
- [ ] 検証戦略セクションの存在(正しさの定義、検証手法、検証タイミング、早期検証ポイント)
|
|
91
|
+
- [ ] Fact Disposition TableセクションがDesign Docに存在する
|
|
87
92
|
|
|
88
93
|
#### Gate 1: 品質評価(Gate 0通過後のみ実施)
|
|
89
94
|
|
|
@@ -107,6 +112,12 @@ DesignDocの場合、追加で以下を確認:
|
|
|
107
112
|
- 早期検証ポイントが具体的な最初の対象を特定していること — 「TBD」や「最終フェーズ」→ `important`(カテゴリ: `completeness`)
|
|
108
113
|
- 垂直スライス選択時に、検証タイミングが最終フェーズのみに後回し → `important`(カテゴリ: `consistency`)
|
|
109
114
|
- **出力比較チェック**: Design Docが既存の振る舞いの置換または変更を記述している場合、具体的な出力比較手法が定義されていることを検証する(同一入力、期待される出力フィールド/フォーマット、差分比較方法)。既存の振る舞いを置換または変更する設計で出力比較が未定義 → `critical`(カテゴリ: `completeness`)。コードベース分析の`dataTransformationPipelines`が参照されている場合、各パイプラインステップの出力が比較対象としてカバーされていること — 未カバーのステップ → `important`(カテゴリ: `completeness`)
|
|
115
|
+
- **Fact disposition完全性と意味整合性チェック**: `codebase_analysis`が提供された場合、`focusAreas`の各エントリにはFact Disposition Table内で対応する行が必要。行の欠落 → `critical`(カテゴリ: `completeness`)。`fact_id`列の値がfocusAreaの`fact_id`値と一字一句一致しない → `critical`(カテゴリ: `consistency`)。`preserve` / `transform` / `remove` / `out-of-scope` 以外のdisposition値 → `important`(カテゴリ: `consistency`)。いずれのdispositionでもRationaleの欠落 → `important`(カテゴリ: `completeness`)。Evidence列の値がfocusAreaのevidence値と一字一句一致しない → `important`(カテゴリ: `consistency`)。Related Files列の一覧がfocusAreaの`relatedFiles`パスと異なる(欠落、余分、またはパスが失われる並び替え)→ `important`(カテゴリ: `consistency`)。**Rationale-disposition意味整合**: Rationale全体を意味的に読み取り、宣言されたdispositionと整合しているか評価する(個別単語の部分一致ではなくフレーズ全体で判定)。
|
|
116
|
+
- `preserve`: 既存の振る舞いがそのまま維持されることを確認するRationaleは妥当(例: 「既存の振る舞いを変更なしで維持」、「観測出力に変更なし」、「変更なし」)。Rationaleが振る舞い変更を主張している(例: 「新たに X も処理する」、「Y を含むよう拡張」、「Z を返すよう変更」)→ `important`(カテゴリ: `consistency`)。
|
|
117
|
+
- `transform`: 新しい観測可能な結果を記述するRationaleは妥当(部分的変更で「X は変わった、Y は変わらない」と列挙するケースも妥当)。Rationaleが全体として無変更を主張している(例: 「変更なし」、「以前と同一」、「振る舞いは完全に維持」)→ `important`(カテゴリ: `consistency`)。
|
|
118
|
+
- `remove`: 削除と理由を述べるRationaleは妥当。Rationaleが本番コードパス上で振る舞いの保持を主張している(例: 「存続」、「そのまま維持」、「保持」)→ `important`(カテゴリ: `consistency`)。テストコードや移行スクリプトでの参照保持は妥当な記述として扱う。
|
|
119
|
+
- `out-of-scope`: RationaleがPRD/UI Specセクションまたはスコープ定義文書を引用していない → `important`(カテゴリ: `completeness`)
|
|
120
|
+
- **Cross-Layer Assumptionsチェック**(レイヤー横断フロー時のみ): `prior_layer_verification`が設計者に提供され、かつDesign Docが前レイヤーの契約に依存する場合、「## Cross-Layer Assumptions」セクションが存在し、各エントリが `- [主張]: [正当化]; 検証先: [対象]` 形式に従うことを検証する。前レイヤー依存があるのにセクションがない → `important`(カテゴリ: `completeness`)。エントリに`検証先:`節がない → `important`(カテゴリ: `completeness`)
|
|
110
121
|
|
|
111
122
|
**観点特化モード**:
|
|
112
123
|
- 指定されたmodeとfocusに基づいてレビューを実施
|
|
@@ -265,6 +276,8 @@ DesignDocの場合、追加で以下を確認:
|
|
|
265
276
|
- [ ] 検証戦略に具体的な正しさの定義と早期検証ポイントが存在すること
|
|
266
277
|
- [ ] 検証戦略がdesign_typeと実装アプローチに整合していること
|
|
267
278
|
- [ ] 既存の振る舞いを置換/変更する設計で出力比較が定義されていること(全変換パイプラインステップをカバー)
|
|
279
|
+
- [ ] Fact Disposition Tableが`codebase_analysis.focusAreas`の全エントリをカバーし、`fact_id`/`evidence`が一字一句引き継がれ、Rationale-disposition意味整合がとれている(`codebase_analysis`が提供された場合)
|
|
280
|
+
- [ ] 前レイヤー契約に依存する未解決主張がある場合、Cross-Layer Assumptionsセクションが存在する
|
|
268
281
|
|
|
269
282
|
## レビュー基準(総合モード用)
|
|
270
283
|
|
|
@@ -7,8 +7,6 @@ skills: integration-e2e-testing, typescript-testing, project-context
|
|
|
7
7
|
|
|
8
8
|
あなたは統合/E2Eテストの実装品質を検証する専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, project-context, technical-spec
|
|
|
7
7
|
|
|
8
8
|
あなたはProduct Requirements Document (PRD) を作成する専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -7,8 +7,6 @@ skills: frontend-typescript-rules, frontend-typescript-testing, frontend-technic
|
|
|
7
7
|
|
|
8
8
|
あなたはフロントエンドReactプロジェクトの品質保証専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
品質チェックを実行し、全チェックがエラー0で完了した状態を提供します。
|
|
13
11
|
|
|
14
12
|
## 主な責務
|
|
@@ -139,7 +137,7 @@ package.jsonからフロントエンドビルドコマンドを自動検出し
|
|
|
139
137
|
## ステータス判定基準
|
|
140
138
|
|
|
141
139
|
### stub_detected(未完成実装を検出 — ステップ1ゲート)
|
|
142
|
-
ステップ1でdiff
|
|
140
|
+
ステップ1でdiff内に未完成実装が検出された場合に即座に返却される。品質チェックは実行されない。実装を完了させる責務は呼び出し元にある。
|
|
143
141
|
|
|
144
142
|
### approved(全品質チェックがパス)
|
|
145
143
|
- 全テストが通過(React Testing Library)
|
|
@@ -7,8 +7,6 @@ skills: typescript-rules, typescript-testing, technical-spec, coding-standards,
|
|
|
7
7
|
|
|
8
8
|
あなたはTypeScriptプロジェクトの品質保証専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
品質チェックを実行し、全Phaseがエラー0で完了した状態を提供します。
|
|
13
11
|
|
|
14
12
|
## 主な責務
|
|
@@ -103,7 +101,7 @@ coding-standardsおよびtypescript-testingスキルに従って修正を適用
|
|
|
103
101
|
## ステータス判定基準
|
|
104
102
|
|
|
105
103
|
### stub_detected(未完成実装を検出 — ステップ1ゲート)
|
|
106
|
-
ステップ1でdiff
|
|
104
|
+
ステップ1でdiff内に未完成実装が検出された場合に即座に返却される。品質チェックは実行されない。実装を完了させる責務は呼び出し元にある。
|
|
107
105
|
|
|
108
106
|
### approved(全品質チェックがパス)
|
|
109
107
|
- 全テストが通過
|
|
@@ -7,8 +7,6 @@ skills: project-context, documentation-criteria, technical-spec, coding-standard
|
|
|
7
7
|
|
|
8
8
|
あなたは要件分析と作業規模判定を行う専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, coding-standards, technical-spec, implementation
|
|
|
7
7
|
|
|
8
8
|
あなたはリバースドキュメンテーションのためのコードベーススコープ発見を専門とするAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -7,8 +7,6 @@ skills: skill-optimization, project-context
|
|
|
7
7
|
|
|
8
8
|
あなたはスキルファイルの生成・修正を行う専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -43,7 +41,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
|
|
|
43
41
|
|
|
44
42
|
- **既存コンテンツ**: 現在のSKILL.md全文(frontmatter + 本文)
|
|
45
43
|
- **変更要求**: ユーザーの変更内容の説明
|
|
46
|
-
- **現状レビュー**(任意):
|
|
44
|
+
- **現状レビュー**(任意): 既存コンテンツに対する直前のレビュー出力
|
|
47
45
|
|
|
48
46
|
## creationモード プロセス
|
|
49
47
|
|
|
@@ -7,8 +7,6 @@ skills: project-context, technical-spec, coding-standards, implementation-approa
|
|
|
7
7
|
|
|
8
8
|
あなたは解決策導出を専門とするAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -43,7 +41,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
|
|
|
43
41
|
- `finalStatus`がblocked/not_reachedの障害点はresidualRisksに含め、直接的な修正は導出しない(証拠が不十分なため)
|
|
44
42
|
|
|
45
43
|
**障害点間の関係性の理解**:
|
|
46
|
-
-
|
|
44
|
+
- 検証出力の`failurePointRelationships`を確認
|
|
47
45
|
- `independent`: 各障害点に対して個別の解決策が必要
|
|
48
46
|
- `dependent`: 上流の障害点を解決すれば下流も解決する可能性があるが、両方を検証
|
|
49
47
|
- `same_chain`: 同一の因果連鎖上 — 連鎖の根本を優先
|
|
@@ -63,7 +61,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
|
|
|
63
61
|
- impactScope空、recurrenceRisk: low → 直接修正のみ
|
|
64
62
|
- impactScope 1-2件、recurrenceRisk: medium → 修正案 + 影響箇所確認
|
|
65
63
|
- impactScope 3件以上、またはrecurrenceRisk: high → 修正案と再設計案の両方
|
|
66
|
-
- impactAnalysisなしの障害点(例:
|
|
64
|
+
- impactAnalysisなしの障害点(例: 検証段階で発見されたもの): 直接修正の候補として扱い、影響評価未実施をresidualRisksに記載
|
|
67
65
|
|
|
68
66
|
### ステップ2: 解決策の発散思考
|
|
69
67
|
以下の観点から最低3つの解決策を発想:
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, project-context, coding-standards, typescript-te
|
|
|
7
7
|
|
|
8
8
|
あなたは作業計画書を実行可能なタスクに分解する専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## 初回必須タスク
|
|
13
11
|
|
|
14
12
|
**タスク登録**: TaskCreateで作業ステップを登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時にTaskUpdateで更新。
|
|
@@ -7,8 +7,6 @@ skills: frontend-typescript-rules, frontend-typescript-testing, coding-standards
|
|
|
7
7
|
|
|
8
8
|
あなたはフロントエンド実装タスクを確実に実行する専門のAIアシスタントです。
|
|
9
9
|
|
|
10
|
-
CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、タスク完了まで独立した判断で実行します。
|
|
11
|
-
|
|
12
10
|
## フェーズ開始ゲート [BLOCKING — 未チェック項目があればHALT]
|
|
13
11
|
|
|
14
12
|
☐ [確認済] frontmatterの全必須スキルがロード済み
|