start-vibing 1.1.2 → 1.1.4

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.
Files changed (38) hide show
  1. package/package.json +1 -1
  2. package/template/.claude/CLAUDE.md +129 -168
  3. package/template/.claude/agents/analyzer.md +0 -14
  4. package/template/.claude/agents/commit-manager.md +0 -19
  5. package/template/.claude/agents/documenter.md +0 -10
  6. package/template/.claude/agents/domain-updater.md +194 -200
  7. package/template/.claude/agents/final-validator.md +0 -18
  8. package/template/.claude/agents/orchestrator.md +36 -34
  9. package/template/.claude/agents/quality-checker.md +0 -24
  10. package/template/.claude/agents/research.md +299 -262
  11. package/template/.claude/agents/security-auditor.md +1 -14
  12. package/template/.claude/agents/tester.md +0 -8
  13. package/template/.claude/agents/ui-ux-reviewer.md +80 -18
  14. package/template/.claude/commands/feature.md +48 -102
  15. package/template/.claude/config/README.md +30 -30
  16. package/template/.claude/config/project-config.json +53 -53
  17. package/template/.claude/config/quality-gates.json +46 -46
  18. package/template/.claude/config/security-rules.json +45 -45
  19. package/template/.claude/config/testing-config.json +168 -168
  20. package/template/.claude/hooks/SETUP.md +52 -181
  21. package/template/.claude/hooks/user-prompt-submit.py +184 -46
  22. package/template/.claude/settings.json +0 -39
  23. package/template/.claude/skills/codebase-knowledge/SKILL.md +145 -145
  24. package/template/.claude/skills/codebase-knowledge/domains/claude-system.md +260 -321
  25. package/template/.claude/skills/docs-tracker/SKILL.md +239 -239
  26. package/template/.claude/skills/final-check/SKILL.md +284 -284
  27. package/template/.claude/skills/quality-gate/SKILL.md +278 -278
  28. package/template/.claude/skills/research-cache/SKILL.md +207 -207
  29. package/template/.claude/skills/security-scan/SKILL.md +206 -206
  30. package/template/.claude/skills/test-coverage/SKILL.md +441 -441
  31. package/template/.claude/skills/ui-ux-audit/SKILL.md +254 -254
  32. package/template/.claude/config/domain-mapping.json +0 -26
  33. package/template/.claude/hooks/post-tool-use.py +0 -155
  34. package/template/.claude/hooks/pre-tool-use.py +0 -159
  35. package/template/.claude/hooks/stop-validation.py +0 -155
  36. package/template/.claude/hooks/validate-commit.py +0 -200
  37. package/template/.claude/hooks/workflow-manager.py +0 -350
  38. package/template/.claude/workflow-state.schema.json +0 -200
