clavix 5.7.1 → 5.8.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.
@@ -274,7 +274,7 @@ Result: Project permanently deleted
274
274
 
275
275
  ---
276
276
 
277
- ## Agent Transparency (v5.7.1)
277
+ ## Agent Transparency (v5.8.0)
278
278
 
279
279
  ### Agent Manual (Universal Protocols)
280
280
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -524,7 +524,7 @@ I'll explain what's wrong and what you might need to do:
524
524
 
525
525
  ---
526
526
 
527
- ## Agent Transparency (v5.7.1)
527
+ ## Agent Transparency (v5.8.0)
528
528
 
529
529
  ### Agent Manual (Universal Protocols)
530
530
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -522,7 +522,7 @@ Wait for the user to decide what to do next.
522
522
 
523
523
  ---
524
524
 
525
- ## Agent Transparency (v5.7.1)
525
+ ## Agent Transparency (v5.8.0)
526
526
 
527
527
  ### Agent Manual (Universal Protocols)
528
528
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -1,36 +1,36 @@
1
1
  ---
2
2
  name: "Clavix: Plan"
3
- description: Generate implementation task breakdown from PRD
3
+ description: Generate detailed technical implementation tasks from PRD and codebase context
4
4
  ---
5
5
 
6
- # Clavix: Plan Your Tasks
6
+ # Clavix: Plan Your Implementation
7
7
 
8
- I'll turn your PRD into a step-by-step task list. Each task is small enough to tackle in one sitting, organized in the order you should build them.
8
+ I'll turn your PRD into a low-level, technically detailed implementation plan that fits your existing codebase.
9
9
 
10
10
  ---
11
11
 
12
12
  ## What This Does
13
13
 
14
14
  When you run `/clavix:plan`, I:
15
- 1. **Read your PRD** - Understand what needs to be built
16
- 2. **Break it into tasks** - Small, actionable pieces
17
- 3. **Organize into phases** - Logical groupings (setup, core features, polish)
18
- 4. **Create tasks.md** - Your implementation roadmap
19
- 5. **Assign task IDs** - For tracking progress
15
+ 1. **Analyze your Codebase** - Understand your existing architecture, patterns, and stack
16
+ 2. **Read your PRD** - Understand new requirements
17
+ 3. **Bridge the Gap** - Map requirements to specific files and existing components
18
+ 4. **Generate Technical Tasks** - detailed, file-specific instructions
19
+ 5. **Create tasks.md** - Your comprehensive engineering roadmap
20
20
 
21
21
  **I create the plan. I don't build anything yet.**
22
22
 
23
23
  ---
24
24
 
25
- ## CLAVIX MODE: Planning Only
25
+ ## CLAVIX MODE: Technical Planning
26
26
 
27
- **I'm in planning mode. Creating your task breakdown.**
27
+ **I'm in planning mode. Creating your engineering roadmap.**
28
28
 
29
29
  **What I'll do:**
30
- - ✓ Read and understand your PRD
31
- - ✓ Generate structured task breakdown
32
- - ✓ Organize tasks into logical phases
33
- - ✓ Create clear, actionable task descriptions
30
+ - ✓ Analyze existing code structure & patterns
31
+ - ✓ Map PRD features to specific technical implementations
32
+ - ✓ Define exact file paths and signatures
33
+ - ✓ Create "Implementation Notes" for each task
34
34
  - ✓ Save tasks.md for implementation
35
35
 
36
36
  **What I won't do:**
@@ -38,7 +38,7 @@ When you run `/clavix:plan`, I:
38
38
  - ✗ Start implementing features
39
39
  - ✗ Create actual components
40
40
 
41
- **I'm planning what to build, not building it.**
41
+ **I'm planning strictly *how* to build it.**
42
42
 
43
43
  For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
44
44
 
@@ -46,23 +46,22 @@ For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
46
46
 
47
47
  ## Self-Correction Protocol
48
48
 
49
- **DETECT**: If you find yourself doing any of these 6 mistake types:
49
+ **DETECT**: If you find yourself doing any of these mistake types:
50
50
 
51
51
  | Type | What It Looks Like |
52
52
  |------|--------------------|
53
- | 1. Implementation Code | Writing function/class definitions, creating components, generating API endpoints, test files, database schemas, or configuration files for the user's feature |
54
- | 2. Skipping PRD Analysis | Not reading and analyzing the PRD before generating tasks |
55
- | 3. Non-Atomic Tasks | Creating tasks that are too large or vague to be actionable |
56
- | 4. Missing Task IDs | Not assigning proper task IDs and references |
57
- | 5. Missing Phase Organization | Not organizing tasks into logical implementation phases |
58
- | 6. Capability Hallucination | Claiming features Clavix doesn't have, inventing task formats |
53
+ | 1. Generic Tasks | "Create login page" (without specifying file path, library, or pattern) |
54
+ | 2. Ignoring Context | Planning a Redux store when the project uses Zustand, or creating new CSS files when Tailwind is configured |
55
+ | 3. Implementation Code | Writing full function bodies or components during the planning phase |
56
+ | 4. Missing Task IDs | Not assigning proper task IDs for tracking |
57
+ | 5. Capability Hallucination | Claiming features Clavix doesn't have |
59
58
 
60
- **STOP**: Immediately halt the incorrect action
59
+ **STOP**: Immediately halt the incorrect action.
61
60
 
62
61
  **CORRECT**: Output:
63
- "I apologize - I was [describe mistake]. Let me return to task breakdown generation."
62
+ "I apologize - I was [describe mistake]. Let me return to generating specific technical tasks based on the codebase."
64
63
 
65
- **RESUME**: Return to the task breakdown generation workflow with correct approach.
64
+ **RESUME**: Return to the workflow with correct context-aware approach.
66
65
 
67
66
  ---
68
67
 
@@ -70,10 +69,10 @@ For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
70
69
 
71
70
  **Before starting task breakdown, output:**
72
71
  ```
73
- **CLAVIX MODE: Task Planning**
72
+ **CLAVIX MODE: Technical Planning**
74
73
  Mode: planning
75
- Purpose: Generating implementation task breakdown from PRD
76
- Implementation: BLOCKED - I will create tasks, not implement them
74
+ Purpose: Generating low-level engineering tasks from PRD & Codebase
75
+ Implementation: BLOCKED - I will create the plan, not the code
77
76
  ```
78
77
 
79
78
  ---
@@ -82,149 +81,94 @@ Implementation: BLOCKED - I will create tasks, not implement them
82
81
 
