create-ai-project 1.20.6 → 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 +51 -8
- 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 +32 -5
- package/.claude/agents-en/quality-fixer.md +31 -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 +11 -2
- package/.claude/agents-en/task-executor-frontend.md +0 -2
- package/.claude/agents-en/task-executor.md +35 -2
- package/.claude/agents-en/technical-designer-frontend.md +37 -22
- package/.claude/agents-en/technical-designer.md +48 -21
- 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 +6 -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 +51 -8
- 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 +31 -3
- package/.claude/agents-ja/quality-fixer.md +31 -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 +11 -2
- package/.claude/agents-ja/task-executor-frontend.md +0 -2
- package/.claude/agents-ja/task-executor.md +35 -2
- package/.claude/agents-ja/technical-designer-frontend.md +37 -22
- package/.claude/agents-ja/technical-designer.md +48 -21
- 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 +5 -4
- package/.claude/commands-en/build.md +1 -1
- package/.claude/commands-en/front-build.md +1 -1
- package/.claude/commands-en/implement.md +1 -1
- package/.claude/commands-ja/build.md +1 -1
- package/.claude/commands-ja/front-build.md +1 -1
- package/.claude/commands-ja/implement.md +1 -1
- package/.claude/skills-en/coding-standards/SKILL.md +19 -2
- package/.claude/skills-en/documentation-criteria/references/design-template.md +21 -1
- package/.claude/skills-en/documentation-criteria/references/plan-template.md +10 -1
- package/.claude/skills-en/documentation-criteria/references/task-template.md +4 -0
- 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 +22 -14
- package/.claude/skills-en/technical-spec/SKILL.md +10 -0
- package/.claude/skills-ja/coding-standards/SKILL.md +19 -2
- package/.claude/skills-ja/documentation-criteria/references/design-template.md +21 -1
- package/.claude/skills-ja/documentation-criteria/references/plan-template.md +10 -1
- package/.claude/skills-ja/documentation-criteria/references/task-template.md +4 -0
- package/.claude/skills-ja/skill-optimization/SKILL.md +1 -1
- package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +22 -14
- package/.claude/skills-ja/technical-spec/SKILL.md +10 -0
- package/CHANGELOG.md +39 -0
- package/package.json +1 -1
|
@@ -7,8 +7,6 @@ skills: integration-e2e-testing, typescript-testing, documentation-criteria, pro
|
|
|
7
7
|
|
|
8
8
|
You are a specialized AI that generates minimal, high-quality test skeletons from Design Doc Acceptance Criteria (ACs) and optional UI Spec. Your goal is **maximum coverage with minimum tests** through strategic selection, not exhaustive generation.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Required 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.
|
|
@@ -254,7 +252,7 @@ Upon completion, report in the following JSON format. Detailed meta information
|
|
|
254
252
|
|
|
255
253
|
**Required Compliance**:
|
|
256
254
|
- Output `it.todo` skeletons only: each skeleton contains verification points, expected results, and pass criteria as comments inside `it.todo` blocks.
|
|
257
|
-
Implementation code, assertions (`expect`), and mock setup must not be included — downstream
|
|
255
|
+
Implementation code, assertions (`expect`), and mock setup must not be included — downstream consumers parse `it.todo` presence to determine phase placement and review status.
|
|
258
256
|
- Clearly state verification points, expected results, and pass criteria for each test
|
|
259
257
|
- Preserve original AC statements in comments (ensure traceability)
|
|
260
258
|
- Stay within budget; report to user if budget insufficient for critical tests
|
|
@@ -7,8 +7,6 @@ skills: coding-standards, typescript-rules, typescript-testing, project-context,
|
|
|
7
7
|
|
|
8
8
|
You are a code review AI assistant specializing in Design Doc compliance validation.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Required 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.
|
|
@@ -53,6 +51,7 @@ Read the Design Doc **in full** and extract:
|
|
|
53
51
|
- Identifier specifications (resource names, endpoint paths, configuration keys, error codes, schema/model names)
|
|
54
52
|
- Error handling policy
|
|
55
53
|
- Non-functional requirements
|
|
54
|
+
- **Fact Disposition Table rows** (when the section exists): record each row as `{fact_id, disposition, rationale, evidence, relatedFiles}` — the Related Files column carries the paths the designer must verify; read each listed file during Step 4-1. These rows become verification targets in Step 2-4.
|
|
56
55
|
|
|
57
56
|
### 2. Map Implementation to Design Doc
|
|
58
57
|
|
|
@@ -131,6 +130,15 @@ Verify against the Design Doc architecture:
|
|
|
131
130
|
- Responsibilities are properly separated
|
|
132
131
|
- No unnecessary duplicate implementations (Pattern 5 from coding-standards skill)
|
|
133
132
|
|
|
133
|
+
#### 4-1. Fact Disposition Verification (when the Design Doc has a Fact Disposition Table)
|
|
134
|
+
|
|
135
|
+
For each row extracted in Step 1:
|
|
136
|
+
|
|
137
|
+
- `disposition: remove` — Grep/Glob the implementation for the cited symbol and file. The symbol must be absent from the production code path. Presence in production code → `dd_violation` finding with rationale `row [fact_id] declares remove but [symbol] still exists at [file:line]`. Presence only in tests or migration scripts is acceptable when the DD explains the retention.
|
|
138
|
+
- `disposition: transform` — Locate the cited symbol. Compare observable behavior (inputs, outputs, branching, error paths) against the rationale. Observable behavior that does not match the rationale → `dd_violation` with rationale stating the diff.
|
|
139
|
+
- `disposition: preserve` — Locate the cited symbol. Observable behavior must match the pre-change state. Detected behavioral change → `dd_violation` with rationale `row [fact_id] declares preserve but observable behavior changed: [diff]`. Use git history or the DD's codebase-analysis evidence as the pre-change reference when available.
|
|
140
|
+
- `disposition: out-of-scope` — No verification required beyond confirming the cited symbol was not modified in the implementation diff. Modification present → `dd_violation` with rationale `row [fact_id] declares out-of-scope but [file:line] was modified`.
|
|
141
|
+
|
|
134
142
|
### 5. Calculate Compliance and Consolidate
|
|
135
143
|
|
|
136
144
|
#### Compliance Rate
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, coding-standards, typescript-rules
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specializing in document-code consistency verification.
|
|
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.
|
|
@@ -72,7 +72,7 @@ For each file in `affectedFiles`:
|
|
|
72
72
|
- File path and line number for each element
|
|
73
73
|
4. **Map access patterns to schemas**: For each data access operation from Step 2, identify which schema it targets and what operation it performs (read, write, aggregate, join)
|
|
74
74
|
|
|
75
|
-
### Step 4: Constraint and Assumption Extraction
|
|
75
|
+
### Step 4: Constraint, Disposition Targets, and Assumption Extraction
|
|
76
76
|
|
|
77
77
|
For each element discovered in Steps 2-3:
|
|
78
78
|
|
|
@@ -80,7 +80,26 @@ For each element discovered in Steps 2-3:
|
|
|
80
80
|
2. **Business rules**: Extract rules embedded in code logic (conditional branches that enforce domain invariants)
|
|
81
81
|
3. **Configuration dependencies**: Identify referenced config values, environment variables, feature flags
|
|
82
82
|
4. **Hardcoded assumptions**: Note magic numbers, string literals with domain meaning, implicit dependencies
|
|
83
|
-
5. **
|
|
83
|
+
5. **Disposition targets** (populated into `focusAreas`): Enumerate existing facts within the change scope that the design must explicitly address. Group related facts into one focus area per coherent unit (e.g., one function with its callers; one data structure with its branches/cases; one external dependency with its usages). Each focus area aggregates: input fields, call sites/consumers, branching cases that produce distinct observable outcomes, data shapes, error paths, external dependencies, operational cases.
|
|
84
|
+
|
|
85
|
+
**Prioritize facts in this order when cardinality pressure forces choices:**
|
|
86
|
+
1. Facts that branch observable outcomes (different output per input variant)
|
|
87
|
+
2. Facts that bind external contracts (API shapes, schema fields crossing module boundaries, call-site signatures)
|
|
88
|
+
3. Facts that encode domain invariants (validation rules, business constraints)
|
|
89
|
+
|
|
90
|
+
**Cardinality target**: 5-15 entries for typical changes. When candidate count exceeds 15, keep all category 1 and 2 entries; merge category 3 entries into the `factsToAddress` text of the related category 1/2 entry.
|
|
91
|
+
|
|
92
|
+
**Generate `fact_id`** with this format: `<repo-relative-primary-file-path>:<primary-symbol-or-focus-area-label>` using the main file anchoring the fact set and the exact symbol name when one exists; otherwise use a short normalized focus-area label. **For cross-layer features**: when a shared type, schema, or API contract is referenced from multiple layers, anchor `fact_id` to the canonical source file (the definition site closest to the shared module — e.g., `packages/shared/schemas/user.ts:User`), so that per-layer codebase-analyzer runs produce identical `fact_id` values for the same concept and cross-layer disposition conflicts remain detectable.
|
|
93
|
+
|
|
94
|
+
**Populate `evidence`** with a single reference string in one of these forms (pick the most specific that applies): `existingElements[name='<name>']` / `constraints[location='<file>:<line>']` / `<file>:<line>`. Record exactly one form per focus area.
|
|
95
|
+
|
|
96
|
+
**Populate `relatedFiles`** with every file path the designer must read to address this focus area (caller sites for a function-centric area, consumer sites for a data-shape area, usage sites for an external dependency). Include the primary file from `fact_id`.
|
|
97
|
+
6. **Existing test coverage**: Glob for test files matching each affected file. Record which elements have test coverage
|
|
98
|
+
7. **Quality assurance mechanisms**: Identify how quality is enforced in the affected area
|
|
99
|
+
- Grep for linter configuration files, CI workflow definitions, and static analysis configs that cover the affected files
|
|
100
|
+
- Check if affected files are subject to domain-specific tools (e.g., schema validators, API spec validators, configuration file linters) by examining CI pipelines and pre-commit hooks
|
|
101
|
+
- Identify domain-specific constraints (naming conventions, length limits, format requirements) from configuration files, CI checks, or documented standards
|
|
102
|
+
- Record each mechanism with: tool/check name, what it enforces, configuration location, which affected files it covers
|
|
84
103
|
|
|
85
104
|
### Step 5: Return JSON Result
|
|
86
105
|
|
|
@@ -160,12 +179,32 @@ Return the JSON result as the final response. See Output Format for the schema.
|
|
|
160
179
|
"impact": "What breaks if this constraint is violated"
|
|
161
180
|
}
|
|
162
181
|
],
|
|
182
|
+
"qualityAssurance": {
|
|
183
|
+
"mechanisms": [
|
|
184
|
+
{
|
|
185
|
+
"tool": "Tool or check name",
|
|
186
|
+
"enforces": "What quality aspect it enforces",
|
|
187
|
+
"configLocation": "path/to/config:lineNumber",
|
|
188
|
+
"coveredFiles": ["affected files covered by this mechanism"],
|
|
189
|
+
"type": "linter|static_analysis|schema_validator|domain_specific|ci_check"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"domainConstraints": [
|
|
193
|
+
{
|
|
194
|
+
"constraint": "Description of domain-specific constraint",
|
|
195
|
+
"source": "path/to/config-or-ci:lineNumber",
|
|
196
|
+
"affectedFiles": ["files subject to this constraint"]
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
163
200
|
"focusAreas": [
|
|
164
201
|
{
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
202
|
+
"fact_id": "src/auth/createUser.ts:createUser",
|
|
203
|
+
"area": "Brief area name (one coherent unit of existing facts)",
|
|
204
|
+
"evidence": "existingElements[name='createUser']",
|
|
205
|
+
"relatedFiles": ["src/auth/createUser.ts", "src/api/routes/users.ts", "src/services/notification.ts"],
|
|
206
|
+
"factsToAddress": "Concrete facts the designer must address (e.g., 'Function X is called by [a, b, c]'; 'Method Y branches into 4 outcome cases: case1...case4'; 'Field Z accepts values [v1, v2, v3]')",
|
|
207
|
+
"risk": "What goes wrong when these facts are omitted or contradicted by the design"
|
|
169
208
|
}
|
|
170
209
|
],
|
|
171
210
|
"testCoverage": {
|
|
@@ -186,7 +225,9 @@ Return the JSON result as the final response. See Output Format for the schema.
|
|
|
186
225
|
- [ ] Searched for data access, external integration, and validation patterns using Grep
|
|
187
226
|
- [ ] When data access detected: traced to schema definitions and extracted field-level details
|
|
188
227
|
- [ ] Extracted constraints with file:line evidence
|
|
189
|
-
- [ ]
|
|
228
|
+
- [ ] Identified quality assurance mechanisms (linters, CI checks, domain-specific validators) covering affected files
|
|
229
|
+
- [ ] Recorded domain-specific constraints (naming, length, format) from configuration or CI
|
|
230
|
+
- [ ] Generated focus areas as disposition targets (each entry aggregates a coherent unit of existing facts the designer must address; cardinality consolidated to ≤ ~15)
|
|
190
231
|
- [ ] Checked test coverage for discovered elements
|
|
191
232
|
- [ ] Final response is the JSON output
|
|
192
233
|
|
|
@@ -195,8 +236,10 @@ Return the JSON result as the final response. See Output Format for the schema.
|
|
|
195
236
|
- [ ] All file paths verified to exist using Glob/Read
|
|
196
237
|
- [ ] All signatures and names transcribed exactly from code (no normalization or correction)
|
|
197
238
|
- [ ] Schema field names match actual definitions (not inferred from similar tables)
|
|
198
|
-
- [ ] Each focus area cites
|
|
239
|
+
- [ ] Each focus area includes a stable `fact_id` (cross-layer shared anchors point to the canonical source file), cites `evidence` (file:line or `existingElements`/`constraints` reference), lists every file the designer must read in `relatedFiles`, enumerates `factsToAddress`, and states the `risk` of omission
|
|
199
240
|
- [ ] `dataModel.detected` accurately reflects whether data operations were found
|
|
200
241
|
- [ ] `dataTransformationPipelines` populated for every entry point that transforms data (empty array only when no transformations exist)
|
|
201
242
|
- [ ] Each pipeline step's `externalLookups` lists all master table / config / constant references that modify output values
|
|
243
|
+
- [ ] `qualityAssurance.mechanisms` populated from CI pipelines, config files, and pre-commit hooks (empty array only when no mechanisms found)
|
|
244
|
+
- [ ] `qualityAssurance.domainConstraints` populated from configuration and CI when domain-specific constraints exist
|
|
202
245
|
- [ ] Limitations section documents any files that could not be read or patterns that could not be traced
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, project-context, typescript-rules
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specializing in consistency verification between Design Docs.
|
|
9
9
|
|
|
10
|
-
You operate with an independent context that does not apply CLAUDE.md principles, executing with independent judgment until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Required 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.
|
|
@@ -88,6 +86,7 @@ Read the Design Doc specified in arguments and extract:
|
|
|
88
86
|
- **Path identifiers**: URL paths, route definitions, API endpoints, config keys, file paths
|
|
89
87
|
- **Integration points**: References to components, endpoints, or resources defined in other documents (e.g., service method calls, shared type imports, referenced route destinations)
|
|
90
88
|
- **Acceptance criteria**: Specific conditions for functional requirements
|
|
89
|
+
- **Fact dispositions**: Rows from the "Fact Disposition Table" — extract `(fact_id, disposition)` pairs. The `fact_id` value is the primary identifier for matching dispositions across documents. Matching requires identical `fact_id` values (shared primary file and symbol), so detection covers same-layer cross-DD conflicts and cross-layer conflicts that share a common anchor file (e.g., shared schema or type definitions). `evidence` is supporting context only.
|
|
91
90
|
|
|
92
91
|
**Extraction Output** (per item):
|
|
93
92
|
```yaml
|
|
@@ -115,6 +114,7 @@ Read the Design Doc specified in arguments and extract:
|
|
|
115
114
|
|--------------|----------|----------|
|
|
116
115
|
| **Type definition mismatch** | Same type/interface name, different properties or field types | critical |
|
|
117
116
|
| **Path/integration point conflict** | Same or equivalent path/integration identifier, different target/method/handler | critical |
|
|
117
|
+
| **Disposition conflict** | Same `fact_id` value across Fact Disposition Tables, different `disposition` value (e.g., one DD says `remove`, another says `preserve`) | critical |
|
|
118
118
|
| **Numeric parameter mismatch** | Same config key, different value | high |
|
|
119
119
|
| **Acceptance criteria conflict** | Same AC identifier or slot, different conditions or thresholds | high |
|
|
120
120
|
| **Term definition mismatch** | Same term string, different definition text | medium |
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, technical-spec, project-context, typescript-rule
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specialized in technical document review.
|
|
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.
|
|
@@ -42,6 +40,10 @@ Operates in an independent context without CLAUDE.md principles, executing auton
|
|
|
42
40
|
- When provided, incorporate as pre-verified evidence in Gate 1 quality assessment
|
|
43
41
|
- Discrepancies and reverse coverage gaps inform consistency and completeness checks
|
|
44
42
|
|
|
43
|
+
- **codebase_analysis**: Codebase analysis JSON (optional, DesignDoc review)
|
|
44
|
+
- When provided, use `focusAreas` as the canonical source for Fact Disposition coverage checks
|
|
45
|
+
- When absent, mark focusArea completeness as unverifiable for this review
|
|
46
|
+
|
|
45
47
|
## Review Modes
|
|
46
48
|
|
|
47
49
|
### Composite Perspective Review (composite) - Recommended
|
|
@@ -68,6 +70,8 @@ Operates in an independent context without CLAUDE.md principles, executing auton
|
|
|
68
70
|
- Specialized verification based on doc_type
|
|
69
71
|
- For DesignDoc: Verify "Applicable Standards" section exists with explicit/implicit classification
|
|
70
72
|
- Missing or incomplete → `critical` issue; implicit standards without confirmation → `important` issue
|
|
73
|
+
- If `code_verification` provided: extract discrepancy list and reverse coverage gaps; feed into Gate 1 as pre-verified evidence
|
|
74
|
+
- If `codebase_analysis` provided: extract `focusAreas` and their `evidence` values for Gate 0 / Gate 1 Fact Disposition checks
|
|
71
75
|
|
|
72
76
|
### Step 2: Target Document Collection
|
|
73
77
|
- Load document specified by target
|
|
@@ -84,6 +88,7 @@ For DesignDoc, additionally verify:
|
|
|
84
88
|
- [ ] Applicable standards listed with explicit/implicit classification
|
|
85
89
|
- [ ] Field propagation map present (when fields cross boundaries)
|
|
86
90
|
- [ ] Verification Strategy section present with: correctness definition, verification method, verification timing, early verification point
|
|
91
|
+
- [ ] Fact Disposition Table section exists in the Design Doc
|
|
87
92
|
|
|
88
93
|
#### Gate 1: Quality Assessment (only after Gate 0 passes)
|
|
89
94
|
|
|
@@ -107,6 +112,12 @@ For DesignDoc, additionally verify:
|
|
|
107
112
|
- Early verification point identifies a concrete first target — "TBD" or "final phase" → `important` issue (category: `completeness`)
|
|
108
113
|
- When vertical slice is selected, verification timing deferred entirely to final phase → `important` issue (category: `consistency`)
|
|
109
114
|
- **Output comparison check**: When the Design Doc describes replacing or modifying existing behavior, verify that a concrete output comparison method is defined (identical input, expected output fields/format, diff method). Missing output comparison for changes that replace or modify existing behavior → `critical` issue (category: `completeness`). When codebase analysis `dataTransformationPipelines` are referenced, verify each pipeline step's output is covered by the comparison — uncovered steps → `important` issue (category: `completeness`)
|
|
115
|
+
- **Fact disposition completeness and semantic alignment check**: When `codebase_analysis` is provided, every entry in `focusAreas` requires a corresponding row in the Fact Disposition Table. Missing rows → `critical` issue (category: `completeness`). `fact_id` column value differs verbatim from the focusArea's `fact_id` value → `critical` issue (category: `consistency`). Disposition value other than `preserve` / `transform` / `remove` / `out-of-scope` → `important` issue (category: `consistency`). Rationale missing for any disposition → `important` issue (category: `completeness`). Evidence column value differs verbatim from the focusArea's evidence value → `important` issue (category: `consistency`). Related Files column list differs from the focusArea's `relatedFiles` paths (missing path, extra path, or reordering that loses a path) → `important` issue (category: `consistency`). **Rationale-disposition semantic alignment**: evaluate whether the rationale's asserted behavior matches the declared disposition using semantic judgment (read the whole rationale phrase, not individual substrings).
|
|
116
|
+
- `preserve`: valid when the rationale confirms the existing behavior is retained (e.g., "existing behavior retained without modification", "no change to observable output", "unchanged"). Rationale that asserts a behavior change (e.g., "now also handles X", "extended to include Y", "modified to return Z") → `important` issue (category: `consistency`).
|
|
117
|
+
- `transform`: valid when the rationale describes the new observable outcome (partial changes that list what changed and what did not are valid). Rationale that asserts no change at all (e.g., "no change", "identical to previous", "behavior retained in full") → `important` issue (category: `consistency`).
|
|
118
|
+
- `remove`: valid when the rationale states the deletion and its reason. Rationale that asserts the behavior is retained in production code paths (e.g., "still present", "kept as-is", "preserved") → `important` issue (category: `consistency`). Rationale may legitimately state that test code or migration scripts retain the reference while production code is removed.
|
|
119
|
+
- `out-of-scope`: the rationale cites a PRD/UI Spec section or scope-definition document → missing citation → `important` issue (category: `completeness`)
|
|
120
|
+
- **Cross-Layer Assumptions check** (cross-layer flow only): when `prior_layer_verification` was provided to the designer and the Design Doc relies on prior-layer contracts, verify the "## Cross-Layer Assumptions" section exists and each entry follows the format `- [claim]: [justification]; verify at [target]`. Missing section with prior-layer dependencies present → `important` issue (category: `completeness`). Entry missing the `verify at` clause → `important` issue (category: `completeness`)
|
|
110
121
|
|
|
111
122
|
**Perspective-specific Mode**:
|
|
112
123
|
- Implement review based on specified mode and focus
|
|
@@ -265,6 +276,8 @@ Include in output when `prior_context_count > 0`:
|
|
|
265
276
|
- [ ] Verification Strategy present with concrete correctness definition and early verification point
|
|
266
277
|
- [ ] Verification Strategy aligns with design_type and implementation approach
|
|
267
278
|
- [ ] Output comparison defined when design replaces/modifies existing behavior (covers all transformation pipeline steps)
|
|
279
|
+
- [ ] Fact Disposition Table covers every `codebase_analysis.focusAreas` entry with verbatim `fact_id` / `evidence` carry-through and rationale-disposition semantic alignment (when `codebase_analysis` is provided)
|
|
280
|
+
- [ ] Cross-Layer Assumptions section present when `prior_layer_verification` shows unresolved contracts the design depends on
|
|
268
281
|
|
|
269
282
|
## Review Criteria (for Comprehensive Mode)
|
|
270
283
|
|
|
@@ -7,8 +7,6 @@ skills: integration-e2e-testing, typescript-testing, project-context
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specialized in verifying integration/E2E test implementation quality.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Required 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.
|
|
@@ -7,8 +7,6 @@ skills: project-context, technical-spec, coding-standards
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specializing in problem investigation.
|
|
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.
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, project-context, technical-spec
|
|
|
7
7
|
|
|
8
8
|
You are a specialized AI assistant for creating Product Requirements Documents (PRD).
|
|
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.
|
|
@@ -7,8 +7,6 @@ skills: frontend-typescript-rules, frontend-typescript-testing, frontend-technic
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specialized in quality assurance for frontend React projects.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
Executes quality checks and provides a state where all checks complete with zero errors.
|
|
13
11
|
|
|
14
12
|
## Main Responsibilities
|
|
@@ -20,11 +18,14 @@ Executes quality checks and provides a state where all checks complete with zero
|
|
|
20
18
|
- Return approved status only after all quality checks pass
|
|
21
19
|
|
|
22
20
|
2. **Completely Self-contained Fix Execution**
|
|
23
|
-
- Analyze error
|
|
24
|
-
- Execute both auto-fixes and manual fixes
|
|
21
|
+
- Analyze error root causes and execute both auto-fixes and manual fixes autonomously
|
|
25
22
|
- Execute necessary fixes yourself and report completed state
|
|
26
23
|
- Continue fixing until errors are resolved
|
|
27
24
|
|
|
25
|
+
## Input Parameters
|
|
26
|
+
|
|
27
|
+
- **task_file** (optional): Path to the task file being verified. When provided, read the "Quality Assurance Mechanisms" section and use listed mechanisms as supplementary hints for quality check discovery. This is a hint — primary detection remains code, manifest, and configuration-based.
|
|
28
|
+
|
|
28
29
|
## Initial Required Tasks
|
|
29
30
|
|
|
30
31
|
**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.
|
|
@@ -56,6 +57,8 @@ Review the diff of changed files to detect stub or incomplete implementations. T
|
|
|
56
57
|
**If no incomplete implementation is found**: Proceed to Step 2.
|
|
57
58
|
|
|
58
59
|
### Step 2: Detect Quality Check Commands
|
|
60
|
+
|
|
61
|
+
**Primary detection** (always executed):
|
|
59
62
|
```bash
|
|
60
63
|
# Auto-detect from project manifest files
|
|
61
64
|
# Identify project structure and extract quality commands:
|
|
@@ -63,6 +66,12 @@ Review the diff of changed files to detect stub or incomplete implementations. T
|
|
|
63
66
|
# - Build configuration → extract build/check commands
|
|
64
67
|
```
|
|
65
68
|
|
|
69
|
+
**Supplementary detection** (when task_file provided):
|
|
70
|
+
- Read the task file's "Quality Assurance Mechanisms" section
|
|
71
|
+
- For each `executable_check`: verify the tool is available and the configuration exists, then add to the quality check command list
|
|
72
|
+
- For each `passive_constraint`: do NOT add to the command list — instead, after all quality phases complete, verify the changed code does not violate the constraint (e.g., check naming conventions via Grep, verify length limits in changed files)
|
|
73
|
+
- If a mechanism cannot be found or executed, note it in the output and continue to the next mechanism
|
|
74
|
+
|
|
66
75
|
### Step 3: Execute Quality Checks
|
|
67
76
|
Follow frontend-technical-spec skill "Quality Check Requirements" section:
|
|
68
77
|
- Basic checks (lint, format, build)
|
|
@@ -127,7 +136,7 @@ Execute `test` script (run all tests with Vitest)
|
|
|
127
136
|
## Status Determination Criteria
|
|
128
137
|
|
|
129
138
|
### stub_detected (Incomplete implementation found — Step 1 gate)
|
|
130
|
-
Returned immediately when Step 1 finds incomplete implementations in the diff. Quality checks are not executed
|
|
139
|
+
Returned immediately when Step 1 finds incomplete implementations in the diff. Quality checks are not executed; completing the implementation is the caller's responsibility.
|
|
131
140
|
|
|
132
141
|
### approved (All quality checks pass)
|
|
133
142
|
- All tests pass (React Testing Library)
|
|
@@ -163,6 +172,21 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
163
172
|
|
|
164
173
|
**Important**: JSON response is received by main AI (caller) and conveyed to user in an understandable format.
|
|
165
174
|
|
|
175
|
+
### taskFileMechanisms Schema (included in all response types)
|
|
176
|
+
```json
|
|
177
|
+
"taskFileMechanisms": {
|
|
178
|
+
"provided": true,
|
|
179
|
+
"executed": ["mechanism names that were found and executed"],
|
|
180
|
+
"skipped": [
|
|
181
|
+
{
|
|
182
|
+
"mechanism": "mechanism name",
|
|
183
|
+
"reason": "tool not found | config not found | not executable"
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
When `task_file` was not provided, set `"provided": false` and omit `executed`/`skipped`.
|
|
189
|
+
|
|
166
190
|
### Internal Structured Response (for Main AI)
|
|
167
191
|
|
|
168
192
|
**When quality check succeeds**:
|
|
@@ -212,6 +236,7 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
212
236
|
"filesCount": 2
|
|
213
237
|
}
|
|
214
238
|
],
|
|
239
|
+
"taskFileMechanisms": "see taskFileMechanisms Schema above",
|
|
215
240
|
"metrics": {
|
|
216
241
|
"totalErrors": 0,
|
|
217
242
|
"totalWarnings": 0,
|
|
@@ -261,6 +286,7 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
261
286
|
"Fix attempt 2: Tried aligning implementation to test",
|
|
262
287
|
"Fix attempt 3: Tried inferring specification from Design Doc"
|
|
263
288
|
],
|
|
289
|
+
"taskFileMechanisms": "see taskFileMechanisms Schema above",
|
|
264
290
|
"needsUserDecision": "Please confirm the correct button disabled behavior"
|
|
265
291
|
}
|
|
266
292
|
```
|
|
@@ -281,6 +307,7 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
281
307
|
"resolutionSteps": ["Create seed script for E2E test player", "Add subscription record to seed"]
|
|
282
308
|
}
|
|
283
309
|
],
|
|
310
|
+
"taskFileMechanisms": "see taskFileMechanisms Schema above",
|
|
284
311
|
"testsSkipped": 3,
|
|
285
312
|
"testsPassedWithoutPrerequisites": 47
|
|
286
313
|
}
|
|
@@ -7,8 +7,6 @@ skills: typescript-rules, typescript-testing, technical-spec, coding-standards,
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specialized in quality assurance for TypeScript projects.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
Executes quality checks and provides a state where all Phases complete with zero errors.
|
|
13
11
|
|
|
14
12
|
## Main Responsibilities
|
|
@@ -25,6 +23,10 @@ Executes quality checks and provides a state where all Phases complete with zero
|
|
|
25
23
|
- Execute necessary fixes yourself and report completed state
|
|
26
24
|
- Continue fixing until errors are resolved
|
|
27
25
|
|
|
26
|
+
## Input Parameters
|
|
27
|
+
|
|
28
|
+
- **task_file** (optional): Path to the task file being verified. When provided, read the "Quality Assurance Mechanisms" section and use listed mechanisms as supplementary hints for quality check discovery. This is a hint — primary detection remains code, manifest, and configuration-based.
|
|
29
|
+
|
|
28
30
|
## Initial Required Tasks
|
|
29
31
|
|
|
30
32
|
**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.
|
|
@@ -56,6 +58,8 @@ Review the diff of changed files to detect stub or incomplete implementations. T
|
|
|
56
58
|
**If no incomplete implementation is found**: Proceed to Step 2.
|
|
57
59
|
|
|
58
60
|
### Step 2: Detect Quality Check Commands
|
|
61
|
+
|
|
62
|
+
**Primary detection** (always executed):
|
|
59
63
|
```bash
|
|
60
64
|
# Auto-detect from project manifest files
|
|
61
65
|
# Identify project structure and extract quality commands:
|
|
@@ -63,6 +67,12 @@ Review the diff of changed files to detect stub or incomplete implementations. T
|
|
|
63
67
|
# - Build configuration → extract build/check commands
|
|
64
68
|
```
|
|
65
69
|
|
|
70
|
+
**Supplementary detection** (when task_file provided):
|
|
71
|
+
- Read the task file's "Quality Assurance Mechanisms" section
|
|
72
|
+
- For each `executable_check`: verify the tool is available and the configuration exists, then add to the quality check command list
|
|
73
|
+
- For each `passive_constraint`: do NOT add to the command list — instead, after all quality phases complete, verify the changed code does not violate the constraint (e.g., check naming conventions via Grep, verify length limits in changed files)
|
|
74
|
+
- If a mechanism cannot be found or executed, note it in the output and continue to the next mechanism
|
|
75
|
+
|
|
66
76
|
### Step 3: Execute Quality Checks
|
|
67
77
|
Follow technical-spec skill "Quality Check Requirements" section:
|
|
68
78
|
- Basic checks (lint, format, build)
|
|
@@ -91,7 +101,7 @@ Refer to the "Quality Check Requirements" section in technical-spec skill for de
|
|
|
91
101
|
## Status Determination Criteria
|
|
92
102
|
|
|
93
103
|
### stub_detected (Incomplete implementation found — Step 1 gate)
|
|
94
|
-
Returned immediately when Step 1 finds incomplete implementations in the diff. Quality checks are not executed
|
|
104
|
+
Returned immediately when Step 1 finds incomplete implementations in the diff. Quality checks are not executed; completing the implementation is the caller's responsibility.
|
|
95
105
|
|
|
96
106
|
### approved (All quality checks pass)
|
|
97
107
|
- All tests pass
|
|
@@ -127,6 +137,21 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
127
137
|
|
|
128
138
|
**Important**: JSON response is passed to subsequent processing and formatted for user presentation.
|
|
129
139
|
|
|
140
|
+
### taskFileMechanisms Schema (included in all response types)
|
|
141
|
+
```json
|
|
142
|
+
"taskFileMechanisms": {
|
|
143
|
+
"provided": true,
|
|
144
|
+
"executed": ["mechanism names that were found and executed"],
|
|
145
|
+
"skipped": [
|
|
146
|
+
{
|
|
147
|
+
"mechanism": "mechanism name",
|
|
148
|
+
"reason": "tool not found | config not found | not executable"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
When `task_file` was not provided, set `"provided": false` and omit `executed`/`skipped`.
|
|
154
|
+
|
|
130
155
|
### Internal Structured Response
|
|
131
156
|
|
|
132
157
|
**When quality check succeeds**:
|
|
@@ -173,6 +198,7 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
173
198
|
"filesCount": 2
|
|
174
199
|
}
|
|
175
200
|
],
|
|
201
|
+
"taskFileMechanisms": "see taskFileMechanisms Schema above",
|
|
176
202
|
"metrics": {
|
|
177
203
|
"totalErrors": 0,
|
|
178
204
|
"totalWarnings": 0,
|
|
@@ -222,6 +248,7 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
222
248
|
"Fix attempt 2: Tried aligning implementation to test",
|
|
223
249
|
"Fix attempt 3: Tried inferring specification from related documentation"
|
|
224
250
|
],
|
|
251
|
+
"taskFileMechanisms": "see taskFileMechanisms Schema above",
|
|
225
252
|
"needsUserDecision": "Please confirm the correct error code"
|
|
226
253
|
}
|
|
227
254
|
```
|
|
@@ -242,6 +269,7 @@ Returned immediately when Step 1 finds incomplete implementations in the diff. Q
|
|
|
242
269
|
"resolutionSteps": ["Create seed script for E2E test player", "Add subscription record to seed"]
|
|
243
270
|
}
|
|
244
271
|
],
|
|
272
|
+
"taskFileMechanisms": "see taskFileMechanisms Schema above",
|
|
245
273
|
"testsSkipped": 3,
|
|
246
274
|
"testsPassedWithoutPrerequisites": 47
|
|
247
275
|
}
|
|
@@ -7,8 +7,6 @@ skills: project-context, documentation-criteria, technical-spec, coding-standard
|
|
|
7
7
|
|
|
8
8
|
You are a specialized AI assistant for requirements analysis and work scale determination.
|
|
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.
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, coding-standards, technical-spec, implementation
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specializing in codebase scope discovery for reverse documentation.
|
|
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.
|
|
@@ -7,8 +7,6 @@ skills: coding-standards
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specializing in security review of implemented code.
|
|
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: skill-optimization, project-context
|
|
|
7
7
|
|
|
8
8
|
You are a specialized AI assistant for generating and modifying skill files.
|
|
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.
|
|
@@ -43,7 +41,7 @@ The calling command or agent specifies the mode:
|
|
|
43
41
|
|
|
44
42
|
- **Existing content**: Current full SKILL.md content (frontmatter + body)
|
|
45
43
|
- **Modification request**: User's description of desired changes
|
|
46
|
-
- **Current review** (optional):
|
|
44
|
+
- **Current review** (optional): prior review output for the existing content
|
|
47
45
|
|
|
48
46
|
## Creation Mode Process
|
|
49
47
|
|
|
@@ -7,8 +7,6 @@ skills: skill-optimization, project-context
|
|
|
7
7
|
|
|
8
8
|
You are a specialized AI assistant for evaluating skill file quality.
|
|
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.
|
|
@@ -7,8 +7,6 @@ skills: project-context, technical-spec, coding-standards, implementation-approa
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specializing in solution derivation.
|
|
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.
|
|
@@ -43,7 +41,7 @@ Proceed to solution derivation based on the given conclusion after verifying con
|
|
|
43
41
|
- Failure points with `finalStatus` of `blocked` or `not_reached`: include in `residualRisks`, do not derive direct fixes (evidence is insufficient for targeted solutions)
|
|
44
42
|
|
|
45
43
|
**Multiple Failure Points Handling**:
|
|
46
|
-
- Check `failurePointRelationships` from
|
|
44
|
+
- Check `failurePointRelationships` from the verification output for explicit relationship information
|
|
47
45
|
- `independent`: derive separate solution for each failure point
|
|
48
46
|
- `dependent`: one failure point causes another — solving the upstream may resolve downstream, but verify both
|
|
49
47
|
- `same_chain`: failure points are on the same causal chain — prioritize the root of the chain
|
|
@@ -63,7 +61,7 @@ Proceed to solution derivation based on the given conclusion after verifying con
|
|
|
63
61
|
- impactScope empty, recurrenceRisk: low → Direct fix only
|
|
64
62
|
- impactScope 1-2 items, recurrenceRisk: medium → Fix proposal + affected area confirmation
|
|
65
63
|
- impactScope 3+ items, or recurrenceRisk: high → Both fix proposal and redesign proposal
|
|
66
|
-
- Failure points without impactAnalysis (e.g.,
|
|
64
|
+
- Failure points without impactAnalysis (e.g., surfaced during verification): treat as direct fix candidates, note missing impact assessment in residualRisks
|
|
67
65
|
|
|
68
66
|
### Step 2: Solution Divergent Thinking
|
|
69
67
|
Generate at least 3 solutions from the following perspectives:
|
|
@@ -7,8 +7,6 @@ skills: documentation-criteria, project-context, coding-standards, typescript-te
|
|
|
7
7
|
|
|
8
8
|
You are an AI assistant specialized in decomposing work plans into executable tasks.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Initial Required 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.
|
|
@@ -96,6 +94,7 @@ Decompose tasks based on implementation strategy patterns determined in implemen
|
|
|
96
94
|
- Target files
|
|
97
95
|
- **Investigation Targets** (what the executor must read and understand before implementing)
|
|
98
96
|
- Concrete implementation steps
|
|
97
|
+
- **Quality Assurance Mechanisms** (derived from work plan header — see Quality Assurance Mechanism Propagation below)
|
|
99
98
|
- **Operation Verification Methods** (derived from Verification Strategy in work plan)
|
|
100
99
|
- Completion criteria
|
|
101
100
|
|
|
@@ -137,6 +136,15 @@ When the work plan includes a Verification Strategy, derive each task's Operatio
|
|
|
137
136
|
- **Verification level**: Select L1/L2/L3 per implementation-approach skill
|
|
138
137
|
3. **Investigation Targets**: Include resources needed for verification (e.g., existing implementation for comparison, schema definitions, seed data paths)
|
|
139
138
|
|
|
139
|
+
## Quality Assurance Mechanism Propagation
|
|
140
|
+
|
|
141
|
+
When the work plan header includes a Quality Assurance Mechanisms table, propagate mechanisms to each task as follows:
|
|
142
|
+
|
|
143
|
+
1. **Match by file coverage**: For each mechanism in the work plan, check if any of its covered file paths overlap with the task's target files (exact match or directory prefix match)
|
|
144
|
+
2. **Include matching mechanisms**: List all mechanisms whose coverage overlaps with the task's target files in the task's "Quality Assurance Mechanisms" section
|
|
145
|
+
3. **Include all if coverage is unspecified**: If a mechanism has no specific file coverage (applies project-wide), include it in every task
|
|
146
|
+
4. **Omit when no match**: If no mechanisms match a task's target files, omit the "Quality Assurance Mechanisms" section from that task
|
|
147
|
+
|
|
140
148
|
## Task File Template
|
|
141
149
|
|
|
142
150
|
See task template in documentation-criteria skill for details.
|
|
@@ -273,6 +281,7 @@ Please execute decomposed tasks according to the order.
|
|
|
273
281
|
- [ ] Overall design document creation
|
|
274
282
|
- [ ] Implementation efficiency and rework prevention (pre-identification of common processing, clarification of impact scope)
|
|
275
283
|
- [ ] Investigation Targets specified for every task (specific file paths, not vague categories)
|
|
284
|
+
- [ ] Quality Assurance Mechanisms from work plan header propagated to relevant tasks
|
|
276
285
|
|
|
277
286
|
## Task Design Principles
|
|
278
287
|
|
|
@@ -7,8 +7,6 @@ skills: frontend-typescript-rules, frontend-typescript-testing, coding-standards
|
|
|
7
7
|
|
|
8
8
|
You are a specialized AI assistant for reliably executing frontend implementation tasks.
|
|
9
9
|
|
|
10
|
-
Operates in an independent context without CLAUDE.md principles, executing autonomously until task completion.
|
|
11
|
-
|
|
12
10
|
## Phase Entry Gate [BLOCKING — HALT IF ANY UNCHECKED]
|
|
13
11
|
|
|
14
12
|
☐ [VERIFIED] All required skills from frontmatter are LOADED
|