cc-dev-template 0.1.80 → 0.1.82
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/bin/install.js +10 -1
- package/package.json +1 -1
- package/src/agents/objective-researcher.md +52 -0
- package/src/agents/question-generator.md +70 -0
- package/src/scripts/restrict-to-spec-dir.sh +23 -0
- package/src/skills/agent-browser/SKILL.md +7 -133
- package/src/skills/agent-browser/references/common-patterns.md +64 -0
- package/src/skills/agent-browser/references/ios-simulator.md +25 -0
- package/src/skills/agent-browser/references/reflect.md +9 -0
- package/src/skills/agent-browser/references/semantic-locators.md +11 -0
- package/src/skills/claude-md/SKILL.md +1 -3
- package/src/skills/claude-md/references/audit-reflect.md +0 -4
- package/src/skills/claude-md/references/audit.md +1 -3
- package/src/skills/claude-md/references/create-reflect.md +0 -4
- package/src/skills/claude-md/references/create.md +1 -3
- package/src/skills/claude-md/references/modify-reflect.md +0 -4
- package/src/skills/claude-md/references/modify.md +1 -3
- package/src/skills/creating-agent-skills/SKILL.md +2 -2
- package/src/skills/creating-agent-skills/references/create-step-1-understand.md +1 -1
- package/src/skills/creating-agent-skills/references/create-step-2-design.md +3 -3
- package/src/skills/creating-agent-skills/references/create-step-3-write.md +42 -10
- package/src/skills/creating-agent-skills/references/create-step-4-review.md +2 -2
- package/src/skills/creating-agent-skills/references/create-step-5-install.md +1 -3
- package/src/skills/creating-agent-skills/references/create-step-6-reflect.md +1 -3
- package/src/skills/creating-agent-skills/references/fix-step-1-diagnose.md +5 -4
- package/src/skills/creating-agent-skills/references/fix-step-2-apply.md +2 -2
- package/src/skills/creating-agent-skills/references/fix-step-3-validate.md +1 -3
- package/src/skills/creating-agent-skills/references/fix-step-4-reflect.md +1 -3
- package/src/skills/creating-agent-skills/templates/router-skill.md +3 -3
- package/src/skills/creating-sub-agents/references/create-step-1-understand.md +1 -1
- package/src/skills/creating-sub-agents/references/create-step-2-design.md +1 -1
- package/src/skills/creating-sub-agents/references/create-step-3-write.md +1 -1
- package/src/skills/creating-sub-agents/references/create-step-4-review.md +1 -1
- package/src/skills/creating-sub-agents/references/create-step-5-install.md +1 -3
- package/src/skills/creating-sub-agents/references/create-step-6-reflect.md +0 -4
- package/src/skills/creating-sub-agents/references/fix-step-3-validate.md +1 -3
- package/src/skills/creating-sub-agents/references/fix-step-4-reflect.md +0 -4
- package/src/skills/initialize-project/SKILL.md +2 -4
- package/src/skills/initialize-project/references/reflect.md +0 -4
- package/src/skills/project-setup/references/step-5-verify.md +1 -3
- package/src/skills/project-setup/references/step-6-reflect.md +0 -4
- package/src/skills/prompting/SKILL.md +1 -1
- package/src/skills/prompting/references/create-reflect.md +0 -4
- package/src/skills/prompting/references/create.md +1 -3
- package/src/skills/prompting/references/review-reflect.md +0 -4
- package/src/skills/prompting/references/review.md +1 -3
- package/src/skills/setup-lsp/SKILL.md +1 -1
- package/src/skills/setup-lsp/references/step-1-scan.md +1 -1
- package/src/skills/setup-lsp/references/step-2-install-configure.md +1 -3
- package/src/skills/setup-lsp/references/step-3-verify.md +1 -3
- package/src/skills/setup-lsp/references/step-4-reflect.md +0 -2
- package/src/skills/ship/SKILL.md +46 -0
- package/src/skills/ship/references/step-1-intent.md +50 -0
- package/src/skills/ship/references/step-2-questions.md +42 -0
- package/src/skills/ship/references/step-3-research.md +44 -0
- package/src/skills/ship/references/step-4-design.md +70 -0
- package/src/skills/ship/references/step-5-spec.md +86 -0
- package/src/skills/ship/references/step-6-tasks.md +83 -0
- package/src/skills/ship/references/step-7-implement.md +61 -0
- package/src/skills/ship/references/step-8-reflect.md +21 -0
- package/src/skills/execute-spec/SKILL.md +0 -48
- package/src/skills/execute-spec/references/phase-1-hydrate.md +0 -71
- package/src/skills/execute-spec/references/phase-2-build.md +0 -63
- package/src/skills/execute-spec/references/phase-3-validate.md +0 -72
- package/src/skills/execute-spec/references/phase-4-triage.md +0 -75
- package/src/skills/execute-spec/references/phase-5-reflect.md +0 -34
- package/src/skills/execute-spec/references/workflow.md +0 -82
- package/src/skills/research/SKILL.md +0 -14
- package/src/skills/research/references/step-1-check-existing.md +0 -25
- package/src/skills/research/references/step-2-conduct-research.md +0 -67
- package/src/skills/research/references/step-3-reflect.md +0 -33
- package/src/skills/spec-interview/SKILL.md +0 -48
- package/src/skills/spec-interview/references/critic-prompt.md +0 -140
- package/src/skills/spec-interview/references/pragmatist-prompt.md +0 -76
- package/src/skills/spec-interview/references/researcher-prompt.md +0 -46
- package/src/skills/spec-interview/references/step-1-opening.md +0 -47
- package/src/skills/spec-interview/references/step-2-ideation.md +0 -73
- package/src/skills/spec-interview/references/step-3-ui-ux.md +0 -83
- package/src/skills/spec-interview/references/step-4-deep-dive.md +0 -119
- package/src/skills/spec-interview/references/step-5-research-needs.md +0 -53
- package/src/skills/spec-interview/references/step-6-verification.md +0 -89
- package/src/skills/spec-interview/references/step-7-finalize.md +0 -62
- package/src/skills/spec-interview/references/step-8-reflect.md +0 -34
- package/src/skills/spec-review/SKILL.md +0 -92
- package/src/skills/spec-sanity-check/SKILL.md +0 -82
- package/src/skills/spec-to-tasks/SKILL.md +0 -24
- package/src/skills/spec-to-tasks/references/step-1-identify-spec.md +0 -39
- package/src/skills/spec-to-tasks/references/step-2-explore.md +0 -43
- package/src/skills/spec-to-tasks/references/step-3-generate.md +0 -69
- package/src/skills/spec-to-tasks/references/step-4-review.md +0 -95
- package/src/skills/spec-to-tasks/references/step-5-reflect.md +0 -22
- package/src/skills/spec-to-tasks/templates/task.md +0 -30
- package/src/skills/task-review/SKILL.md +0 -18
- package/src/skills/task-review/references/checklist.md +0 -155
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Step 2: Verify File Landscape
|
|
2
|
-
|
|
3
|
-
The spec should already contain a File Landscape section from the interview process. This step verifies and supplements it.
|
|
4
|
-
|
|
5
|
-
## Check the Spec
|
|
6
|
-
|
|
7
|
-
Read the spec's File Landscape section. It should list:
|
|
8
|
-
- **Files to create**: New files with paths and purposes
|
|
9
|
-
- **Files to modify**: Existing files that need changes
|
|
10
|
-
|
|
11
|
-
If the File Landscape section is missing or incomplete, use an Explorer to fill the gaps:
|
|
12
|
-
|
|
13
|
-
> "To implement [feature from spec], what files would need to be created or modified? Give me concrete file paths."
|
|
14
|
-
|
|
15
|
-
## Map Files to Acceptance Criteria
|
|
16
|
-
|
|
17
|
-
For each acceptance criterion in the spec, identify which files are involved. This mapping drives task generation.
|
|
18
|
-
|
|
19
|
-
Example:
|
|
20
|
-
```
|
|
21
|
-
"User can receive notifications"
|
|
22
|
-
→ src/models/notification.ts
|
|
23
|
-
→ src/services/notificationService.ts
|
|
24
|
-
→ src/services/notificationService.test.ts
|
|
25
|
-
|
|
26
|
-
"User can view notification list"
|
|
27
|
-
→ src/routes/notifications.ts
|
|
28
|
-
→ src/components/NotificationList.tsx
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
If a criterion's files aren't clear from the spec, ask an Explorer:
|
|
32
|
-
|
|
33
|
-
> "What files would be involved in making this criterion pass: [criterion]?"
|
|
34
|
-
|
|
35
|
-
## Output
|
|
36
|
-
|
|
37
|
-
You should now have:
|
|
38
|
-
1. Complete list of files to create and modify
|
|
39
|
-
2. Each acceptance criterion mapped to its files
|
|
40
|
-
|
|
41
|
-
## Next Step
|
|
42
|
-
|
|
43
|
-
Once files are mapped to criteria, read `references/step-3-generate.md`.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Step 3: Generate Task Files
|
|
2
|
-
|
|
3
|
-
Create individual task files based on the spec and codebase exploration.
|
|
4
|
-
|
|
5
|
-
## Task Principles
|
|
6
|
-
|
|
7
|
-
**Criterion-based**: Each task corresponds to one acceptance criterion from the spec. A task includes all files needed to make that criterion pass. Do NOT split by file or architectural layer.
|
|
8
|
-
|
|
9
|
-
**Verifiable**: Every task has a verification method from the spec. A coder implements, a QA agent verifies, and the loop continues until it passes.
|
|
10
|
-
|
|
11
|
-
**Ordered**: Name files so they sort in dependency order (T001, T002, etc.). Tasks with no dependencies on each other can be worked in parallel.
|
|
12
|
-
|
|
13
|
-
**Concrete file paths**: Use the file paths discovered in Step 2. Every task lists all files it touches.
|
|
14
|
-
|
|
15
|
-
## Deriving Tasks from Acceptance Criteria
|
|
16
|
-
|
|
17
|
-
Each acceptance criterion in the spec becomes one task.
|
|
18
|
-
|
|
19
|
-
**For each criterion, determine:**
|
|
20
|
-
1. What files must exist or change for this to pass?
|
|
21
|
-
2. What's the verification method from the spec?
|
|
22
|
-
3. What other criteria must pass first? (dependencies)
|
|
23
|
-
|
|
24
|
-
**Grouping rules:**
|
|
25
|
-
- If two criteria share foundational work (e.g., both need a model), the first task creates the foundation, later tasks build on it
|
|
26
|
-
- If a criterion is too large (touches 10+ files), flag it — the spec may need refinement
|
|
27
|
-
- Small tasks are fine; artificial splits are not
|
|
28
|
-
|
|
29
|
-
**Anti-patterns to avoid:**
|
|
30
|
-
- "Create the User model" — no verifiable outcome
|
|
31
|
-
- "Add service layer" — implementation detail, not behavior
|
|
32
|
-
- "Set up database schema" — means to an end, not the end
|
|
33
|
-
|
|
34
|
-
**Good task boundaries:**
|
|
35
|
-
- "User can register with email" — verifiable, coherent
|
|
36
|
-
- "Duplicate emails are rejected" — verifiable, coherent
|
|
37
|
-
- "Dashboard shows notification count" — verifiable, coherent
|
|
38
|
-
|
|
39
|
-
## Validate Criteria Quality
|
|
40
|
-
|
|
41
|
-
Before generating tasks, verify each acceptance criterion has:
|
|
42
|
-
- A specific, testable condition
|
|
43
|
-
- A verification method (test command, agent-browser script, or query)
|
|
44
|
-
|
|
45
|
-
If criteria are vague or missing verification, stop and ask:
|
|
46
|
-
> "The criterion '[X]' doesn't have a clear verification method. Should I suggest one, or would you like to refine the spec first?"
|
|
47
|
-
|
|
48
|
-
## Generate Task Files
|
|
49
|
-
|
|
50
|
-
Create a `tasks/` directory inside the spec folder:
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
docs/specs/<name>/
|
|
54
|
-
├── spec.md
|
|
55
|
-
└── tasks/
|
|
56
|
-
├── T001-<slug>.md
|
|
57
|
-
├── T002-<slug>.md
|
|
58
|
-
└── T003-<slug>.md
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Use the template in `templates/task.md` for each file. Name files in dependency order so alphabetical sorting reflects execution order.
|
|
62
|
-
|
|
63
|
-
## Do NOT Present Results Yet
|
|
64
|
-
|
|
65
|
-
You have generated task files but you are NOT done. The review step is next and it is mandatory.
|
|
66
|
-
|
|
67
|
-
**IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
|
|
68
|
-
|
|
69
|
-
Read `references/step-4-review.md` now.
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
# Step 4: Review Task Breakdown
|
|
2
|
-
|
|
3
|
-
**IMPORTANT: This step is mandatory. The spec-to-tasks workflow is not complete until this step is finished. Do not skip this.**
|
|
4
|
-
|
|
5
|
-
You must review the generated tasks, fix any issues, and re-review until the breakdown is clean. This is fully automated — do not ask the user for input during this step.
|
|
6
|
-
|
|
7
|
-
## Review Checklist
|
|
8
|
-
|
|
9
|
-
Read every task file and the spec. Evaluate each area below. For each issue found, note the severity:
|
|
10
|
-
- **Critical**: Must fix before proceeding
|
|
11
|
-
- **Warning**: Should fix, but could proceed
|
|
12
|
-
- **Note**: Minor suggestion
|
|
13
|
-
|
|
14
|
-
### 1. Coverage
|
|
15
|
-
|
|
16
|
-
Compare acceptance criteria in the spec to tasks generated.
|
|
17
|
-
|
|
18
|
-
- Every acceptance criterion has exactly one corresponding task
|
|
19
|
-
- No criteria were skipped or forgotten
|
|
20
|
-
- No phantom tasks that don't map to a criterion
|
|
21
|
-
|
|
22
|
-
**How to verify:** List each criterion from the spec's Acceptance Criteria section. For each, find the matching task file. Flag any orphans in either direction.
|
|
23
|
-
|
|
24
|
-
### 2. Dependency Order
|
|
25
|
-
|
|
26
|
-
- Task file names sort in valid execution order (T001, T002, etc.)
|
|
27
|
-
- Each task's `depends_on` references only earlier tasks
|
|
28
|
-
- No circular dependencies
|
|
29
|
-
- Foundation work comes before features that use it
|
|
30
|
-
|
|
31
|
-
### 3. File Plausibility
|
|
32
|
-
|
|
33
|
-
- File paths follow project conventions
|
|
34
|
-
- Files to modify actually exist in the codebase
|
|
35
|
-
- Files to create are in appropriate directories
|
|
36
|
-
- No duplicate files across tasks (each file appears in exactly one task)
|
|
37
|
-
|
|
38
|
-
### 4. Verification Executability
|
|
39
|
-
|
|
40
|
-
- Verification is a specific command or script, not vague prose
|
|
41
|
-
- Test file paths exist or will be created by the task
|
|
42
|
-
- No "manually verify" without clear steps
|
|
43
|
-
|
|
44
|
-
**Red flags:** "Verify it works correctly", "Check that the feature functions", test commands for files not listed in the task.
|
|
45
|
-
|
|
46
|
-
### 5. Verification Completeness
|
|
47
|
-
|
|
48
|
-
- Read the criterion text carefully — identify every distinct behavior or edge case mentioned
|
|
49
|
-
- For each behavior, confirm there's a corresponding verification step
|
|
50
|
-
- Flag any behaviors in the criterion that have no verification
|
|
51
|
-
|
|
52
|
-
### 6. Dependency Completeness
|
|
53
|
-
|
|
54
|
-
- If task X modifies a file, check if another task creates it — that task must be in X's depends_on
|
|
55
|
-
- If task X uses a component/function/route, check if another task creates it — that task must be in X's depends_on
|
|
56
|
-
|
|
57
|
-
### 7. Task Scope
|
|
58
|
-
|
|
59
|
-
- No task touches more than ~10 files (consider splitting)
|
|
60
|
-
- No trivially small tasks that could merge with related work
|
|
61
|
-
- Each task produces a verifiable outcome
|
|
62
|
-
|
|
63
|
-
### 8. Consistency
|
|
64
|
-
|
|
65
|
-
- Task titles match or closely reflect the acceptance criterion
|
|
66
|
-
- Status is `pending` for all new tasks
|
|
67
|
-
- Frontmatter format is consistent across all task files
|
|
68
|
-
|
|
69
|
-
### 9. Component Consolidation
|
|
70
|
-
|
|
71
|
-
- No two tasks create components with similar names, purposes, or overlapping structure
|
|
72
|
-
- Shared patterns use a single shared component with configuration, not separate implementations
|
|
73
|
-
|
|
74
|
-
## Review Loop
|
|
75
|
-
|
|
76
|
-
Run the checklist above against all task files. Then:
|
|
77
|
-
|
|
78
|
-
1. **If Critical issues found:** Fix them by editing the task files. Then re-run the full checklist again from the top. Repeat until no Critical issues remain.
|
|
79
|
-
2. **If only Warnings/Notes remain:** Proceed — you will present these to the user.
|
|
80
|
-
3. **If no issues found:** Proceed.
|
|
81
|
-
|
|
82
|
-
Do NOT present results after a single pass if Critical issues exist. The loop must continue until clean.
|
|
83
|
-
|
|
84
|
-
## Present to User
|
|
85
|
-
|
|
86
|
-
After the review loop completes with no Critical issues, present:
|
|
87
|
-
|
|
88
|
-
1. Number of tasks generated
|
|
89
|
-
2. Task dependency tree (visual format)
|
|
90
|
-
3. Any Warnings from the review (with your recommendation)
|
|
91
|
-
4. Offer to show task files or proceed to implementation
|
|
92
|
-
|
|
93
|
-
**IMPORTANT: You are not done. You MUST read and complete the next step. The workflow is incomplete without it.**
|
|
94
|
-
|
|
95
|
-
Read `references/step-5-reflect.md` now.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Step 5: Skill Reflection
|
|
2
|
-
|
|
3
|
-
**IMPORTANT: This step is mandatory. The spec-to-tasks workflow is not complete until this step is finished. Do not skip this.**
|
|
4
|
-
|
|
5
|
-
## Reflect on This Run
|
|
6
|
-
|
|
7
|
-
Think about how this skill performed during this session. Consider:
|
|
8
|
-
|
|
9
|
-
1. **Step instructions**: Were any steps unclear, misleading, or missing information?
|
|
10
|
-
2. **Task template**: Did the template work well, or did you need to deviate from it?
|
|
11
|
-
3. **Review checklist**: Did the checklist catch real issues? Were any checks unnecessary or missing?
|
|
12
|
-
4. **Workflow flow**: Did the step order make sense? Were there unnecessary steps or missing ones?
|
|
13
|
-
|
|
14
|
-
## Report Issues
|
|
15
|
-
|
|
16
|
-
If you identified any problems with the skill's instructions, templates, or workflow, include a brief note in your final output to the user under a "Skill Observations" heading. Keep it factual — what was wrong, what would be better.
|
|
17
|
-
|
|
18
|
-
If everything worked well, state: "No skill issues observed."
|
|
19
|
-
|
|
20
|
-
## Complete
|
|
21
|
-
|
|
22
|
-
The spec-to-tasks workflow is now complete.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: T00X
|
|
3
|
-
title: <Short descriptive title — the acceptance criterion>
|
|
4
|
-
status: pending
|
|
5
|
-
depends_on: []
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Criterion
|
|
9
|
-
|
|
10
|
-
<The acceptance criterion from the spec, verbatim or lightly edited for clarity>
|
|
11
|
-
|
|
12
|
-
## Files
|
|
13
|
-
|
|
14
|
-
- <path/to/file.ts>
|
|
15
|
-
- <path/to/another-file.ts>
|
|
16
|
-
- <path/to/test-file.test.ts>
|
|
17
|
-
|
|
18
|
-
## Verification
|
|
19
|
-
|
|
20
|
-
<The verification method from the spec — test command, agent-browser script, or manual steps>
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Implementation Notes
|
|
25
|
-
|
|
26
|
-
<!-- Coder agent writes here after each implementation attempt -->
|
|
27
|
-
|
|
28
|
-
## Review Notes
|
|
29
|
-
|
|
30
|
-
<!-- QA agent writes here after each review pass -->
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: task-review
|
|
3
|
-
description: Reviews task breakdown for completeness, correct ordering, and implementation readiness. Use after spec-to-tasks generates task files.
|
|
4
|
-
argument-hint: <spec-name>
|
|
5
|
-
context: fork
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Task Review
|
|
9
|
-
|
|
10
|
-
Review the task breakdown to catch issues before implementation begins.
|
|
11
|
-
|
|
12
|
-
## What To Do Now
|
|
13
|
-
|
|
14
|
-
If an argument was provided, use it as the spec name. Otherwise, find the most recent spec with a `tasks/` directory.
|
|
15
|
-
|
|
16
|
-
Read the spec file and all task files in the `tasks/` directory.
|
|
17
|
-
|
|
18
|
-
Then read `references/checklist.md` and evaluate each item.
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# Task Review Checklist
|
|
2
|
-
|
|
3
|
-
Evaluate each area. For each issue found, note the severity:
|
|
4
|
-
- **Critical**: Must fix before implementation
|
|
5
|
-
- **Warning**: Should fix, but could proceed
|
|
6
|
-
- **Note**: Minor suggestion
|
|
7
|
-
|
|
8
|
-
## 1. Coverage
|
|
9
|
-
|
|
10
|
-
Compare acceptance criteria in the spec to tasks generated.
|
|
11
|
-
|
|
12
|
-
**Check:**
|
|
13
|
-
- [ ] Every acceptance criterion has exactly one corresponding task
|
|
14
|
-
- [ ] No criteria were skipped or forgotten
|
|
15
|
-
- [ ] No phantom tasks that don't map to a criterion
|
|
16
|
-
|
|
17
|
-
**How to verify:**
|
|
18
|
-
List each criterion from the spec's Acceptance Criteria section. For each, find the matching task file. Flag any orphans in either direction.
|
|
19
|
-
|
|
20
|
-
## 2. Dependency Order
|
|
21
|
-
|
|
22
|
-
Tasks should be sequenced so each can be completed without waiting on later tasks.
|
|
23
|
-
|
|
24
|
-
**Check:**
|
|
25
|
-
- [ ] Task file names sort in valid execution order (T001, T002, etc.)
|
|
26
|
-
- [ ] Each task's `depends_on` references only earlier tasks
|
|
27
|
-
- [ ] No circular dependencies
|
|
28
|
-
- [ ] Foundation work comes before features that use it
|
|
29
|
-
|
|
30
|
-
**Common issues:**
|
|
31
|
-
- API route task before the service it calls
|
|
32
|
-
- UI component before the API it fetches from
|
|
33
|
-
- Test file before the code it tests (tests should be in same task as code)
|
|
34
|
-
|
|
35
|
-
## 3. File Plausibility
|
|
36
|
-
|
|
37
|
-
Files listed in each task should make sense for the project.
|
|
38
|
-
|
|
39
|
-
**Check:**
|
|
40
|
-
- [ ] File paths follow project conventions (use Explorer if unsure)
|
|
41
|
-
- [ ] Files to modify actually exist in the codebase
|
|
42
|
-
- [ ] Files to create are in appropriate directories
|
|
43
|
-
- [ ] No duplicate files across tasks (each file appears in exactly one task)
|
|
44
|
-
|
|
45
|
-
**How to verify:**
|
|
46
|
-
For files to modify, confirm they exist. For files to create, confirm the parent directory exists and the naming follows conventions.
|
|
47
|
-
|
|
48
|
-
## 4. Verification Executability
|
|
49
|
-
|
|
50
|
-
Each task's verification method must be concrete and runnable.
|
|
51
|
-
|
|
52
|
-
**Check:**
|
|
53
|
-
- [ ] Verification is a specific command or script, not vague prose
|
|
54
|
-
- [ ] Test file paths exist or will be created by the task
|
|
55
|
-
- [ ] agent-browser commands reference real routes/elements
|
|
56
|
-
- [ ] No "manually verify" without clear steps
|
|
57
|
-
|
|
58
|
-
**Red flags:**
|
|
59
|
-
- "Verify it works correctly"
|
|
60
|
-
- "Check that the feature functions"
|
|
61
|
-
- Test commands for files not listed in the task
|
|
62
|
-
|
|
63
|
-
## 5. Verification Completeness
|
|
64
|
-
|
|
65
|
-
Each task's verification must test ALL behaviors mentioned in its criterion.
|
|
66
|
-
|
|
67
|
-
**Check:**
|
|
68
|
-
- [ ] Read the criterion text carefully - identify every distinct behavior or edge case mentioned
|
|
69
|
-
- [ ] For each behavior, confirm there's a corresponding verification step
|
|
70
|
-
- [ ] Flag any behaviors in the criterion that have no verification
|
|
71
|
-
|
|
72
|
-
**How to verify:**
|
|
73
|
-
For each task, extract bullet points from the criterion. For each bullet, find the matching verification step. If a behavior is mentioned but not tested, that's a Critical issue.
|
|
74
|
-
|
|
75
|
-
**Common gaps:**
|
|
76
|
-
- Criterion mentions "X persists across refresh" but verification doesn't test refresh
|
|
77
|
-
- Criterion mentions "handles edge case Y" but verification only tests happy path
|
|
78
|
-
- Criterion mentions animation/timing but verification can't test it (should note "Manual test required")
|
|
79
|
-
|
|
80
|
-
## 6. Dependency Completeness
|
|
81
|
-
|
|
82
|
-
Dependencies must be complete, not just valid.
|
|
83
|
-
|
|
84
|
-
**Check:**
|
|
85
|
-
- [ ] If task X modifies a file, check if another task creates it - that task must be in X's depends_on
|
|
86
|
-
- [ ] If task X uses a component/function/route, check if another task creates it - that task must be in X's depends_on
|
|
87
|
-
- [ ] If task X requires context from task Y (e.g., branding, layout, shared state), Y must be in X's depends_on
|
|
88
|
-
|
|
89
|
-
**How to verify:**
|
|
90
|
-
For each task, look at its Files section. For each "modify" entry, search other tasks for where that file is created. If found, verify the creating task is in depends_on. Also check the criterion for implicit dependencies (e.g., "shows branding" implies depending on the branding task).
|
|
91
|
-
|
|
92
|
-
**Common gaps:**
|
|
93
|
-
- Task uses a layout but doesn't depend on the task that configures the layout
|
|
94
|
-
- Task modifies shared state but doesn't depend on the task that creates the context
|
|
95
|
-
- Task assumes a feature exists but the feature is created by a later task
|
|
96
|
-
|
|
97
|
-
## 7. Task Scope
|
|
98
|
-
|
|
99
|
-
Each task should be appropriately sized for the coder→QA loop.
|
|
100
|
-
|
|
101
|
-
**Check:**
|
|
102
|
-
- [ ] No task touches more than ~10 files (consider splitting)
|
|
103
|
-
- [ ] No trivially small tasks that could merge with related work
|
|
104
|
-
- [ ] Each task produces a verifiable outcome, not just "creates a file"
|
|
105
|
-
|
|
106
|
-
## 8. Consistency
|
|
107
|
-
|
|
108
|
-
Cross-check task files against each other and the spec.
|
|
109
|
-
|
|
110
|
-
**Check:**
|
|
111
|
-
- [ ] Task titles match or closely reflect the acceptance criterion
|
|
112
|
-
- [ ] Status is `pending` for all new tasks
|
|
113
|
-
- [ ] Frontmatter format is consistent across all task files
|
|
114
|
-
- [ ] Implementation Notes and Review Notes sections exist (empty is fine)
|
|
115
|
-
|
|
116
|
-
## 9. Component Consolidation
|
|
117
|
-
|
|
118
|
-
Scan for tasks that create structurally similar files.
|
|
119
|
-
|
|
120
|
-
**Check:**
|
|
121
|
-
- [ ] No two tasks create components with similar names, purposes, or overlapping structure
|
|
122
|
-
- [ ] Shared patterns (cards, forms, list items, layout sections) use a single shared component with configuration, not separate implementations
|
|
123
|
-
- [ ] Utility functions or services with similar logic are consolidated
|
|
124
|
-
|
|
125
|
-
**How to verify:**
|
|
126
|
-
Compare files-to-create across all tasks. Group by similarity (naming patterns, structural role, data shape). When two or more tasks create similar files, flag for consolidation.
|
|
127
|
-
|
|
128
|
-
**Common issues:**
|
|
129
|
-
- Three "card" components for different pages that differ only by displayed fields
|
|
130
|
-
- Two form components with nearly identical validation and submission logic
|
|
131
|
-
- Repeated layout patterns that could be a shared template with slots/children
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## Output Format
|
|
136
|
-
|
|
137
|
-
Return findings as a structured list:
|
|
138
|
-
|
|
139
|
-
```
|
|
140
|
-
## Critical Issues
|
|
141
|
-
- [T002] Depends on T005 which comes later - wrong order
|
|
142
|
-
- [T003] Missing verification method
|
|
143
|
-
|
|
144
|
-
## Warnings
|
|
145
|
-
- [T001] touches 12 files - consider splitting
|
|
146
|
-
- Criterion "User can delete account" has no corresponding task
|
|
147
|
-
|
|
148
|
-
## Notes
|
|
149
|
-
- [T004] Could merge with T005 since they share the same files
|
|
150
|
-
|
|
151
|
-
## Skill Observations (optional)
|
|
152
|
-
If any checklist items, severity criteria, or review patterns in this skill were wrong, incomplete, or misleading during this review, note them here. Leave empty if no issues were found.
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
If no issues found, state: "Task breakdown looks good. All criteria covered, dependencies valid, verification methods concrete."
|