83
82
  ### Part A: Agent Execution Protocol
84
83
 
85
- **As an AI agent, you have two execution options:**
86
-
87
- #### **Agent Execution Protocol (v5)**
88
-
89
- 1. **Validate prerequisites**:
90
- - Check if `.clavix/outputs/` directory exists
91
- - Look for PRD artifacts in this order:
92
- 1. **Project directories first**: Check `.clavix/outputs/<project-name>/` folders for `full-prd.md`, `quick-prd.md`, `mini-prd.md`, or `optimized-prompt.md`
93
- 2. **Legacy fallback**: If no project directories found, check `.clavix/outputs/summarize/` for `mini-prd.md` or `optimized-prompt.md` (backwards compatibility)
94
- - **If multiple projects found**: List them and ask user which one to plan
95
- - **If not found**: Error inline - "No PRD found in `.clavix/outputs/`. Use `/clavix:prd` or `/clavix:summarize` first."
96
-
97
- 2. **Read the PRD** from detected location (project directory or legacy `summarize/` folder)
98
-
99
- 3. **Generate task breakdown** following Part B principles
100
-
101
- 4. **Create `tasks.md`** using your Write tool with format specified in "Task Format Reference" below
102
-
103
- 5. **Save to**: `.clavix/outputs/[project-name]/tasks.md`
104
-
105
- 6. **Use exact format** (task IDs, checkboxes, structure)
106
-
107
- #### **Alternative: Generate Tasks Directly** (If agent has full PRD context)
108
-
109
- If you have the full PRD content in memory and want to generate tasks directly:
110
-
111
- 1. **Read the PRD** from `.clavix/outputs/[project-name]/`
112
- 2. **Generate task breakdown** following Part B principles
113
- 3. **Create `tasks.md`** with format specified in "Task Format Reference" below
114
- 4. **Save to**: `.clavix/outputs/[project-name]/tasks.md`
115
- 5. **Use exact format** (task IDs, checkboxes, structure)
116
-
117
- ### Part B: Behavioral Guidance (Task Breakdown Strategy)
118
-
119
- 3. **How to structure tasks** (optimized task breakdown):
120
-
121
- **Task Granularity Principles:**
122
- - **Clarity**: Each task = 1 clear action (not "Build authentication system", but "Create user registration endpoint")
123
- - **Structure**: Tasks flow in implementation order (database schema → backend logic → frontend UI)
124
- - **Actionability**: Tasks specify deliverable (not "Add tests", but "Write unit tests for user service with >80% coverage")
125
-
126
- **Atomic Task Guidelines:**
127
- - **Ideal size**: Completable in 15-60 minutes
128
- - **Too large**: "Implement user authentication" → Break into registration, login, logout, password reset
129
- - **Too small**: "Import React" Combine with "Setup component structure"
130
- - **Dependencies**: If Task B needs Task A, ensure A comes first
131
-
132
- **Phase Organization:**
133
- - Group related tasks into phases (Setup, Core Features, Testing, Polish)
134
- - Each phase should be independently deployable when possible
135
- - Critical path first (must-haves before nice-to-haves)
136
-
137
- **Task Dependency Management:**
138
- - **Explicit ordering**: Tasks within a phase should be ordered by execution sequence
139
- - **Dependency markers**: Use `(depends: task-id)` for explicit dependencies
140
- - **Common dependency patterns**:
141
- - Database schema → Models → API endpoints → UI components
142
- - Authentication → Protected routes → User-specific features
143
- - Core utilities → Features that use them → Integration tests
144
- - **Anti-pattern**: Avoid circular dependencies (A depends on B, B depends on A)
145
- - **Parallel tasks**: If two tasks have no dependencies, they can be worked on simultaneously
146
-
147
- 4. **Review and customize generated tasks**:
148
- - The command will generate `tasks.md` in the PRD folder
149
- - Tasks are organized into logical phases with quality principles
150
- - Each task includes:
151
- - Checkbox `- [ ]` for tracking
152
- - Clear deliverable description
153
- - Optional reference to PRD section `(ref: PRD Section)`
154
- - **You can edit tasks.md** before implementing:
155
- - Add/remove tasks
156
- - Adjust granularity
157
- - Reorder for better flow
158
- - Add notes or sub-tasks
159
-
160
- 5. **Task Quality Labeling** (optional, for education):
161
- When reviewing tasks, you can annotate improvements:
162
- - **[Clarity]**: "Split vague 'Add UI' into 3 concrete tasks"
163
- - **[Structure]**: "Reordered tasks: database schema before API endpoints"
164
- - **[Actionability]**: "Added specific acceptance criteria (>80% test coverage)"
165
-
166
- 6. **Next steps**:
167
- - Review and edit `tasks.md` if needed
168
- - Then run `/clavix:implement` to start implementation
169
-
170
- ## Task Format
171
-
172
- The generated `tasks.md` will look like:
173
-
174
- ```markdown
175
- # Implementation Tasks
176
-
177
- **Project**: [Project Name]
178
- **Generated**: [Timestamp]
179
-
180
- ---
181
-
182
- ## Phase 1: Feature Name
183
-
184
- - [ ] Task 1 description (ref: PRD Section)
185
- Task ID: phase-1-feature-name-1
186
-
187
- - [ ] Task 2 description
188
- Task ID: phase-1-feature-name-2
189
-
190
- - [ ] Task 3 description
191
- Task ID: phase-1-feature-name-3
192
-
193
- ## Phase 2: Another Feature
194
-
195
- - [ ] Task 4 description
196
- Task ID: phase-2-another-feature-1
197
-
198
- - [ ] Task 5 description
199
- Task ID: phase-2-another-feature-2
84
+ **As an AI agent, you must follow this strict sequence:**
85
+
86
+ #### **Phase 1: Context Analysis (CRITICAL)**
87
+ *Before reading the PRD, understand the "Team's Coding Method".*
88
+
89
+ 1. **Scan Directory Structure**:
90
+ - Run `ls -R src` (or relevant folders) to see the file layout.
91
+ 2. **Read Configuration**:
92
+ - Read `package.json` to identify dependencies (React? Vue? Express? Tailwind? Prisma?).
93
+ - Read `tsconfig.json` or similar to understand aliases and strictness.
94
+ 3. **Identify Patterns**:
95
+ - Open 1-2 representative files (e.g., a component, a service, a route).
96
+ - **Determine**:
97
+ - How is state managed? (Context, Redux, Zustand?)
98
+ - How is styling done? (CSS Modules, Tailwind, SCSS?)
99
+ - How are API calls made? (fetch, axios, custom hooks?)
100
+ - Where are types defined?
101
+ 4. **Output Summary**: Briefly state the detected stack (e.g., "Detected: Next.js 14 (App Router), Tailwind, Prisma, Zod").
102
+
103
+ #### **Phase 2: PRD Ingestion**
104
+ 1. **Locate PRD**:
105
+ - Check `.clavix/outputs/<project-name>/` for `full-prd.md`, `quick-prd.md`, etc.
106
+ - If missing, check legacy `.clavix/outputs/summarize/`.
107
+ 2. **Read PRD**: Ingest the requirements.
108
+
109
+ #### **Phase 3: Task Generation**
110
+ 1. **Synthesize**: Combine [PRD Requirements] + [Codebase Patterns].
111
+ 2. **Draft Tasks**: Create tasks that specify *exactly* what to change in the code.
112
+ 3. **Create `tasks.md`**: Use the format in "Task Format Reference".
113
+ 4. **Save to**: `.clavix/outputs/[project-name]/tasks.md`.
114
+
115
+ ### Part B: Behavioral Guidance (Technical Specificity)
116
+
117
+ **Your goal is "Low-Level Engineering Plans", not "High-Level Management Plans".**
118
+
119
+ 1. **Specific File Paths**:
120
+ - **Bad**: "Create a user profile component."
121
+ - **Good**: "Create `src/components/user/UserProfile.tsx`. Export as default."
122
+
123
+ 2. **Technical Constraints**:
124
+ - **Bad**: "Add validation."
125
+ - **Good**: "Use `zod` schema in `src/schemas/user.ts`. Integrate with `react-hook-form`."
126
+
127
+ 3. **Respect Existing Architecture**:
128
+ - If the project uses a `services/` folder for API calls, do **not** put `fetch` calls directly in components.
129
+ - If the project uses `shadcn/ui`, instruct to use those primitives, not raw HTML.
130
+
131
+ 4. **Granularity**:
132
+ - Each task should be a single logical unit of work (approx. 20-40 mins).
133
+ - Separate "Backend API" from "Frontend UI" tasks.
134
+ - Separate "Type Definition" from "Implementation" if complex.
200
135
 
201
136
  ---
202
137
 
203
- *Generated by Clavix /clavix:plan*
204
- ```
205
-
206
- ## Task Format Reference (For Agent-Direct Generation)
138
+ ## Task Format Reference
207
139
 
