codex-workflows 0.5.0 → 0.6.0
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/.agents/skills/documentation-criteria/references/design-template.md +8 -0
- package/.agents/skills/documentation-criteria/references/plan-template.md +3 -3
- package/.agents/skills/documentation-criteria/references/task-template.md +1 -1
- package/.agents/skills/documentation-criteria/references/ui-spec-template.md +8 -0
- package/.agents/skills/external-resource-context/SKILL.md +99 -0
- package/.agents/skills/external-resource-context/agents/openai.yaml +7 -0
- package/.agents/skills/external-resource-context/references/api.md +20 -0
- package/.agents/skills/external-resource-context/references/backend.md +21 -0
- package/.agents/skills/external-resource-context/references/frontend.md +21 -0
- package/.agents/skills/external-resource-context/references/infra.md +21 -0
- package/.agents/skills/external-resource-context/references/template.md +72 -0
- package/.agents/skills/recipe-front-adjust/SKILL.md +113 -0
- package/.agents/skills/recipe-front-adjust/agents/openai.yaml +7 -0
- package/.agents/skills/recipe-front-design/SKILL.md +28 -9
- package/.agents/skills/recipe-fullstack-implement/SKILL.md +4 -1
- package/.agents/skills/subagents-orchestration-guide/SKILL.md +2 -0
- package/.agents/skills/subagents-orchestration-guide/references/monorepo-flow.md +44 -47
- package/.agents/skills/task-analyzer/SKILL.md +3 -2
- package/.agents/skills/task-analyzer/references/skills-index.yaml +42 -3
- package/.codex/agents/quality-fixer-frontend.toml +5 -0
- package/.codex/agents/quality-fixer.toml +5 -0
- package/.codex/agents/task-executor-frontend.toml +11 -0
- package/.codex/agents/task-executor.toml +11 -0
- package/.codex/agents/technical-designer-frontend.toml +23 -0
- package/.codex/agents/technical-designer.toml +13 -0
- package/.codex/agents/ui-analyzer.toml +307 -0
- package/.codex/agents/ui-spec-designer.toml +15 -0
- package/README.md +42 -24
- package/package.json +1 -1
|
@@ -10,81 +10,78 @@ This reference defines the orchestration flow for projects spanning multiple lay
|
|
|
10
10
|
|
|
11
11
|
## Design Phase
|
|
12
12
|
|
|
13
|
-
### Large Scale Fullstack (6+ Files) -
|
|
13
|
+
### Large Scale Fullstack (6+ Files) - 15 Steps
|
|
14
14
|
|
|
15
15
|
| Step | Agent | Purpose | Output |
|
|
16
16
|
|------|-------|---------|--------|
|
|
17
17
|
| 1 | requirement-analyzer | Requirement analysis + scale determination **[Stop]** | Requirements + scale |
|
|
18
18
|
| 2 | prd-creator | PRD covering entire feature (all layers) | Single PRD |
|
|
19
19
|
| 3 | document-reviewer | PRD review **[Stop]** | Approval |
|
|
20
|
-
| 4 | (orchestrator) |
|
|
21
|
-
| 5 |
|
|
22
|
-
| 6 |
|
|
23
|
-
| 7 |
|
|
24
|
-
| 8 |
|
|
25
|
-
| 9 | technical-designer
|
|
26
|
-
| 10 |
|
|
27
|
-
| 11 |
|
|
28
|
-
| 12 |
|
|
29
|
-
| 13 |
|
|
30
|
-
| 14 |
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
| 4 | (orchestrator) | External resource hearing **[Stop]** | Project context |
|
|
21
|
+
| 5 | (orchestrator) | Ask user for prototype code **[Stop]** | Prototype path or none |
|
|
22
|
+
| 6 | codebase-analyzer x2 + ui-analyzer x1 | Per-layer codebase analysis plus frontend UI analysis | Analysis JSON |
|
|
23
|
+
| 7 | ui-spec-designer | UI Spec from PRD + UI analysis + optional prototype | UI Spec |
|
|
24
|
+
| 8 | document-reviewer | UI Spec review **[Stop]** | Approval |
|
|
25
|
+
| 9 | technical-designer | **Backend** Design Doc | Backend Design Doc |
|
|
26
|
+
| 10 | technical-designer-frontend | **Frontend** Design Doc (references backend Integration Points + UI Spec + UI analysis) | Frontend Design Doc |
|
|
27
|
+
| 11 | code-verifier x2 | Verify each Design Doc against code | Verification JSON |
|
|
28
|
+
| 12 | document-reviewer x2 | Review each Design Doc with verification evidence | Reviews |
|
|
29
|
+
| 13 | design-sync | Cross-layer consistency verification (source: frontend Design Doc) **[Stop]** | Sync status |
|
|
30
|
+
| 14 | acceptance-test-generator | Integration/E2E test skeleton from cross-layer contracts | Test skeletons |
|
|
31
|
+
| 15 | work-planner | Work plan from all Design Docs **[Stop: Batch approval]** | Work plan |
|
|
32
|
+
|
|
33
|
+
### Medium Scale Fullstack (3-5 Files) - 13 Steps
|
|
33
34
|
|
|
34
35
|
| Step | Agent | Purpose | Output |
|
|
35
36
|
|------|-------|---------|--------|
|
|
36
37
|
| 1 | requirement-analyzer | Requirement analysis + scale determination **[Stop]** | Requirements + scale |
|
|
37
|
-
| 2 |
|
|
38
|
+
| 2 | (orchestrator) | External resource hearing **[Stop]** | Project context |
|
|
38
39
|
| 3 | (orchestrator) | Ask user for prototype code **[Stop]** | Prototype path or none |
|
|
39
|
-
| 4 | ui-
|
|
40
|
-
| 5 |
|
|
41
|
-
| 6 |
|
|
42
|
-
| 7 | technical-designer
|
|
43
|
-
| 8 |
|
|
44
|
-
| 9 |
|
|
45
|
-
| 10 |
|
|
46
|
-
| 11 |
|
|
47
|
-
| 12 |
|
|
40
|
+
| 4 | codebase-analyzer x2 + ui-analyzer x1 | Per-layer codebase analysis plus frontend UI analysis | Analysis JSON |
|
|
41
|
+
| 5 | ui-spec-designer | UI Spec from requirements + UI analysis + optional prototype | UI Spec |
|
|
42
|
+
| 6 | document-reviewer | UI Spec review **[Stop]** | Approval |
|
|
43
|
+
| 7 | technical-designer | **Backend** Design Doc | Backend Design Doc |
|
|
44
|
+
| 8 | technical-designer-frontend | **Frontend** Design Doc (references backend Integration Points + UI Spec + UI analysis) | Frontend Design Doc |
|
|
45
|
+
| 9 | code-verifier x2 | Verify each Design Doc against code | Verification JSON |
|
|
46
|
+
| 10 | document-reviewer x2 | Review each Design Doc with verification evidence | Reviews |
|
|
47
|
+
| 11 | design-sync | Cross-layer consistency verification (source: frontend Design Doc) **[Stop]** | Sync status |
|
|
48
|
+
| 12 | acceptance-test-generator | Integration/E2E test skeleton from cross-layer contracts | Test skeletons |
|
|
49
|
+
| 13 | work-planner | Work plan from all Design Docs **[Stop: Batch approval]** | Work plan |
|
|
48
50
|
|
|
49
51
|
### Parallelization in Multi-Agent Steps
|
|
50
52
|
|
|
51
|
-
Steps marked `x2` run independently per layer and can execute in parallel when supported.
|
|
53
|
+
Steps marked `x2` run independently per layer and can execute in parallel when supported. `ui-analyzer x1` runs once for the frontend layer alongside frontend codebase analysis and consumes the saved external resource context.
|
|
52
54
|
|
|
53
55
|
### Layer Context in Design Doc Creation
|
|
54
56
|
|
|
55
57
|
When spawning Design Doc creation for each layer, pass explicit context:
|
|
56
58
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
**Large Scale (PRD available) -- Backend Codebase Analysis**:
|
|
62
|
-
**Agent**: Spawn codebase-analyzer
|
|
63
|
-
> "Analyze the existing codebase to provide evidence for backend Design Doc creation. requirement_analysis: [requirement-analyzer output filtered to backend files]. prd_path: [path]. requirements: [original user requirements]. layer: backend. target_paths: [backend file and directory scope]. focus_areas: API contracts, data layer, business logic, service architecture."
|
|
59
|
+
| Scale | Concrete context value |
|
|
60
|
+
|-------|------------------------|
|
|
61
|
+
| Large | `context: { scale: "large", prd_path: "[path]", requirement_analysis: [requirement-analyzer output] }` |
|
|
62
|
+
| Medium | `context: { scale: "medium", prd_path: null, requirement_analysis: [requirement-analyzer output] }` |
|
|
64
63
|
|
|
65
|
-
|
|
66
|
-
**Agent**: Spawn technical-designer-frontend
|
|
67
|
-
> "Create a frontend Design Doc from PRD at [path]. Codebase analysis: [frontend analysis JSON]. Reference backend Design Doc at [path] for API contracts and Integration Points. Reference UI Spec at [path] for component structure and state design. Focus on: component hierarchy, state management, UI interactions, data fetching."
|
|
64
|
+
Before spawning, replace every context placeholder with a concrete context object for the active flow scale. For filtered context placeholders, use the same `scale` and `prd_path` values, and replace `requirement_analysis` with the layer-filtered requirement analysis.
|
|
68
65
|
|
|
69
|
-
**
|
|
70
|
-
**Agent**: Spawn codebase-analyzer
|
|
71
|
-
> "Analyze the existing codebase to provide evidence for frontend Design Doc creation. requirement_analysis: [requirement-analyzer output filtered to frontend files]. prd_path: [path]. requirements: [original user requirements]. layer: frontend. target_paths: [frontend file and directory scope]. focus_areas: component hierarchy, state management, UI interactions, data fetching."
|
|
72
|
-
|
|
73
|
-
**Medium Scale (no PRD) -- Backend Design Doc**:
|
|
66
|
+
**Backend Design Doc**:
|
|
74
67
|
**Agent**: Spawn technical-designer
|
|
75
|
-
> "Create a backend Design Doc
|
|
68
|
+
> "Create a backend Design Doc. context: [context]. Codebase analysis: [backend analysis JSON]. Focus on: API contracts, data layer, business logic, service architecture."
|
|
76
69
|
|
|
77
|
-
**
|
|
70
|
+
**Backend Codebase Analysis**:
|
|
78
71
|
**Agent**: Spawn codebase-analyzer
|
|
79
|
-
> "Analyze the existing codebase to provide evidence for backend Design Doc creation.
|
|
72
|
+
> "Analyze the existing codebase to provide evidence for backend Design Doc creation. context: [context with requirement_analysis filtered to backend files]. requirements: [original user requirements]. layer: backend. target_paths: [backend file and directory scope]. focus_areas: API contracts, data layer, business logic, service architecture."
|
|
80
73
|
|
|
81
|
-
**
|
|
74
|
+
**Frontend Design Doc**:
|
|
82
75
|
**Agent**: Spawn technical-designer-frontend
|
|
83
|
-
> "Create a frontend Design Doc
|
|
76
|
+
> "Create a frontend Design Doc. context: [context]. Codebase analysis: [frontend analysis JSON]. UI analysis: [ui-analyzer JSON]. Reference backend Design Doc at [path] for API contracts and Integration Points. Reference UI Spec at [path] for component structure and state design. Focus on: component hierarchy, state management, UI interactions, data fetching."
|
|
84
77
|
|
|
85
|
-
**
|
|
78
|
+
**Frontend Codebase Analysis**:
|
|
86
79
|
**Agent**: Spawn codebase-analyzer
|
|
87
|
-
> "Analyze the existing codebase to provide evidence for frontend Design Doc creation.
|
|
80
|
+
> "Analyze the existing codebase to provide evidence for frontend Design Doc creation. context: [context with requirement_analysis filtered to frontend files]. requirements: [original user requirements]. layer: frontend. target_paths: [frontend file and directory scope]. focus_areas: component hierarchy, state management, UI interactions, data fetching."
|
|
81
|
+
|
|
82
|
+
**Frontend UI Analysis**:
|
|
83
|
+
**Agent**: Spawn ui-analyzer
|
|
84
|
+
> "Gather UI facts for frontend design. context: [context with requirement_analysis filtered to frontend files]. requirements: [original user requirements]. target_paths: [frontend file and directory scope]. target_components: [frontend target components]. prototype_path: [path if provided]. Read docs/project-context/external-resources.md, resolve relevant UI external resources through declared access methods, and analyze component structure, props patterns, CSS layout, state displays, accessibility, generated artifacts, and candidate write set."
|
|
88
85
|
|
|
89
86
|
### design-sync for Cross-Layer Verification
|
|
90
87
|
|
|
@@ -102,10 +102,11 @@ selectedSkills:
|
|
|
102
102
|
tags: [...]
|
|
103
103
|
typical-use: <string>
|
|
104
104
|
size: <small|medium|large>
|
|
105
|
-
sections: [...] #
|
|
105
|
+
sections: [...] # Full section list from yaml
|
|
106
|
+
references: [...] # Full reference file list from yaml when present
|
|
106
107
|
```
|
|
107
108
|
|
|
108
|
-
**Note**: Section selection (choosing which sections are relevant) is done after reading the actual SKILL.md files.
|
|
109
|
+
**Note**: Section and reference selection (choosing which sections or reference files are relevant) is done after reading the actual SKILL.md files. For output-format templates, read only the reference files matching the document type being created or reviewed.
|
|
109
110
|
|
|
110
111
|
## Metacognitive Question Design
|
|
111
112
|
|
|
@@ -29,6 +29,7 @@ skills:
|
|
|
29
29
|
- "Version Control [MANDATORY]"
|
|
30
30
|
references:
|
|
31
31
|
- "references/typescript.md"
|
|
32
|
+
- "references/security-checks.md"
|
|
32
33
|
|
|
33
34
|
testing:
|
|
34
35
|
skill: "testing"
|
|
@@ -83,10 +84,12 @@ skills:
|
|
|
83
84
|
- "Situations Requiring Technical Decisions"
|
|
84
85
|
- "Implementation Completeness Assurance"
|
|
85
86
|
- "Impact Analysis"
|
|
87
|
+
references:
|
|
88
|
+
- "references/frontend.md"
|
|
86
89
|
|
|
87
90
|
documentation-criteria:
|
|
88
91
|
skill: "documentation-criteria"
|
|
89
|
-
tags: [documentation, decision-making, adr, prd, design-doc, planning, process, scale-assessment]
|
|
92
|
+
tags: [documentation, decision-making, adr, prd, design-doc, ui-spec, work-plan, templates, planning, process, scale-assessment]
|
|
90
93
|
typical-use: "Scale assessment at implementation start, document creation criteria, ADR/PRD/Design Doc/Work Plan creation standards"
|
|
91
94
|
size: medium
|
|
92
95
|
key-references:
|
|
@@ -104,6 +107,13 @@ skills:
|
|
|
104
107
|
- "AI Automation Rules [MANDATORY]"
|
|
105
108
|
- "Diagram Requirements"
|
|
106
109
|
- "Common ADR Relationships"
|
|
110
|
+
references:
|
|
111
|
+
- "references/prd-template.md"
|
|
112
|
+
- "references/adr-template.md"
|
|
113
|
+
- "references/ui-spec-template.md"
|
|
114
|
+
- "references/design-template.md"
|
|
115
|
+
- "references/plan-template.md"
|
|
116
|
+
- "references/task-template.md"
|
|
107
117
|
|
|
108
118
|
implementation-approach:
|
|
109
119
|
skill: "implementation-approach"
|
|
@@ -139,11 +149,13 @@ skills:
|
|
|
139
149
|
- "Test File Naming Convention"
|
|
140
150
|
- "Review Criteria"
|
|
141
151
|
- "Quality Standards [MANDATORY]"
|
|
152
|
+
references:
|
|
153
|
+
- "references/e2e-design.md"
|
|
142
154
|
|
|
143
155
|
subagents-orchestration-guide:
|
|
144
156
|
skill: "subagents-orchestration-guide"
|
|
145
|
-
tags: [orchestration, workflow, subagents, context-isolation, autonomous-execution, planning, design-flow, implementation-flow, implementation-readiness, readiness-gate]
|
|
146
|
-
typical-use: "Orchestrating subagents through implementation workflows, scale determination, stop points, autonomous execution mode"
|
|
157
|
+
tags: [orchestration, workflow, subagents, context-isolation, autonomous-execution, guided-autonomous-execution, planning, design-flow, implementation-flow, implementation-readiness, readiness-gate]
|
|
158
|
+
typical-use: "Orchestrating subagents through implementation workflows, scale determination, stop points, guided autonomous execution mode"
|
|
147
159
|
size: large
|
|
148
160
|
key-references:
|
|
149
161
|
- "Orchestrator Pattern"
|
|
@@ -168,3 +180,30 @@ skills:
|
|
|
168
180
|
- "Required Dialogue Points with Humans [MANDATORY]"
|
|
169
181
|
- "Action Checklist"
|
|
170
182
|
- "References"
|
|
183
|
+
references:
|
|
184
|
+
- "references/monorepo-flow.md"
|
|
185
|
+
|
|
186
|
+
external-resource-context:
|
|
187
|
+
skill: "external-resource-context"
|
|
188
|
+
tags: [external-resources, external-resource-hearing, project-context, mcp, design-source, design-system, visual-verification, generated-artifacts, api-schema, infrastructure, secret-store, context-engineering, documentation]
|
|
189
|
+
typical-use: "Discover, confirm, and record external resource access methods for downstream design, planning, implementation, and review"
|
|
190
|
+
size: medium
|
|
191
|
+
key-references:
|
|
192
|
+
- "Single Source of Truth"
|
|
193
|
+
- "Context Engineering"
|
|
194
|
+
sections:
|
|
195
|
+
- "Purpose"
|
|
196
|
+
- "Scope Boundaries"
|
|
197
|
+
- "Storage Locations"
|
|
198
|
+
- "Hearing Protocol"
|
|
199
|
+
- "Storage Protocol"
|
|
200
|
+
- "Lookup Protocol"
|
|
201
|
+
- "Output Format"
|
|
202
|
+
- "Quality Checklist"
|
|
203
|
+
- "References"
|
|
204
|
+
references:
|
|
205
|
+
- "references/frontend.md"
|
|
206
|
+
- "references/backend.md"
|
|
207
|
+
- "references/api.md"
|
|
208
|
+
- "references/infra.md"
|
|
209
|
+
- "references/template.md"
|
|
@@ -88,6 +88,7 @@ If incomplete implementation is detected, stop immediately and return `status: "
|
|
|
88
88
|
|
|
89
89
|
**Supplementary detection** (when `task_file` is provided):
|
|
90
90
|
- Read the task file's `Quality Assurance Mechanisms` section
|
|
91
|
+
- Read `docs/project-context/external-resources.md` and related `External Resources Used` sections when the task file references them
|
|
91
92
|
- For executable mechanisms, verify the tool exists and is runnable in the current project, then add it to the quality-check command set
|
|
92
93
|
- For non-executable domain constraints, keep them as explicit verification targets and check the changed files against the stated constraint during review
|
|
93
94
|
- Record skipped mechanisms only when neither executable verification nor direct constraint checking is possible
|
|
@@ -475,3 +476,7 @@ enabled = true
|
|
|
475
476
|
[[skills.config]]
|
|
476
477
|
path = ".agents/skills/ai-development-guide/SKILL.md"
|
|
477
478
|
enabled = true
|
|
479
|
+
|
|
480
|
+
[[skills.config]]
|
|
481
|
+
path = ".agents/skills/external-resource-context/SKILL.md"
|
|
482
|
+
enabled = true
|
|
@@ -86,6 +86,7 @@ If incomplete implementation is detected, stop immediately and return `status: "
|
|
|
86
86
|
|
|
87
87
|
**Supplementary detection** (when `task_file` is provided):
|
|
88
88
|
- Read the task file's `Quality Assurance Mechanisms` section
|
|
89
|
+
- Read `docs/project-context/external-resources.md` and related `External Resources Used` sections when the task file references them
|
|
89
90
|
- For executable mechanisms, verify the tool exists and is runnable in the current project, then add it to the quality-check command set
|
|
90
91
|
- For non-executable domain constraints, keep them as explicit verification targets and check the changed files against the stated constraint during review
|
|
91
92
|
- Record skipped mechanisms only when neither executable verification nor direct constraint checking is possible
|
|
@@ -369,3 +370,7 @@ enabled = true
|
|
|
369
370
|
[[skills.config]]
|
|
370
371
|
path = ".agents/skills/ai-development-guide/SKILL.md"
|
|
371
372
|
enabled = true
|
|
373
|
+
|
|
374
|
+
[[skills.config]]
|
|
375
|
+
path = ".agents/skills/external-resource-context/SKILL.md"
|
|
376
|
+
enabled = true
|
|
@@ -154,6 +154,13 @@ When no task file path is provided, select and execute files with pattern `docs/
|
|
|
154
154
|
- API Specifications → Understand endpoints, parameters, response formats (for MSW mocking)
|
|
155
155
|
- Overall Design Document → Understand system-wide context
|
|
156
156
|
|
|
157
|
+
**External Resources Consultation**:
|
|
158
|
+
When the task file, Dependencies, or Investigation Targets reference `docs/project-context/external-resources.md` or an `External Resources Used` section:
|
|
159
|
+
1. Read `docs/project-context/external-resources.md`
|
|
160
|
+
2. Resolve feature-specific identifiers from the UI Spec, Design Doc, or task file
|
|
161
|
+
3. Use declared access methods for design origin, design system, guidelines, and visual verification facts during investigation and verification
|
|
162
|
+
4. Record consulted resources in Investigation Notes
|
|
163
|
+
|
|
157
164
|
### 3. Implementation Execution
|
|
158
165
|
|
|
159
166
|
#### Test Environment Check
|
|
@@ -394,3 +401,7 @@ enabled = true
|
|
|
394
401
|
[[skills.config]]
|
|
395
402
|
path = ".agents/skills/implementation-approach/SKILL.md"
|
|
396
403
|
enabled = true
|
|
404
|
+
|
|
405
|
+
[[skills.config]]
|
|
406
|
+
path = ".agents/skills/external-resource-context/SKILL.md"
|
|
407
|
+
enabled = true
|
|
@@ -154,6 +154,13 @@ When no task file path is provided, select and execute files with pattern `docs/
|
|
|
154
154
|
- Data Schema → Understand table structure, relationships
|
|
155
155
|
- Overall Design Document → Understand system-wide context
|
|
156
156
|
|
|
157
|
+
**External Resources Consultation**:
|
|
158
|
+
When the task file, Dependencies, or Investigation Targets reference `docs/project-context/external-resources.md` or an `External Resources Used` section:
|
|
159
|
+
1. Read `docs/project-context/external-resources.md`
|
|
160
|
+
2. Resolve feature-specific identifiers from the referenced Design Doc or task file
|
|
161
|
+
3. Use declared access methods for required external facts during investigation and verification
|
|
162
|
+
4. Record consulted resources in Investigation Notes
|
|
163
|
+
|
|
157
164
|
### 3. Implementation Execution
|
|
158
165
|
|
|
159
166
|
#### Test Environment Check
|
|
@@ -397,3 +404,7 @@ enabled = true
|
|
|
397
404
|
[[skills.config]]
|
|
398
405
|
path = ".agents/skills/implementation-approach/SKILL.md"
|
|
399
406
|
enabled = true
|
|
407
|
+
|
|
408
|
+
[[skills.config]]
|
|
409
|
+
path = ".agents/skills/external-resource-context/SKILL.md"
|
|
410
|
+
enabled = true
|
|
@@ -189,6 +189,16 @@ When a UI Spec exists for the feature (`docs/ui-spec/{feature-name}-ui-spec.md`)
|
|
|
189
189
|
4. **Align state design** - UI Error State Design and Client State Design sections in Design Doc must be consistent with UI Spec's state x display matrices
|
|
190
190
|
5. **Map interactions to API contracts** - UI Spec's interaction definitions drive the UI Action - API Contract Mapping section
|
|
191
191
|
|
|
192
|
+
## External Resources Integration
|
|
193
|
+
|
|
194
|
+
When external resources are recorded for the project:
|
|
195
|
+
|
|
196
|
+
1. Read `docs/project-context/external-resources.md`
|
|
197
|
+
2. Read UI Spec `External Resources Used` when a UI Spec exists
|
|
198
|
+
3. Use UI Analysis `externalResources` summaries as evidence for design origin, design system, guidelines, and visual verification
|
|
199
|
+
4. Fill the Design Doc `External Resources Used` subsection with project resource labels and feature-specific identifiers
|
|
200
|
+
5. Keep project-level access methods in the project context file
|
|
201
|
+
|
|
192
202
|
## Required Information
|
|
193
203
|
|
|
194
204
|
- **Operation Mode**:
|
|
@@ -204,6 +214,14 @@ When a UI Spec exists for the feature (`docs/ui-spec/{feature-name}-ui-spec.md`)
|
|
|
204
214
|
- `focusAreas` indicate components, hooks, or state paths that deserve deeper inspection
|
|
205
215
|
- `constraints` inform compatibility and UI behavior constraints
|
|
206
216
|
- Additional investigation should focus on areas the analysis did not fully resolve
|
|
217
|
+
- **UI Analysis** (optional, from UI analysis phase):
|
|
218
|
+
- `externalResources` informs External Resources Used and verification sources
|
|
219
|
+
- `componentStructure` informs component hierarchy and DOM order
|
|
220
|
+
- `propsPatterns` informs variant and props compatibility decisions
|
|
221
|
+
- `cssLayout` informs layout constraints and responsive behavior
|
|
222
|
+
- `stateDisplay` informs state transitions and UI Spec alignment
|
|
223
|
+
- `focusAreas` identify UI facts that deserve explicit disposition
|
|
224
|
+
- `candidateWriteSet` informs change impact mapping and planning scope
|
|
207
225
|
- **PRD**: PRD document (if exists)
|
|
208
226
|
- **UI Spec**: UI Specification document (if exists, for frontend features)
|
|
209
227
|
- **Documents to Create**: ADR, Design Doc, or both
|
|
@@ -288,6 +306,7 @@ Implementation sample creation checklist:
|
|
|
288
306
|
- [ ] **Code inspection evidence recorded** (required)
|
|
289
307
|
- [ ] **Integration points enumerated with contracts** (required)
|
|
290
308
|
- [ ] **Props and state contracts clarified** (required)
|
|
309
|
+
- [ ] **External resource references carried forward** when applicable
|
|
291
310
|
- [ ] Component hierarchy and data flow clearly expressed in diagrams
|
|
292
311
|
|
|
293
312
|
**Create/update mode only**:
|
|
@@ -402,3 +421,7 @@ enabled = true
|
|
|
402
421
|
[[skills.config]]
|
|
403
422
|
path = ".agents/skills/implementation-approach/SKILL.md"
|
|
404
423
|
enabled = true
|
|
424
|
+
|
|
425
|
+
[[skills.config]]
|
|
426
|
+
path = ".agents/skills/external-resource-context/SKILL.md"
|
|
427
|
+
enabled = true
|
|
@@ -45,6 +45,15 @@ Representative triggers:
|
|
|
45
45
|
|
|
46
46
|
## Mandatory Process Before Design Doc Creation
|
|
47
47
|
|
|
48
|
+
### External Resources Integration
|
|
49
|
+
|
|
50
|
+
When external resources are recorded for the project:
|
|
51
|
+
|
|
52
|
+
1. Read `docs/project-context/external-resources.md`
|
|
53
|
+
2. Read the target Design Doc's `External Resources Used` section in update mode
|
|
54
|
+
3. Fill the Design Doc `External Resources Used` subsection with project resource labels and feature-specific identifiers for API, backend, data, or infrastructure sources
|
|
55
|
+
4. Keep project-level access methods in the project context file
|
|
56
|
+
|
|
48
57
|
### Standards Identification Gate【Required】
|
|
49
58
|
Must be performed before any investigation:
|
|
50
59
|
|
|
@@ -441,3 +450,7 @@ enabled = true
|
|
|
441
450
|
[[skills.config]]
|
|
442
451
|
path = ".agents/skills/implementation-approach/SKILL.md"
|
|
443
452
|
enabled = true
|
|
453
|
+
|
|
454
|
+
[[skills.config]]
|
|
455
|
+
path = ".agents/skills/external-resource-context/SKILL.md"
|
|
456
|
+
enabled = true
|