@@ -1,284 +1,284 @@
1
- ---
2
- name: final-check
3
- description: Final validation before task completion. Verifies all skills were consulted, documentation updated, tests pass. HAS VETO POWER - blocks incomplete tasks.
4
- allowed-tools: Read, Grep, Glob, Bash
5
- ---
6
-
7
- # Final Check - Final Validation System
8
-
9
- ## VETO POWER
10
-
11
- > **WARNING:** This skill HAS VETO POWER.
12
- > If rule violated, MUST:
13
- >
14
- > 1. STOP and list violations
15
- > 2. REQUIRE fix before approving
16
- > 3. Re-validate after fixes
17
-
18
- ---
19
-
20
- ## Purpose
21
-
22
- This skill is the LAST check before task completion:
23
-
24
- - **Validates** all CLAUDE.md rules
25
- - **Verifies** all skills were consulted
26
- - **Confirms** documentation was updated
27
- - **Ensures** nothing was forgotten
28
- - **Blocks** incomplete tasks
29
-
30
- ---
31
-
32
- ## Mega Validation Checklist
33
-
34
- ### 1. CODEBASE-KNOWLEDGE
35
-
36
- - [ ] Affected domain consulted BEFORE implementing?
37
- - [ ] Domain file UPDATED after implementing?
38
- - [ ] Commit hash added?
39
- - [ ] Connections verified?
40
-
41
- ### 2. DOCS-TRACKER
42
-
43
- - [ ] Changes detected via git diff?
44
- - [ ] New documentation created (if needed)?
45
- - [ ] Existing documentation updated?
46
- - [ ] Changelog updated?
47
-
48
- ### 3. TEST-COVERAGE
49
-
50
- - [ ] New files have test or exemption?
51
- - [ ] New tRPC routes have unit test?
52
- - [ ] New pages have E2E spec?
53
- - [ ] E2E uses `auth.helper.ts` correctly?
54
- - [ ] No `.skip()` added?
55
- - [ ] All tests pass?
56
-
57
- ### 4. UI-UX-AUDIT
58
-
59
- - [ ] Competitors researched (if UI)?
60
- - [ ] Accessibility validated?
61
- - [ ] Responsiveness tested?
62
- - [ ] Skeleton created (if new component)?
63
- - [ ] Zero horizontal overflow?
64
-
65
- ### 5. SECURITY-SCAN
66
-
67
- - [ ] User ID always from session?
68
- - [ ] Sensitive data not sent to frontend?
69
- - [ ] Zod validation on all routes?
70
- - [ ] OWASP Top 10 verified?
71
- - [ ] No pending VETO?
72
-
73
- ### 6. QUALITY-GATE
74
-
75
- - [ ] `bun run typecheck` passes?
76
- - [ ] `bun run lint` passes?
77
- - [ ] `bun run test` passes?
78
- - [ ] `bun run test:e2e` passes?
79
- - [ ] `bun run build` passes?
80
-
81
- ---
82
-
83
- ## Checklist by Task Type
84
-
85
- ### New Feature
86
-
87
- ```markdown
88
- ### Before Implementation
89
-
90
- - [ ] Consulted codebase-knowledge domain?
91
- - [ ] Researched competitors (if UI)?
92
-
93
- ### During Implementation
94
-
95
- - [ ] Followed code patterns?
96
- - [ ] Created skeleton for components?
97
- - [ ] Validated inputs with Zod?
98
- - [ ] User ID always from session?
99
-
100
- ### After Implementation
101
-
102
- - [ ] Created unit tests?
103
- - [ ] Created E2E tests?
104
- - [ ] Updated codebase-knowledge?
105
- - [ ] Updated docs/flows (if applicable)?
106
- - [ ] Ran full quality-gate?
107
- - [ ] Security-scan approved?
108
- ```
109
-
110
- ### Bug Fix
111
-
112
- ```markdown
113
- ### Before
114
-
115
- - [ ] Consulted affected domain?
116
- - [ ] Identified root cause?
117
-
118
- ### During
119
-
120
- - [ ] Fix is minimal and focused?
121
- - [ ] Doesn't introduce regression?
122
-
123
- ### After
124
-
125
- - [ ] Test covering the bug?
126
- - [ ] Updated domain with commit?
127
- - [ ] Quality-gate passes?
128
- ```
129
-
130
- ### Refactor
131
-
132
- ```markdown
133
- ### Before
134
-
135
- - [ ] Consulted affected domains?
136
- - [ ] Mapped all dependencies?
137
-
138
- ### During
139
-
140
- - [ ] Maintained existing behavior?
141
- - [ ] Didn't break tests?
142
-
143
- ### After
144
-
145
- - [ ] All tests pass?
146
- - [ ] Updated affected domains?
147
- - [ ] Quality-gate passes?
148
- ```
149
-
150
- ---
151
-
152
- ## Validation Flow
153
-
154
- ```
155
- TASK COMPLETE? (developer thinks done)
156
-
157
- 1. VERIFY CODEBASE-KNOWLEDGE → Consulted? Updated?
158
-
159
- 2. VERIFY DOCS-TRACKER → Docs updated? Changelog?
160
-
161
- 3. VERIFY TEST-COVERAGE → All files have tests? Pass?
162
-
163
- 4. VERIFY UI-UX-AUDIT (if UI) → Research? Accessibility?
164
-
165
- 5. VERIFY SECURITY-SCAN → No VETO? OWASP OK?
166
-
167
- 6. VERIFY QUALITY-GATE → All checks pass?
168
-
169
- ┌─────────┴─────────┐
170
- ↓ ↓
171
- VIOLATION ALL OK
172
- → VETO → APPROVED
173
- → LIST ISSUES → CAN COMMIT
174
- ```
175
-
176
- ---
177
-
178
- ## Output Format
179
-
180
- ### Approved
181
-
182
- ```markdown
183
- ## FINAL CHECK - APPROVED
184
-
185
- ### Task Summary
186
-
187
- - **Type:** Feature
188
- - **Domain:** [domain]
189
- - **Files:** X modified
190
-
191
- ### Verifications
192
-
193
- - [x] Codebase-Knowledge: Consulted and updated
194
- - [x] Docs-Tracker: Changelog updated
195
- - [x] Test-Coverage: Unit 3/3, E2E 2/2 pass
196
- - [x] UI-UX-Audit: Competitors researched, accessible
197
- - [x] Security-Scan: No vulnerabilities
198
- - [x] Quality-Gate: All checks pass
199
-
200
- **STATUS: APPROVED** - Ready to commit
201
- ```
202
-
203
- ### Vetoed
204
-
205
- ```markdown
206
- ## FINAL CHECK - VETOED
207
-
208
- ### Task Summary
209
-
210
- - **Type:** Feature
211
- - **Domain:** [domain]
212
-
213
- ### Violations Found
214
-
215
- #### ❌ Codebase-Knowledge
216
-
217
- - **Violation:** Domain NOT updated after implementation
218
- - **Action:** Update domain file with commit hash
219
-
220
- #### ❌ Test-Coverage
221
-
222
- - **Violation:** New file without test
223
- - **File:** `components/NewComponent.tsx`
224
- - **Action:** Create E2E spec
225
-
226
- **STATUS: VETOED** - 2 violations. Fix before commit.
227
-
228
- ### Next Steps
229
-
230
- 1. Update domain file
231
- 2. Create test for new component
232
- 3. Re-run final-check
233
- ```
234
-
235
- ---
236
-
237
- ## VETO Rules
238
-
239
- ### IMMEDIATE VETO
240
-
241
- 1. Security-scan found critical vulnerability
242
- 2. Quality-gate doesn't pass
243
- 3. Tests failing
244
- 4. Codebase-knowledge not updated
245
-
246
- ### VETO BEFORE MERGE
247
-
248
- 1. Docs not updated
249
- 2. Skeleton missing (if new component)
250
- 3. Changelog not updated
251
-
252
- ### WARNING (No veto)
253
-
254
- 1. Coverage below ideal (but critical tests exist)
255
- 2. Optional docs missing
256
-
257
- ---
258
-
259
- ## Quick Command
260
-
261
- ```bash
262
- # Run full validation
263
- bun run typecheck && bun run lint && bun run test && bun run test:e2e && bun run build
264
-
265
- # If all pass, manually verify:
266
- # - codebase-knowledge updated?
267
- # - docs updated?
268
- # - skeleton created?
269
- ```
270
-
271
- ---
272
-
273
- ## Critical Rules
274
-
275
- 1. **HAS VETO POWER** - Last barrier before commit
276
- 2. **VERIFIES EVERYTHING** - All skills, all rules
277
- 3. **NO EXCUSES** - Rule is rule
278
- 4. **DOCUMENTS VIOLATIONS** - For learning
279
-
280
- ---
281
-
282
- ## Version
283
-
284
- - **v2.0.0** - Generic template
1
+ ---
2
+ name: final-check
3
+ description: Final validation before task completion. Verifies all skills were consulted, documentation updated, tests pass. HAS VETO POWER - blocks incomplete tasks.
4
+ allowed-tools: Read, Grep, Glob, Bash
5
+ ---
6
+
7
+ # Final Check - Final Validation System
8
+
9
+ ## VETO POWER
10
+
11
+ > **WARNING:** This skill HAS VETO POWER.
12
+ > If rule violated, MUST:
13
+ >
14
+ > 1. STOP and list violations
15
+ > 2. REQUIRE fix before approving
16
+ > 3. Re-validate after fixes
17
+
18
+ ---
19
+
20
+ ## Purpose
21
+
22
+ This skill is the LAST check before task completion:
23
+
24
+ - **Validates** all CLAUDE.md rules
25
+ - **Verifies** all skills were consulted
26
+ - **Confirms** documentation was updated
27
+ - **Ensures** nothing was forgotten
28
+ - **Blocks** incomplete tasks
29
+
30
+ ---
31
+
32
+ ## Mega Validation Checklist
33
+
34
+ ### 1. CODEBASE-KNOWLEDGE
35
+
36
+ - [ ] Affected domain consulted BEFORE implementing?
37
+ - [ ] Domain file UPDATED after implementing?
38
+ - [ ] Commit hash added?
39
+ - [ ] Connections verified?
40
+
41
+ ### 2. DOCS-TRACKER
42
+
43
+ - [ ] Changes detected via git diff?
44
+ - [ ] New documentation created (if needed)?
45
+ - [ ] Existing documentation updated?
46
+ - [ ] Changelog updated?
47
+
48
+ ### 3. TEST-COVERAGE
49
+
50
+ - [ ] New files have test or exemption?
51
+ - [ ] New tRPC routes have unit test?
52
+ - [ ] New pages have E2E spec?
53
+ - [ ] E2E uses `auth.helper.ts` correctly?
54
+ - [ ] No `.skip()` added?
55
+ - [ ] All tests pass?
56
+
57
+ ### 4. UI-UX-AUDIT
58
+
59
+ - [ ] Competitors researched (if UI)?
60
+ - [ ] Accessibility validated?
61
+ - [ ] Responsiveness tested?
62
+ - [ ] Skeleton created (if new component)?
63
+ - [ ] Zero horizontal overflow?
64
+
65
+ ### 5. SECURITY-SCAN
66
+
67
+ - [ ] User ID always from session?
68
+ - [ ] Sensitive data not sent to frontend?
69
+ - [ ] Zod validation on all routes?
70
+ - [ ] OWASP Top 10 verified?
71
+ - [ ] No pending VETO?
72
+
73
+ ### 6. QUALITY-GATE
74
+
75
+ - [ ] `bun run typecheck` passes?
76
+ - [ ] `bun run lint` passes?
77
+ - [ ] `bun run test` passes?
78
+ - [ ] `bun run test:e2e` passes?
79
+ - [ ] `bun run build` passes?
80
+
81
+ ---
82
+
83
+ ## Checklist by Task Type
84
+
85
+ ### New Feature
86
+
87
+ ```markdown
88
+ ### Before Implementation
89
+
90
+ - [ ] Consulted codebase-knowledge domain?
91
+ - [ ] Researched competitors (if UI)?
92
+
93
+ ### During Implementation
94
+
95
+ - [ ] Followed code patterns?
96
+ - [ ] Created skeleton for components?
97
+ - [ ] Validated inputs with Zod?
98
+ - [ ] User ID always from session?
99
+
100
+ ### After Implementation
101
+
102
+ - [ ] Created unit tests?
103
+ - [ ] Created E2E tests?
104
+ - [ ] Updated codebase-knowledge?
105
+ - [ ] Updated docs/flows (if applicable)?
106
+ - [ ] Ran full quality-gate?
107
+ - [ ] Security-scan approved?
108
+ ```
109
+
110
+ ### Bug Fix
111
+
112
+ ```markdown
113
+ ### Before
114
+
115
+ - [ ] Consulted affected domain?
116
+ - [ ] Identified root cause?
117
+
118
+ ### During
119
+
120
+ - [ ] Fix is minimal and focused?
121
+ - [ ] Doesn't introduce regression?
122
+
123
+ ### After
124
+
125
+ - [ ] Test covering the bug?
126
+ - [ ] Updated domain with commit?
127
+ - [ ] Quality-gate passes?
128
+ ```
129
+
130
+ ### Refactor
131
+
132
+ ```markdown
133
+ ### Before
134
+
135
+ - [ ] Consulted affected domains?
136
+ - [ ] Mapped all dependencies?
137
+
138
+ ### During
139
+
140
+ - [ ] Maintained existing behavior?
141
+ - [ ] Didn't break tests?
142
+
143
+ ### After
144
+
145
+ - [ ] All tests pass?
146
+ - [ ] Updated affected domains?
147
+ - [ ] Quality-gate passes?
148
+ ```
149
+
150
+ ---
151
+
152
+ ## Validation Flow
153
+
154
+ ```
155
+ TASK COMPLETE? (developer thinks done)
156
+
157
+ 1. VERIFY CODEBASE-KNOWLEDGE → Consulted? Updated?
158
+
159
+ 2. VERIFY DOCS-TRACKER → Docs updated? Changelog?
160
+
161
+ 3. VERIFY TEST-COVERAGE → All files have tests? Pass?
162
+
163
+ 4. VERIFY UI-UX-AUDIT (if UI) → Research? Accessibility?
164
+
165
+ 5. VERIFY SECURITY-SCAN → No VETO? OWASP OK?
166
+
167
+ 6. VERIFY QUALITY-GATE → All checks pass?
168
+
169
+ ┌─────────┴─────────┐
170
+ ↓ ↓
171
+ VIOLATION ALL OK
172
+ → VETO → APPROVED
173
+ → LIST ISSUES → CAN COMMIT
174
+ ```
175
+
176
+ ---
177
+
178
+ ## Output Format
179
+
180
+ ### Approved
181
+
182
+ ```markdown
183
+ ## FINAL CHECK - APPROVED
184
+
185
+ ### Task Summary
186
+
187
+ - **Type:** Feature
188
+ - **Domain:** [domain]
189
+ - **Files:** X modified
190
+
191
+ ### Verifications
192
+
193
+ - [x] Codebase-Knowledge: Consulted and updated
194
+ - [x] Docs-Tracker: Changelog updated
195
+ - [x] Test-Coverage: Unit 3/3, E2E 2/2 pass
196
+ - [x] UI-UX-Audit: Competitors researched, accessible
197
+ - [x] Security-Scan: No vulnerabilities
198
+ - [x] Quality-Gate: All checks pass
199
+
200
+ **STATUS: APPROVED** - Ready to commit
201
+ ```
202
+
203
+ ### Vetoed
204
+
205
+ ```markdown
206
+ ## FINAL CHECK - VETOED
207
+
208
+ ### Task Summary
209
+
210
+ - **Type:** Feature
211
+ - **Domain:** [domain]
212
+
213
+ ### Violations Found
214
+
215
+ #### ❌ Codebase-Knowledge
216
+
217
+ - **Violation:** Domain NOT updated after implementation
218
+ - **Action:** Update domain file with commit hash
219
+
220
+ #### ❌ Test-Coverage
221
+
222
+ - **Violation:** New file without test
223
+ - **File:** `components/NewComponent.tsx`
224
+ - **Action:** Create E2E spec
225
+
226
+ **STATUS: VETOED** - 2 violations. Fix before commit.
227
+
228
+ ### Next Steps
229
+
230
+ 1. Update domain file
231
+ 2. Create test for new component
232
+ 3. Re-run final-check
233
+ ```
234
+
235
+ ---
236
+
237
+ ## VETO Rules
238
+
239
+ ### IMMEDIATE VETO
240
+
241
+ 1. Security-scan found critical vulnerability
242
+ 2. Quality-gate doesn't pass
243
+ 3. Tests failing
244
+ 4. Codebase-knowledge not updated
245
+
246
+ ### VETO BEFORE MERGE
247
+
248
+ 1. Docs not updated
249
+ 2. Skeleton missing (if new component)
250
+ 3. Changelog not updated
251
+
252
+ ### WARNING (No veto)
253
+
254
+ 1. Coverage below ideal (but critical tests exist)
255
+ 2. Optional docs missing
256
+
257
+ ---
258
+
259
+ ## Quick Command
260
+
261
+ ```bash
262
+ # Run full validation
263
+ bun run typecheck && bun run lint && bun run test && bun run test:e2e && bun run build
264
+
265
+ # If all pass, manually verify:
266
+ # - codebase-knowledge updated?
267
+ # - docs updated?
268
+ # - skeleton created?
269
+ ```
270
+
271
+ ---
272
+
273
+ ## Critical Rules
274
+
275
+ 1. **HAS VETO POWER** - Last barrier before commit
276
+ 2. **VERIFIES EVERYTHING** - All skills, all rules
277
+ 3. **NO EXCUSES** - Rule is rule
278
+ 4. **DOCUMENTS VIOLATIONS** - For learning
279
+
280
+ ---
281
+
282
+ ## Version
283
+
284
+ - **v2.0.0** - Generic template