208
- **If you're generating tasks directly (Option 2), follow this exact format:**
140
+ **You must generate `tasks.md` using this exact format:**
209
141
 
210
142
  ### File Structure
211
143
  ```markdown
212
- # Implementation Tasks
144
+ # Implementation Plan
213
145
 
214
146
  **Project**: {project-name}
215
147
  **Generated**: {ISO timestamp}
216
148
 
149
+ ## Technical Context & Standards
150
+ *Detected Stack & Patterns*
151
+ - **Framework**: {e.g., Next.js 14 App Router}
152
+ - **Styling**: {e.g., Tailwind CSS + shadcn/ui}
153
+ - **State**: {e.g., Zustand (stores in /src/store)}
154
+ - **API**: {e.g., Server Actions + Prisma}
155
+ - **Conventions**: {e.g., "kebab-case files", "Zod for validation"}
156
+
217
157
  ---
218
158
 
219
159
  ## Phase {number}: {Phase Name}
220
160
 
221
- - [ ] {Task description} (ref: {PRD Section})
161
+ - [ ] **{Task Title}** (ref: {PRD Section})
222
162
  Task ID: {task-id}
163
+ > **Implementation**: Create/Edit `{file/path}`.
164
+ > **Details**: {Technical instruction, e.g., "Use `useAuth` hook. Ensure error handling matches `src/utils/error.ts`."}
223
165
 
224
166
  ## Phase {number}: {Next Phase}
225
167
 
226
- - [ ] {Task description}
168
+ - [ ] **{Task Title}**
227
169
  Task ID: {task-id}
170
+ > **Implementation**: Modify `{file/path}`.
171
+ > **Details**: {Specific logic requirements}
228
172
 
229
173
  ---
230
174
 
@@ -232,119 +176,50 @@ The generated `tasks.md` will look like:
232
176
  ```
233
177
 
234
178
  ### Task ID Format
235
-
236
179
  **Pattern**: `phase-{phase-number}-{sanitized-phase-name}-{task-counter}`
180
+ (e.g., `phase-1-setup-01`, `phase-2-auth-03`)
237
181
 
238
- **Rules**:
239
- - Phase number: Sequential starting from 1
240
- - Sanitized phase name: Lowercase, spaces→hyphens, remove special chars
241
- - Task counter: Sequential within phase, starting from 1
242
-
243
- **Examples**:
244
- - Phase "Setup & Configuration" → Task 1 → `phase-1-setup-configuration-1`
245
- - Phase "User Authentication" → Task 3 → `phase-2-user-authentication-3`
246
- - Phase "API Integration" → Task 1 → `phase-3-api-integration-1`
247
-
248
- ### Checkbox Format
249
-
250
- **Always use**: `- [ ]` for incomplete tasks (space between brackets)
251
- **Completed tasks**: `- [x]` (lowercase x, no spaces)
252
-
253
- ### Task Description Format
254
-
255
- **Basic**: `- [ ] {Clear, actionable description}`
256
- **With reference**: `- [ ] {Description} (ref: {PRD Section Name})`
257
- **With dependency**: `- [ ] {Description} (depends: {task-id})`
258
- **Combined**: `- [ ] {Description} (ref: {Section}) (depends: {task-id})`
259
-
260
- **Example**:
261
- ```markdown
262
- - [ ] Create user registration API endpoint (ref: User Management)
263
- Task ID: phase-1-authentication-1
264
-
265
- - [ ] Add JWT token validation middleware (depends: phase-1-authentication-1)
266
- Task ID: phase-1-authentication-2
267
- ```
268
-
269
- ### Task ID Placement
270
-
271
- **Critical**: Task ID must be on the line immediately after the task description
272
- **Format**: ` Task ID: {id}` (2 spaces indent)
273
-
274
- ### Phase Header Format
275
-
276
- **Pattern**: `## Phase {number}: {Phase Name}`
277
- **Must have**: Empty line before and after phase header
278
-
279
- ### File Save Location
280
-
281
- **Path**: `.clavix/outputs/{project-name}/tasks.md`
282
- **Create directory if not exists**: Yes
283
- **Overwrite if exists**: Only with explicit user confirmation or `--overwrite` flag
182
+ ### Checklist Rules
183
+ - Use `- [ ]` for pending.
184
+ - Use `- [x]` for completed.
185
+ - **Implementation Note**: The `> **Implementation**` block is REQUIRED. It forces you to think about *where* the code goes.
284
186
 
