codex-workflows 0.1.0 → 0.2.1
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/coding-rules/SKILL.md +22 -4
- package/.agents/skills/coding-rules/references/security-checks.md +62 -0
- package/.agents/skills/documentation-criteria/references/design-template.md +9 -3
- package/.agents/skills/documentation-criteria/references/plan-template.md +1 -0
- package/.agents/skills/recipe-build/SKILL.md +10 -1
- package/.agents/skills/recipe-front-build/SKILL.md +11 -2
- package/.agents/skills/recipe-front-review/SKILL.md +54 -21
- package/.agents/skills/recipe-front-review/agents/openai.yaml +1 -1
- package/.agents/skills/recipe-fullstack-build/SKILL.md +10 -1
- package/.agents/skills/recipe-fullstack-implement/SKILL.md +9 -0
- package/.agents/skills/recipe-implement/SKILL.md +10 -1
- package/.agents/skills/recipe-review/SKILL.md +60 -26
- package/.agents/skills/recipe-review/agents/openai.yaml +1 -1
- package/.agents/skills/subagents-orchestration-guide/SKILL.md +40 -21
- package/.agents/skills/subagents-orchestration-guide/references/monorepo-flow.md +1 -1
- package/.agents/skills/task-analyzer/references/skills-index.yaml +1 -1
- package/.codex/agents/code-reviewer.toml +63 -125
- package/.codex/agents/code-verifier.toml +1 -1
- package/.codex/agents/design-sync.toml +7 -9
- package/.codex/agents/quality-fixer.toml +1 -1
- package/.codex/agents/requirement-analyzer.toml +27 -19
- package/.codex/agents/scope-discoverer.toml +1 -1
- package/.codex/agents/security-reviewer.toml +170 -0
- package/.codex/agents/task-executor-frontend.toml +5 -0
- package/.codex/agents/task-executor.toml +5 -0
- package/.codex/agents/work-planner.toml +36 -26
- package/LICENSE +21 -0
- package/README.md +6 -5
- package/package.json +1 -1
|
@@ -191,6 +191,10 @@ Examples: `docs/plans/analysis/component-research.md`, `docs/plans/analysis/api-
|
|
|
191
191
|
|
|
192
192
|
## Structured Response Specification
|
|
193
193
|
|
|
194
|
+
### Field Specifications
|
|
195
|
+
|
|
196
|
+
**requiresTestReview**: Set to `true` when the task added or updated integration tests or E2E tests. Set to `false` for unit-test-only tasks or tasks with no tests.
|
|
197
|
+
|
|
194
198
|
### 1. Task Completion Response
|
|
195
199
|
Report in the following JSON format upon task completion (**without executing quality checks or commits**, delegating to quality assurance process):
|
|
196
200
|
|
|
@@ -201,6 +205,7 @@ Report in the following JSON format upon task completion (**without executing qu
|
|
|
201
205
|
"changeSummary": "[Specific summary of React component implementation/changes]",
|
|
202
206
|
"filesModified": ["src/components/Button/Button.tsx", "src/components/Button/index.ts"],
|
|
203
207
|
"testsAdded": ["src/components/Button/Button.test.tsx"],
|
|
208
|
+
"requiresTestReview": false,
|
|
204
209
|
"newTestsPassed": true,
|
|
205
210
|
"progressUpdated": {
|
|
206
211
|
"taskFile": "5/8 items completed",
|
|
@@ -192,6 +192,10 @@ Examples: `docs/plans/analysis/research-results.md`, `docs/plans/analysis/api-sp
|
|
|
192
192
|
|
|
193
193
|
## Structured Response Specification
|
|
194
194
|
|
|
195
|
+
### Field Specifications
|
|
196
|
+
|
|
197
|
+
**requiresTestReview**: Set to `true` when the task added or updated integration tests or E2E tests. Set to `false` for unit-test-only tasks or tasks with no tests.
|
|
198
|
+
|
|
195
199
|
### 1. Task Completion Response
|
|
196
200
|
Report in the following JSON format upon task completion (**without executing quality checks or commits**, delegating to quality assurance process):
|
|
197
201
|
|
|
@@ -202,6 +206,7 @@ Report in the following JSON format upon task completion (**without executing qu
|
|
|
202
206
|
"changeSummary": "[Specific summary of implementation content/changes]",
|
|
203
207
|
"filesModified": ["specific/file/path1", "specific/file/path2"],
|
|
204
208
|
"testsAdded": ["created/test/file/path"],
|
|
209
|
+
"requiresTestReview": true,
|
|
205
210
|
"newTestsPassed": true,
|
|
206
211
|
"progressUpdated": {
|
|
207
212
|
"taskFile": "5/8 items completed",
|
|
@@ -40,35 +40,45 @@ Skill Status:
|
|
|
40
40
|
2. Clarify task dependencies
|
|
41
41
|
3. Phase division and prioritization
|
|
42
42
|
4. Define completion criteria for each task (derived from Design Doc acceptance criteria)
|
|
43
|
-
5.
|
|
43
|
+
5. Define operational verification procedures for each phase
|
|
44
44
|
6. Concretize risks and countermeasures
|
|
45
45
|
7. Document in progress-trackable format
|
|
46
46
|
|
|
47
|
-
##
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
- **
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
- **
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
47
|
+
## Input Parameters
|
|
48
|
+
|
|
49
|
+
- **mode**: `create` (default) | `update`
|
|
50
|
+
- **designDoc**: Path to Design Doc(s) (may be multiple for cross-layer features)
|
|
51
|
+
- **uiSpec** (optional): Path to UI Specification (frontend/fullstack features)
|
|
52
|
+
- **prd** (optional): Path to PRD document
|
|
53
|
+
- **adr** (optional): Path to ADR document
|
|
54
|
+
- **testSkeletons** (optional): Paths to integration/E2E test skeleton files from acceptance-test-generator
|
|
55
|
+
- **updateContext** (update mode only): Path to existing plan, reason for changes
|
|
56
|
+
|
|
57
|
+
## Workflow
|
|
58
|
+
|
|
59
|
+
### 1. Load Input Documents
|
|
60
|
+
Read the Design Doc(s), UI Spec, PRD, and ADR (if provided). Extract:
|
|
61
|
+
- Acceptance criteria and implementation approach
|
|
62
|
+
- Technical dependencies and implementation order
|
|
63
|
+
- Integration points requiring E2E verification
|
|
64
|
+
|
|
65
|
+
### 2. Process Test Design Information (when provided)
|
|
66
|
+
Read test skeleton files and extract meta information (see Test Design Information Processing section).
|
|
67
|
+
|
|
68
|
+
### 3. Select Implementation Strategy
|
|
69
|
+
Choose Strategy A (TDD) if test skeletons are provided, Strategy B (implementation-first) otherwise. See Implementation Strategy Selection section.
|
|
70
|
+
|
|
71
|
+
### 4. Compose Phases
|
|
72
|
+
Structure phases based on technical dependencies from Design Doc:
|
|
73
|
+
- Place tasks with lowest dependencies in earlier phases
|
|
74
|
+
- Include operational verification at integration points
|
|
75
|
+
- Include quality assurance in final phase
|
|
76
|
+
|
|
77
|
+
### 5. Define Tasks with Completion Criteria
|
|
78
|
+
For each task, derive completion criteria from Design Doc acceptance criteria. Apply the 3-element completion definition (Implementation Complete, Quality Complete, Integration Complete).
|
|
79
|
+
|
|
80
|
+
### 6. Produce Work Plan Document
|
|
81
|
+
Write the work plan following the plan template from documentation-criteria skill. Include Phase Structure Diagram and Task Dependency Diagram (mermaid).
|
|
72
82
|
|
|
73
83
|
## Work Plan Output Format
|
|
74
84
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Shinsuke Kagawa
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**End-to-end AI coding workflows for [Codex CLI](https://developers.openai.com/codex/cli)** — specialized subagents handle requirements, design, implementation, and quality checks so you get code with explicit design docs, test coverage, and commit-level traceability — not just raw generations.
|
|
8
8
|
|
|
9
|
-
Built on the [Agent Skills specification](https://developers.openai.com/codex/skills/) and [Codex subagents](https://developers.openai.com/codex/subagents). Works with
|
|
9
|
+
Built on the [Agent Skills specification](https://developers.openai.com/codex/skills/) and [Codex subagents](https://developers.openai.com/codex/subagents). Works with the latest GPT models.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -144,7 +144,7 @@ Invoke recipes with `$recipe-name` in Codex. Type `$recipe-` and use tab complet
|
|
|
144
144
|
| `$recipe-design` | Requirements → ADR/Design Doc | Architecture planning |
|
|
145
145
|
| `$recipe-plan` | Design Doc → test skeletons → work plan | Planning phase |
|
|
146
146
|
| `$recipe-build` | Execute backend tasks autonomously | Resume backend implementation |
|
|
147
|
-
| `$recipe-review` | Design Doc compliance validation with auto-fixes | Post-implementation check |
|
|
147
|
+
| `$recipe-review` | Design Doc compliance and security validation with auto-fixes | Post-implementation check |
|
|
148
148
|
| `$recipe-diagnose` | Problem investigation → verification → solution | Bug investigation |
|
|
149
149
|
| `$recipe-reverse-engineer` | Generate PRD + Design Docs from existing code | Legacy system documentation |
|
|
150
150
|
| `$recipe-add-integration-tests` | Add integration/E2E tests from Design Doc | Test coverage for existing code |
|
|
@@ -157,7 +157,7 @@ Invoke recipes with `$recipe-name` in Codex. Type `$recipe-` and use tab complet
|
|
|
157
157
|
| `$recipe-front-design` | Requirements → UI Spec → frontend Design Doc | Frontend architecture planning |
|
|
158
158
|
| `$recipe-front-plan` | Frontend Design Doc → test skeletons → work plan | Frontend planning phase |
|
|
159
159
|
| `$recipe-front-build` | Execute frontend tasks with RTL + quality checks | Resume frontend implementation |
|
|
160
|
-
| `$recipe-front-review` | Frontend compliance validation with React-specific fixes | Frontend post-implementation check |
|
|
160
|
+
| `$recipe-front-review` | Frontend compliance and security validation with React-specific fixes | Frontend post-implementation check |
|
|
161
161
|
|
|
162
162
|
### Fullstack (Cross-Layer)
|
|
163
163
|
|
|
@@ -244,6 +244,7 @@ Codex spawns these as needed during recipe execution. Each agent runs in its own
|
|
|
244
244
|
|-------|------|
|
|
245
245
|
| `code-reviewer` | Design Doc compliance validation |
|
|
246
246
|
| `code-verifier` | Document-code consistency verification |
|
|
247
|
+
| `security-reviewer` | Security compliance review after implementation |
|
|
247
248
|
| `rule-advisor` | Skill selection via metacognitive analysis |
|
|
248
249
|
| `scope-discoverer` | Codebase scope discovery for reverse docs |
|
|
249
250
|
|
|
@@ -316,7 +317,7 @@ your-project/
|
|
|
316
317
|
│ ├── requirement-analyzer.toml
|
|
317
318
|
│ ├── technical-designer.toml
|
|
318
319
|
│ ├── task-executor.toml
|
|
319
|
-
│ └── ... (
|
|
320
|
+
│ └── ... (23 agents total)
|
|
320
321
|
└── docs/ # Created as you use the recipes
|
|
321
322
|
├── prd/
|
|
322
323
|
├── design/
|
|
@@ -332,7 +333,7 @@ your-project/
|
|
|
332
333
|
|
|
333
334
|
**Q: What models does this work with?**
|
|
334
335
|
|
|
335
|
-
A: Designed for GPT
|
|
336
|
+
A: Designed for the latest GPT models. Lightweight subagents (e.g. rule-advisor) can use smaller models for faster analysis. Models are configurable per agent in the TOML files.
|
|
336
337
|
|
|
337
338
|
**Q: Can I customize the agents?**
|
|
338
339
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codex-workflows",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Task-oriented agentic coding framework for OpenAI Codex CLI — skills, recipes, and subagents for structured development workflows",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Shinsuke Kagawa",
|