You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Present the task list and confirm with the user before starting.
94
29
95
30
---
96
31
97
-
# Phase 2 — Validate
32
+
# Step 2 — Branch
98
33
99
-
## 2.1 — Scope
34
+
Create `feat/issue-{N}-{slug}` from `origin/master`. If the current branch already tracks this issue, stay on it.
100
35
101
-
```bash
102
-
git diff origin/master...HEAD --name-only
103
-
```
104
-
Fallback: `git diff --name-only HEAD`
36
+
---
105
37
106
-
## 2.2 — Launch 4 parallel agents
38
+
#Step 3 — Implement
107
39
108
-
1.**Validator** — `.claude/agents/validator/AGENT.md` (typecheck + test + lint + format)
109
-
2.**Structural auditor** — `.claude/agents/structural-auditor/AGENT.md` on all changed files
110
-
3.**RGAA auditor** — `.claude/agents/rgaa-auditor/AGENT.md` on changed `.tsx`. Auto-fix `[ERROR]`.
111
-
4.**Security auditor** — `.claude/agents/security-auditor/AGENT.md` on changed `.ts/.tsx`. Auto-fix `[CRITICAL]` and `[HIGH]`.
40
+
For each task:
112
41
113
-
## 2.3 — Fix loop
42
+
1.**Fetch details** — if the task is a sub-issue, fetch its full content individually (`gh issue view {task_number}`). For checkboxes, use the text as description.
3.**Figma** — if UI task with a Figma URL in the issue, follow `.claude/rules/figma-workflow.md` strictly. If UI task without URL, ask for the link.
45
+
4.**Code** — write code, tests, migrations
46
+
5.**Commit** — one commit per logical unit of work (not per file, not one giant commit at the end). Conventional messages: `feat:`, `fix:`, `refactor:`. Clean commit boundaries make split PRs easier in `/ship`.
pnpm test:lighthouse # must score 100% accessibility
124
-
```
53
+
Run the quality gates defined in `.claude/rules/automation.md`: 4 parallel agents (validator, structural, RGAA, security).
125
54
126
-
## 2.5 — Report
55
+
**Fix loop**: fix all violations, re-run only the failing agents, and if auto-fixes were applied also re-run the validator. Loop until zero violations.
127
56
128
-
```
129
-
## Validation: PASS
130
-
| Check | Status |
131
-
|------------|--------|
132
-
| Typecheck | PASS |
133
-
| Tests | PASS |
134
-
| Lint | PASS |
135
-
| Structure | PASS |
136
-
| RGAA | PASS |
137
-
| Security | SECURE |
138
-
```
57
+
If the dev server is running, also run `pnpm test:lighthouse` (must score 100% accessibility).
139
58
140
59
Done. Code is validated and ready to ship via `/ship`.
0 commit comments