285
187
  ---
286
188
 
287
189
  ## After Plan Generation
288
190
 
289
- After creating the task breakdown, I present it and ask for verification:
290
-
291
- **What I'll show:**
292
- - Summary of phases and task count
293
- - First few tasks from each phase
294
- - Any dependencies detected
295
-
296
- **What I'll ask:**
297
- > "Here's your task breakdown. Before you start implementing, please verify:
298
- > 1. Does this capture everything from your PRD?
299
- > 2. Are the tasks in the right order?
300
- > 3. Is the granularity right (not too big, not too small)?
191
+ Present the plan and ask:
192
+ > "I've generated a technical implementation plan based on your PRD and existing codebase (detected: {stack}).
301
193
  >
302
- > What would you like to do next?"
303
-
304
- **Your options:**
305
- 1. Start implementing with `/clavix:implement`
306
- 2. Edit tasks.md to adjust tasks
307
- 3. Regenerate with different granularity
308
- 4. Go back and refine the PRD first
194
+ > **Please Verify**:
195
+ > 1. Did I correctly identify the file structure and patterns?
196
+ > 2. Are the specific file paths correct?
197
+ > 3. Is the order of operations logical (e.g., Database -> API -> UI)?
198
+ >
199
+ > Type `/clavix:implement` to start coding, or tell me what to adjust."
309
200
 
310
201
  ---
311
202
 
312
203
  ## Workflow Navigation
313
204
 
314
- **You are here:** Plan (Task Breakdown)
315
-
316
- **State markers for workflow continuity:**
317
- - If user came from `/clavix:prd`: Full PRD available, use comprehensive task breakdown
318
- - If user came from `/clavix:summarize`: Mini-PRD available, may need simpler task structure
319
- - If PRD has many features: Consider grouping by feature in phases
320
- - If PRD has dependencies: Ensure task ordering reflects them
321
-
322
- **Common workflows:**
323
- - **PRD workflow**: `/clavix:prd` → `/clavix:plan` → `/clavix:implement` → `/clavix:archive`
324
- - **Conversation workflow**: `/clavix:summarize` → `/clavix:plan` → `/clavix:implement` → `/clavix:archive`
325
- - **Standalone**: [Existing PRD] → `/clavix:plan` → Review tasks.md → `/clavix:implement`
205
+ **You are here:** Plan (Technical Task Breakdown)
326
206
 
327
- **After completion, guide user to:**
328
- - `/clavix:implement` - Start executing tasks (recommended next step)
329
- - Edit `tasks.md` - If they want to adjust task order or granularity
207
+ **Pre-requisites**:
208
+ - A PRD (from `/clavix:prd`)
209
+ - An existing codebase (or empty folder structure)
330
210
 
331
- **Related commands:**
332
- - `/clavix:prd` - Generate PRD (typical previous step)
333
- - `/clavix:summarize` - Extract mini-PRD from conversation (alternative previous step)
334
- - `/clavix:implement` - Execute generated tasks (next step)
211
+ **Next Steps**:
212
+ - `/clavix:implement`: Execute the tasks one by one.
213
+ - **Manual Edit**: You can edit `.clavix/outputs/.../tasks.md` directly if you want to change the architecture.
335
214
 
336
- ## Tips
337
-
338
- - Tasks are automatically optimized for clarity, structure, and actionability
339
- - Each task is concise and actionable
340
- - Tasks can reference specific PRD sections
341
- - Supports mini-PRD outputs from `/clavix:summarize`
342
- - You can manually edit tasks.md before implementing
343
- - Use `--overwrite` flag to regenerate if needed
215
+ ## Tips for Agents
216
+ - **Don't guess**. If you don't see a directory, don't reference it.
217
+ - **Check imports**. If `src/components/Button` exists, tell the user to reuse it.
218
+ - **Be pedantic**. Developers prefer specific instructions like "Export interface `User`" over "Create a type".
344
219
 
345
220
  ---
346
221
 
347
- ## Agent Transparency (v5.7.1)
222
+ ## Agent Transparency (v5.8.0)
348
223
 
349
224
  ### Agent Manual (Universal Protocols)
350
225
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -362,99 +237,13 @@ After creating the task breakdown, I present it and ask for verification:
362
237
 
363
238
  ## Troubleshooting
364
239
 
365
- ### Issue: No PRD found in `.clavix/outputs/`
366
- **Cause**: User hasn't generated a PRD yet
367
-
368
- **Agent recovery**:
369
- 1. Check if `.clavix/outputs/` directory exists:
370
- ```bash
371
- ls .clavix/outputs/
372
- ```
373
- 2. If directory doesn't exist or is empty:
374
- - Error: "No PRD artifacts found in `.clavix/outputs/`"
375
- - Suggest recovery options:
376
- - "Generate PRD with `/clavix:prd` for comprehensive planning"
377
- - "Extract mini-PRD from conversation with `/clavix:summarize`"
378
- 3. Do NOT proceed with plan generation without PRD
379
-
380
- ### Issue: Generated tasks are too granular (100+ tasks)
381
- **Cause**: Over-decomposition or large project scope
382
-
383
- **Agent recovery**:
384
- 1. Review generated tasks in `tasks.md`
385
- 2. Identify micro-tasks that can be combined
386
- 3. Options for user:
387
- - **Edit manually**: Combine related micro-tasks into larger atomic tasks
388
- - **Regenerate**: Use `clavix plan --overwrite` after simplifying PRD
389
- - **Split project**: Break into multiple PRDs if truly massive
390
- 4. Guideline: Each task should be 15-60 minutes, not 5 minutes
391
- 5. Combine setup/configuration tasks that belong together
392
-
393
- ### Issue: Generated tasks are too high-level (only 3-4 tasks)
394
- **Cause**: PRD was too vague or task breakdown too coarse
395
-
396
- **Agent recovery**:
397
- 1. Read the PRD to assess detail level
398
- 2. If PRD is vague:
399
- - Suggest: "Let's improve the PRD with `/clavix:improve --comprehensive` first"
400
- - Then regenerate tasks with `clavix plan --overwrite`
401
- 3. If PRD is detailed but tasks are high-level:
402
- - Manually break each task into 3-5 concrete sub-tasks
403
- - Or regenerate with more explicit decomposition request
404
- 4. Each task should have clear, testable deliverable
405
-
406
- ### Issue: Tasks don't follow logical dependency order
407
- **Cause**: Generator didn't detect dependencies correctly OR agent-generated tasks weren't ordered
408
-
409
- **Agent recovery**:
410
- 1. Review task order in `tasks.md`
411
- 2. Identify dependency violations:
412
- - Database schema should precede API endpoints
413
- - API endpoints should precede UI components
414
- - Authentication should precede protected features
415
- 3. Manually reorder tasks in `tasks.md`:
416
- - Cut and paste tasks to correct order
417
- - Preserve task ID format
418
- - Maintain phase groupings
419
- 4. Follow structure principle: ensure sequential coherence
420
-
421
- ### Issue: Tasks conflict with PRD or duplicate work
422
- **Cause**: Misinterpretation of PRD or redundant task generation
423
-
424
- **Agent recovery**:
425
- 1. Read PRD and tasks.md side-by-side
426
- 2. Identify conflicts or duplicates
427
- 3. Options:
428
- - **Remove duplicates**: Delete redundant tasks from tasks.md
429
- - **Align with PRD**: Edit task descriptions to match PRD requirements
430
- - **Clarify PRD**: If PRD is ambiguous, update it first
431
- - **Regenerate**: Use `clavix plan --overwrite` after fixing PRD
432
- 4. Ensure each PRD feature maps to tasks
433
-
434
- ### Issue: `tasks.md` already exists, unsure if should regenerate
435
- **Cause**: Previous plan exists for this PRD
436
-
437
- **Agent recovery**:
438
- 1. Read existing `tasks.md`
439
- 2. Count completed tasks (check for `[x]` checkboxes)
440
- 3. Decision tree:
441
- - **No progress** (all `[ ]`): Safe to use `clavix plan --overwrite`
442
- - **Some progress**: Ask user before overwriting
443
- - "Tasks.md has {X} completed tasks. Regenerating will lose this progress. Options:
444
- 1. Keep existing tasks.md and edit manually
445
- 2. Overwrite and start fresh (progress lost)
446
- 3. Cancel plan generation"
447
- - **Mostly complete**: Recommend NOT overwriting
448
- 4. If user confirms overwrite: Run `clavix plan --project {name} --overwrite`
449
-
450
- ### Issue: CLI command fails or no output
451
- **Cause**: Missing dependencies, corrupted PRD file, or CLI error
452
-
453
- **Agent recovery**:
454
- 1. Check CLI error output
455
- 2. Common fixes:
456
- - Verify PRD file exists and is readable
457
- - Check `.clavix/outputs/{project}/` has valid PRD
458
- - Verify project name is correct (no typos)
459
- 3. Try with explicit project: `clavix plan --project {exact-name}`
460
- 4. If persistent: Inform user to check Clavix installation
240
+ ### Issue: "I don't know the codebase"
241
+ **Cause**: Agent skipped Phase 1 (Context Analysis).
242
+ **Fix**: Force the agent to run `ls -R` and read `package.json` before generating tasks.
243
+
244
+ ### Issue: Tasks are too generic ("Add Auth")
245
+ **Cause**: Agent ignored the "Implementation Note" requirement.
246
+ **Fix**: Regenerate with: "Refine the plan. Add specific file paths and implementation details to every task."
247
+
248
+ ### Issue: No PRD found
249
+ **Fix**: Run `/clavix:prd` first.
@@ -344,7 +344,7 @@ The validation ensures generated PRDs are immediately usable for AI consumption
344
344
 
345
345
  ---
346
346
 
347
- ## Agent Transparency (v5.7.1)
347
+ ## Agent Transparency (v5.8.0)
348
348
 
349
349
  ### Agent Manual (Universal Protocols)
350
350
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -415,7 +415,7 @@ I'll update the PRD and add this to the refinement history. Confirm?
415
415
 
416
416
  ---
417
417
 
418
- ## Agent Transparency (v5.7.1)
418
+ ## Agent Transparency (v5.8.0)
419
419
 
420
420
  ### Agent Manual (Universal Protocols)
421
421
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -226,7 +226,7 @@ The goal is natural exploration of requirements, not a rigid questionnaire. Foll
226
226
 
227
227
  ---
228
228
 
229
- ## Agent Transparency (v5.7.1)
229
+ ## Agent Transparency (v5.8.0)
230
230
 
231
231
  ### Agent Manual (Universal Protocols)
232
232
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -401,7 +401,7 @@ The `/clavix:summarize` command extracts requirements from exploratory conversat
401
401
 
402
402
  ---
403
403
 
404
- ## Agent Transparency (v5.7.1)
404
+ ## Agent Transparency (v5.8.0)
405
405
 
406
406
  ### Agent Manual (Universal Protocols)
407
407
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -1,378 +1,129 @@
1
1
  ---
2
- name: "Clavix: Verify Implementation"
3
- description: Verify implementation against requirements with comprehensive quality assessment
2
+ name: "Clavix: Verify"
3
+ description: Perform a spec-driven technical audit, generating actionable review comments
4
4
  ---
5
5
 
6
- # Clavix: Check Your Work
6
+ # Clavix: Verification & Audit
7
7
 
8
- Built something? Great! Let me check that everything works as expected. I'll run tests, verify features, and give you a clear report on what's ready and what might need a tweak.
8
+ I will perform a **Spec-Driven Technical Audit** of your implementation. I don't just "run tests"—I verify that your code matches the **Plan** (`tasks.md`) and the **Requirements** (`full-prd.md`).
9
9
 
10
10
  ---
11
11
 
12
12
  ## What This Does
13
13
 
14
- When you run `/clavix:verify`, I:
15
- 1. **Find what you built** - Auto-detect the prompt or tasks you implemented
16
- 2. **Run all the checks** - Tests, builds, linting, and more
17
- 3. **Verify the features** - Make sure everything from your requirements works
18
- 4. **Give you a clear report** - What passed, what failed, what needs attention
19
- 5. **Help you fix issues** - Specific suggestions for anything that needs work
14
+ When you run `/clavix:verify`, I act as a **Senior Code Reviewer**. I compare *what was built* against *what was planned*.
20
15
 
21
- **I check everything:**
22
- - Tests pass, code compiles, no linting errors
23
- - All your requirements are actually implemented
24
- - Features work together properly
25
- - Edge cases are handled
26
- - Performance is reasonable
16
+ 1. **Load the Spec**: I read the `full-prd.md` and `tasks.md` to understand the *requirements* and *technical design*.
17
+ 2. **Read the Code**: I inspect the actual source files associated with completed tasks.
18
+ 3. **Compare & Analyze**: I check for:
19
+ * **Implementation Accuracy**: Does the code follow the "Implementation Notes" from the plan?
20
+ * **Requirements Coverage**: Are all PRD requirements for this feature met?
21
+ * **Code Quality**: Are there hardcoded values, type errors, or architectural violations?
22
+ 4. **Generate Review Comments**: I output a structured list of issues (Critical, Major, Minor) for you to address.
27
23
 
28
24
  ---
29
25
 
30
- ## CLAVIX MODE: Verification
26
+ ## CLAVIX MODE: Technical Auditor
31
27
 
32
- **I'm in verification mode. Checking your work, not changing it.**
28
+ **I'm in Audit Mode.**
33
29
 
34
30
  **What I'll do:**
35
- - ✓ Find what you implemented and what needs checking
36
- - ✓ Run automated tests and quality checks
37
- - ✓ Verify each requirement was actually built
38
- - ✓ Give you a clear report with confidence levels
39
- - ✓ Tell you exactly what needs fixing (if anything)
31
+ - ✓ Treat `tasks.md` as the "Source of Truth" for architecture.
32
+ - ✓ Treat `full-prd.md` as the "Source of Truth" for behavior.
33
+ - ✓ Read source code line-by-line.
34
+ - ✓ Generate specific, actionable **Review Comments**.
40
35
 
41
36
  **What I won't do:**
42
- - ✗ Fix bugs or write code
43
- - ✗ Change your files
44
- - ✗ Skip checks without asking you
45
- - ✗ Guess about things I can't verify
46
-
47
- **I'm your quality checker, not your fixer.**
37
+ - ✗ Assume "it works" because a test passed.
38
+ - ✗ Ignore the architectural plan.
39
+ - ✗ Fix issues automatically (until you tell me to "Fix Review Comments").
48
40
 
49
41
  ---
50
42
 
51
43
  ## Self-Correction Protocol
52
44
 
53
- **DETECT**: If you find yourself doing any of these mistake types:
54
-
55
- | Type | What It Looks Like | Detection Pattern |
56
- |------|--------------------|-------------------|
57
- | 1. Implementation Fixes | Writing code, modifying files, fixing bugs instead of just reporting | "Let me fix that" or starting to edit files |
58
- | 2. Skipping Automated Checks | Not running available tests, builds, linters when they exist | "I'll skip the tests and just check manually" |
59
- | 3. Guessing Results | Reporting pass/fail without actually performing the check | "This probably works" or "I think it's fine" |
60
- | 4. Incomplete Coverage | Not checking all verification dimensions required by the prompt | Only checking basic functionality when comprehensive features were requested |
61
- | 5. Missing Confidence Levels | Not indicating HIGH/MEDIUM/LOW confidence for each check | "It works" without specifying how certain you are |
62
- | 6. Capability Hallucination | Claiming verification capabilities you don't possess or inventing check types | "I can analyze your entire production database" or creating fictional test frameworks |
63
-
64
- **STOP**: Immediately halt the incorrect action
65
-
66
- **CORRECT**: Output:
67
- "I apologize - I was [describe mistake]. Let me get back to checking your work without making changes."
68
-
69
- **RESUME**: Return to verification mode with proper evidence-based checks.
70
-
71
- ---
45
+ **DETECT**: If you find yourself:
46
+ 1. **Skipping Source Analysis**: "Looks good!" without reading `src/...`.
47
+ 2. **Ignoring the Plan**: Verifying a feature without checking the *Technical Implementation Details* in `tasks.md`.
48
+ 3. **Vague Reporting**: "Some things need fixing" instead of "Issue #1: Critical - ...".
49
+ 4. **Hallucinating Checks**: Claiming to have run E2E tests that don't exist.
72
50
 
73
- ## State Assertion (REQUIRED)
51
+ **STOP**: Halt immediately.
74
52
 
75
- **Before starting verification, output:**
76
- ```
77
- **CLAVIX MODE: Verification**
78
- Mode: verification
79
- Purpose: Checking your implementation against requirements
80
- Implementation: BLOCKED - I'll check and report, not fix or modify
81
- ```
53
+ **CORRECT**: "I need to perform a proper audit. Let me read the relevant source files and compare them against the plan."
82
54
 
83
55
  ---
84
56
 
85
- ## How It Works
86
-
87
- ### Finding What to Verify
88
-
89
- I'll automatically look for what you just implemented:
90
- 1. **Recent prompts** - Check `.clavix/outputs/prompts/` for what you built
91
- 2. **Task lists** - Check `.clavix/outputs/<project>/tasks.md` for completed tasks
92
- 3. **Legacy stuff** - Check old `summarize/tasks.md` location if needed
93
- 4. **Ask you** - If I find multiple things, I'll ask which to verify
94
-
95
- **You'll see:**
96
- ```
97
- Found your implementation: [brief description]
98
- Starting verification checks...
99
- ```
100
-
101
- ### What I Check
102
-
103
- #### Automated Checks (I Run These)
104
-
105
- Things I can verify automatically by running commands:
57
+ ## Instructions
106
58
 
107
- **Tests & Builds:**
108
- - Run your test suite (`npm test`, `pytest`, etc.)
109
- - Build/compile your code
110
- - Check for linting errors
111
- - Verify type safety (TypeScript, mypy, etc.)
112
- - Scan for security vulnerabilities
113
- - Run integration tests if you have them
59
+ ### Phase 1: Scope & Context
60
+ 1. **Identify Completed Work**: Read `.clavix/outputs/[project]/tasks.md`. Look for checked `[x]` items in the current phase.
61
+ 2. **Load Requirements**: Read `.clavix/outputs/[project]/full-prd.md`.
62
+ 3. **Load Code**: Read the files referenced in the "Implementation" notes of the completed tasks.
114
63
 
115
- **What you'll see:**
116
- ```
117
- Running tests...
118
- All 23 tests passed
119
-
120
- Building code...
121
- ✅ Clean build, no errors
64
+ ### Phase 2: The Audit (Comparison)
65
+ Perform a **gap analysis**:
66
+ * **Plan vs. Code**: Did they use the library/pattern specified? (e.g., "Used `fetch` but Plan said `UserService`").
67
+ * **PRD vs. Code**: Is the business logic (validation, edge cases) present?
68
+ * **Code vs. Standards**: Are there hardcoded secrets? `any` types? Console logs?
122
69
 
123
- Checking code quality...
124
- No linting issues
70
+ ### Phase 3: The Review Report
71
+ Output a structured **Review Board**. Do not write a wall of text. Use the "Review Comment" format.
125
72
 
126
- Confidence: HIGH (I actually ran these)
127
- ```
128
-
129
- #### Checks I Do With You
130
-
131
- Things I can analyze but need your input on:
132
-
133
- **Requirements Coverage:**
134
- - Did I build all the features you asked for?
135
- - Does the implementation match what you wanted?
136
- - Are there missing pieces?
137
-
138
- **User Experience:**
139
- - Does the interface work smoothly?
140
- - Are there console errors or warnings?
141
- - Does it feel right to use?
142
-
143
- **Integration & Performance:**
144
- - Do API calls work correctly?
145
- - Is performance acceptable?
146
- - Does it handle real-world data?
147
-
148
- **You'll see:**
149
- ```
150
- Checking requirements coverage...
151
- Found all 5 requested features implemented.
152
-
153
- Does the login flow work as you expected? (yes/no)
154
- ```
155
-
156
- #### Things You Tell Me
157
-
158
- Some things only you can verify:
159
-
160
- - Does it solve your original problem?
161
- - Are the business rules correct?
162
- - Do edge cases work properly?
163
- - Is it ready for production?
164
- - Is documentation good enough?
165
-
166
- ### Understanding Your Results
167
-
168
- **What the symbols mean:**
169
-
170
- | Symbol | Status | What It Means |
171
- |--------|--------|---------------|
172
- | ✅ | Passed | This check is good |
173
- | ❌ | Failed | Needs fixing |
174
- | ⏭️ | Skipped | Check this later |
175
- | ➖ | N/A | Doesn't apply to your project |
176
-
177
- **Confidence levels:**
178
- - **HIGH** - I ran tests/commands, saw the results
179
- - **MEDIUM** - I analyzed code and got your confirmation
180
- - **LOW** - Based on what you told me
181
-
182
- **Example report:**
183
- ```
184
- Verification Complete: User Authentication
185
-
186
- ✅ AUTOMATED CHECKS
187
- Tests: 23/23 passed
188
- Build: Clean, no errors
189
- Linting: No issues
190
- Type Safety: All good
191
-
192
- ⚠️ REQUIREMENTS COVERAGE
193
- ✅ User registration works
194
- ✅ Login/logout works
195
- ❌ Password reset missing
196
- ✅ Session management works
197
-
198
- 📝 YOUR INPUT NEEDED
199
- Business Logic: You confirmed it's correct
200
- Ready for production: You said yes
201
-
202
- OVERALL: 85% - Ready with minor improvements
203
- STATUS: Address password reset before launch
204
- ```
73
+ #### Review Comment Categories
74
+ * 🔴 **CRITICAL**: Architectural violation, security risk, or feature completely broken/missing. **Must fix.**
75
+ * 🟠 **MAJOR**: Logic error, missing edge case handling, or deviation from PRD. **Should fix.**
76
+ * 🟡 **MINOR**: Code style, naming, comments, or minor optimization. **Optional.**
77
+ * ⚪ **OUTDATED**: The code is correct, but the Plan/PRD was wrong. **Update Plan.**
205
78
 
206
79
  ---
207
80
 
208
- ## When Things Fail
209
-
210
- ### Don't Panic
211
-
212
- Failed checks are normal. They just tell you what needs work.
213
-
214
- **Critical issues (must fix before shipping):**
215
- - ❌ Tests failing
216
- - ❌ Code won't build
217
- - ❌ Type errors
218
- - ❌ Missing core features
219
-
220
- **Nice to fix (but not blockers):**
221
- - ⚠️ Linting warnings
222
- - ⚠️ Performance could be better
223
- - ⚠️ Documentation is thin
224
- - ⚠️ Edge cases need work
81
+ ## Output Format: The Review Board
225
82
 
226
- **When something fails, I'll:**
227
- 1. Tell you exactly what's wrong
228
- 2. Suggest how to fix it
229
- 3. Offer to re-check after you make changes
230
- 4. Point you to help if it's complex
83
+ ```markdown
84
+ # Verification Report: [Phase Name / Feature]
231
85
 
232
- ### Common Issues
86
+ **Spec**: `tasks.md` (Phase X) | **Status**: [Pass/Fail/Warnings]
233
87
 
234
- **Example 1: Tests are failing**
235
- ```
236
- ❌ Tests failed: 3 of 23 integration tests
237
-
238
- Error: "User authentication endpoint not found"
239
-
240
- What to check:
241
- 1. Are your auth routes set up correctly?
242
- 2. Is the API endpoint configured right?
243
- 3. Try running tests individually to see more details
244
-
245
- When you've fixed it: Just run /clavix:verify again
246
- ```
247
-
248
- **Example 2: Missing features**
249
- ```
250
- ⚠️ Found 2 features from your requirements that aren't implemented:
251
-
252
- - Password reset functionality
253
- - Admin user management
254
-
255
- These were in your original requirements. Want to:
256
- - Build them now?
257
- - Remove them from requirements?
258
- - Ship without them for now?
259
- ```
88
+ ## 🔍 Review Comments
260
89
 
261
- **Example 3: Performance concerns**
262
- ```
263
- ⚠️ Performance could be better:
90
+ | ID | Severity | Location | Issue |
91
+ |:--:|:--------:|:---------|:------|
92
+ | #1 | 🔴 CRIT | `src/auth.ts` | **Architecture Violation**: Direct `axios` call used. Plan specified `apiClient` singleton. |
93
+ | #2 | 🟠 MAJOR | `src/Login.tsx` | **Missing Req**: "Forgot Password" link missing (PRD 3.1). |
94
+ | #3 | 🟡 MINOR | `src/Login.tsx` | **Hardcoded**: String "Welcome" should be in i18n/constants. |
264
95
 
265
- - Bundle size: 2.3MB (a bit large, recommended < 1MB)
266
- - Found some slow database queries
267
- - Page load: 4.2s (could be faster)
96
+ ## 🛠️ Recommended Actions
268
97
 
269
- These aren't blockers, but here's how to improve:
270
- - Split your code into smaller chunks
271
- - Optimize those database queries
272
- - Use lazy loading for heavy components
98
+ - **Option A**: `Fix all critical` (Recommended)
99
+ - **Option B**: `Fix #1 and #2`
100
+ - **Option C**: `Mark #1 as outdated` (If you changed your mind about the architecture)
273
101
  ```
274
102
 
275
103
  ---
276
104
 
277
- ## Extra Verification Options
278
-
279
- ### Comprehensive Mode
280
-
281
- If you used `/clavix:improve --comprehensive` for your prompt, I'll do deeper checks:
282
- - More thorough edge case testing
283
- - Performance benchmarking
284
- - Security vulnerability scanning
285
- - Accessibility checks (WCAG compliance)
286
- - Cross-browser testing recommendations
287
-
288
- ### Project-Specific Checks
289
-
290
- I adjust what I check based on what you're building:
291
-
292
- **Web Apps:**
293
- - Responsive design (works on mobile?)
294
- - Browser compatibility
295
- - Accessibility basics
296
- - SEO optimization
297
-
298
- **APIs:**
299
- - All endpoints working?
300
- - Auth/security correct?
301
- - Rate limiting in place?
302
- - API docs complete?
303
-
304
- **Mobile Apps:**
305
- - Platform guidelines followed?
306
- - Performance optimized?
307
- - Battery usage reasonable?
308
- - Ready for app store?
309
-
310
- ---
311
-
312
- ## After Verification
105
+ ## Fixing Workflow (The Loop)
313
106
 
314
- ### Everything Passed! 🎉
107
+ When the user says "Fix #1" or "Fix all critical":
108
+ 1. **Acknowledge**: "Fixing Review Comment #1..."
109
+ 2. **Implement**: Modify the code to resolve the specific issue.
110
+ 3. **Re-Verify**: Run a **Focused Verification** on just that file/issue to ensure it's resolved.
315
111
 
316
- When all checks pass, I'll tell you:
112
+ ----
317
113
 
318
- ```
319
- All checks passed! Your implementation is solid.
320
-
321
- What would you like to do next?
322
- 1. Archive this project with /clavix:archive
323
- 2. Keep working on improvements
324
- 3. Review specific items in detail
325
- ```
326
-
327
- ### Some Things Failed
328
-
329
- When there are issues, I'll be specific:
114
+ ## State Assertion (REQUIRED)
330
115
 
116
+ **Before starting verification, output:**
331
117
  ```
332
- Found 2 things that need attention:
333
-
334
- Password reset feature is missing
335
- Loading states could be better
336
-
337
- What would you like to do?
338
- 1. Fix these now (I can help)
339
- 2. Fix them later
340
- 3. Ship without them (if not critical)
341
- 4. Archive anyway
118
+ **CLAVIX MODE: Verification**
119
+ Mode: verification
120
+ Purpose: Spec-driven technical audit against requirements and implementation plan
121
+ Implementation: BLOCKED - I'll analyze and report, not modify or fix
342
122
  ```
343
123
 
344
- ### Want to Check Again?
345
-
346
- After you fix things:
347
- - Run `/clavix:verify` again for a full check
348
- - Or use `/clavix:verify --retry-failed` to just re-check what failed
349
-
350
- No rush! Fix things at your own pace.
351
-
352
- ---
124
+ ----
353
125
 
354
- ## Workflow Navigation
355
-
356
- **You are here:** Verify (checking your work)
357
-
358
- **How you got here:**
359
- 1. `/clavix:improve` → Made your prompt better
360
- 2. `/clavix:implement` → Built what you needed
361
- 3. **`/clavix:verify`** → Now checking it works (you are here)
362
-
363
- **What's next:**
364
- - Fix any issues → Run `/clavix:verify` again
365
- - Everything good → `/clavix:archive` to wrap up
366
- - Need help fixing → I can guide you
367
-
368
- **Related commands:**
369
- - `/clavix:implement` - Go back and fix issues
370
- - `/clavix:archive` - Archive when done
371
- - `/clavix:verify --retry-failed` - Just re-check what failed
372
-
373
- ---
374
-
375
- ## Agent Transparency (v5.7.1)
126
+ ## Agent Transparency (v5.8.0)
376
127
 
377
128
  ### Agent Manual (Universal Protocols)
378
129
  {{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
@@ -397,21 +148,7 @@ No rush! Fix things at your own pace.
397
148
 
398
149
  ---
399
150
 
400
- ## Tips for Smooth Verification
401
-
402
- **Before you verify:**
403
- - Make sure you're actually done building
404
- - Run tests yourself first (quick sanity check)
405
- - Have your app running if I need to check the UI
406
-
407
- **During verification:**
408
- - Be honest - if something doesn't work, say so
409
- - Ask questions if a check doesn't make sense
410
- - It's okay to skip some checks and come back later
411
-
412
- **After verification:**
413
- - Fix critical stuff first (tests, builds, core features)
414
- - Use `--retry-failed` to just re-check what you fixed
415
- - Don't stress perfection - good enough is often good enough to ship
416
-
417
- **Remember:** I'm just checking, not judging. Failed checks help you ship better work!
151
+ ## Tips for the Agent
152
+ * **Be Strict**: You are the gatekeeper of quality. It's better to be annoying about an architectural violation now than to let technical debt slide.
153
+ * **Be Specific**: Never say "fix the code". Say "Import `apiClient` from `@/utils/api` and replace line 42."
154
+ * **Trust the Code**: If the code says `console.log`, and the plan says "No logs", that is a defect.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavix",
3
- "version": "5.7.1",
3
+ "version": "5.8.0",
4
4
  "description": "Agentic-first prompt workflows. Markdown templates that teach AI agents how to optimize prompts, create PRDs, and manage implementation.\n\nSLASH COMMANDS (in your AI assistant):\n /clavix:improve Optimize prompts with auto-depth\n /clavix:prd Generate PRD through questions\n /clavix:plan Create task breakdown from PRD\n /clavix:implement Execute tasks with progress tracking\n /clavix:start Begin conversational session\n /clavix:summarize Extract requirements from conversation\n /clavix:refine Refine existing PRD or prompt\n /clavix:verify Verify implementation against requirements\n /clavix:archive Archive completed projects\n\nWorks with Claude Code, Cursor, Windsurf, and 20 AI coding tools.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",