clavix 4.8.1 → 4.9.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.
- package/dist/templates/slash-commands/_canonical/archive.md +67 -81
- package/dist/templates/slash-commands/_canonical/deep.md +40 -34
- package/dist/templates/slash-commands/_canonical/execute.md +187 -155
- package/dist/templates/slash-commands/_canonical/fast.md +33 -24
- package/dist/templates/slash-commands/_canonical/implement.md +283 -301
- package/dist/templates/slash-commands/_canonical/plan.md +33 -17
- package/dist/templates/slash-commands/_canonical/prd.md +36 -21
- package/dist/templates/slash-commands/_canonical/start.md +34 -33
- package/dist/templates/slash-commands/_canonical/summarize.md +39 -47
- package/dist/templates/slash-commands/_canonical/verify.md +324 -186
- package/dist/templates/slash-commands/_components/agent-protocols/cli-reference.md +202 -0
- package/dist/templates/slash-commands/_components/agent-protocols/error-handling.md +145 -88
- package/dist/templates/slash-commands/_components/agent-protocols/supportive-companion.md +216 -0
- package/dist/templates/slash-commands/_components/agent-protocols/task-blocking.md +224 -0
- package/dist/templates/slash-commands/_components/references/quality-dimensions.md +152 -44
- package/dist/templates/slash-commands/_components/sections/conversation-examples.md +302 -0
- package/dist/templates/slash-commands/_components/sections/escalation-factors.md +119 -87
- package/dist/templates/slash-commands/_components/sections/improvement-explanations.md +171 -0
- package/dist/templates/slash-commands/_components/sections/pattern-impact.md +208 -0
- package/dist/templates/slash-commands/_components/sections/prd-examples.md +289 -0
- package/dist/templates/slash-commands/_components/troubleshooting/vibecoder-recovery.md +223 -0
- package/package.json +1 -1
|
@@ -3,47 +3,69 @@ name: "Clavix: Archive"
|
|
|
3
3
|
description: Archive completed PRD projects
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Clavix Archive
|
|
6
|
+
# Clavix: Archive Your Completed Work
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Done with a project? I'll move it to the archive to keep your workspace tidy. You can always restore it later if needed.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
---
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## What This Does
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
When you run `/clavix:archive`, I:
|
|
15
|
+
1. **Find your completed projects** - Look for 100% done PRDs
|
|
16
|
+
2. **Ask which to archive** - You pick, or I archive all completed ones
|
|
17
|
+
3. **Move to archive folder** - Out of the way but not deleted
|
|
18
|
+
4. **Track everything** - So you can restore later if needed
|
|
15
19
|
|
|
16
|
-
**
|
|
20
|
+
**Your work is never deleted, just organized.**
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## CLAVIX MODE: Archival
|
|
25
|
+
|
|
26
|
+
**I'm in archival mode. Organizing your completed work.**
|
|
27
|
+
|
|
28
|
+
**What I'll do:**
|
|
29
|
+
- ✓ Find projects ready for archive
|
|
30
|
+
- ✓ Show you what's complete (100% tasks done)
|
|
31
|
+
- ✓ Move projects to archive when you confirm
|
|
32
|
+
- ✓ Track everything so you can restore later
|
|
33
|
+
|
|
34
|
+
**What I won't do:**
|
|
35
|
+
- ✗ Delete anything without explicit confirmation
|
|
36
|
+
- ✗ Archive projects you're still working on (unless you use --force)
|
|
37
|
+
- ✗ Make decisions for you - you pick what to archive
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## How I Archive Projects
|
|
42
|
+
|
|
43
|
+
**I handle all the commands - you just tell me what to do.**
|
|
22
44
|
|
|
23
|
-
|
|
24
|
-
- Prompt user for project selection
|
|
25
|
-
- Validate task completion status
|
|
26
|
-
- Handle file operations safely
|
|
27
|
-
- Update state tracking
|
|
45
|
+
### What I Run (You Don't Need To)
|
|
28
46
|
|
|
29
|
-
|
|
47
|
+
| What You Want | Command I Execute |
|
|
48
|
+
|---------------|-------------------|
|
|
49
|
+
| Archive completed project | `clavix archive` |
|
|
50
|
+
| Archive specific project | `clavix archive [name]` |
|
|
51
|
+
| Archive incomplete work | `clavix archive [name] --force` |
|
|
52
|
+
| Delete permanently | `clavix archive [name] --delete` |
|
|
53
|
+
| See what's archived | `clavix archive --list` |
|
|
54
|
+
| Restore from archive | `clavix archive --restore [name]` |
|
|
30
55
|
|
|
31
|
-
|
|
32
|
-
- **Specific project**: `clavix archive [project-name]`
|
|
33
|
-
- **Force archive incomplete**: `clavix archive [project-name] --force`
|
|
34
|
-
- **Permanent delete**: `clavix archive [project-name] --delete`
|
|
35
|
-
- **List archived**: `clavix archive --list`
|
|
36
|
-
- **Restore**: `clavix archive --restore [project-name]`
|
|
56
|
+
### Before I Archive
|
|
37
57
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
58
|
+
I check:
|
|
59
|
+
- ✓ Projects exist in `.clavix/outputs/`
|
|
60
|
+
- ✓ What you want to do (archive, delete, restore)
|
|
61
|
+
- ✓ Project name is correct
|
|
42
62
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
63
|
+
### After Archiving
|
|
64
|
+
|
|
65
|
+
I tell you:
|
|
66
|
+
- Where the project went
|
|
67
|
+
- How to restore it (unless you deleted it)
|
|
68
|
+
- What to do next
|
|
47
69
|
|
|
48
70
|
### Part B: Understanding Archive Operations
|
|
49
71
|
|
|
@@ -238,57 +260,21 @@ User types: api-experiment-1
|
|
|
238
260
|
Result: Project permanently deleted from .clavix/outputs/api-experiment-1/
|
|
239
261
|
```
|
|
240
262
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
- **Interactive selection**: `clavix archive` (let user pick from list)
|
|
257
|
-
- **Specific project**: `clavix archive [project-name]`
|
|
258
|
-
- **Force incomplete**: `clavix archive [project-name] --force`
|
|
259
|
-
- **List archived**: `clavix archive --list`
|
|
260
|
-
- **Restore**: `clavix archive --restore [project-name]`
|
|
261
|
-
- **Delete**: `clavix archive [project-name] --delete` (with extra caution)
|
|
262
|
-
|
|
263
|
-
4. **Confirm before archiving**:
|
|
264
|
-
- If using specific project mode, confirm project name with user
|
|
265
|
-
- Mention the archive location (`.clavix/outputs/archive/`)
|
|
266
|
-
- Explain that restoration is possible
|
|
267
|
-
|
|
268
|
-
5. **Use --force cautiously**:
|
|
269
|
-
- Only when user explicitly wants to archive incomplete work
|
|
270
|
-
- Run command and let CLI show incomplete task count
|
|
271
|
-
- CLI will ask for user confirmation
|
|
272
|
-
- Explain they won't lose data (just moving location)
|
|
273
|
-
|
|
274
|
-
6. **Suggest restoration when appropriate**:
|
|
275
|
-
- If user mentions old/past work, check archive first
|
|
276
|
-
- Run `clavix archive --list` to show what's archived
|
|
277
|
-
- Offer to restore if needed via `clavix archive --restore [project]`
|
|
278
|
-
|
|
279
|
-
7. **Handle delete requests with extreme caution**:
|
|
280
|
-
- Always ask: "Do you want to DELETE (permanent) or ARCHIVE (safe)?"
|
|
281
|
-
- Explain that delete is permanent and irreversible
|
|
282
|
-
- Suggest archive as the safer default
|
|
283
|
-
- Use decision tree to help user decide
|
|
284
|
-
- Only run `--delete` after clear confirmation from user
|
|
285
|
-
- Double-check it's truly no-value content (failed experiments, duplicates, test data)
|
|
286
|
-
- CLI will require typing project name to confirm - this is expected
|
|
287
|
-
|
|
288
|
-
8. **After CLI execution**:
|
|
289
|
-
- Communicate success/failure clearly
|
|
290
|
-
- Mention next steps (e.g., "Project archived, you can restore with `/clavix:archive --restore`")
|
|
291
|
-
- If error occurs, explain and suggest recovery options
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## Agent Transparency (v4.9)
|
|
266
|
+
|
|
267
|
+
### CLI Reference (Commands I Execute)
|
|
268
|
+
{{INCLUDE:agent-protocols/cli-reference.md}}
|
|
269
|
+
|
|
270
|
+
### Error Handling
|
|
271
|
+
{{INCLUDE:agent-protocols/error-handling.md}}
|
|
272
|
+
|
|
273
|
+
### Recovery Patterns
|
|
274
|
+
{{INCLUDE:troubleshooting/vibecoder-recovery.md}}
|
|
275
|
+
|
|
276
|
+
### Agent Decision Rules
|
|
277
|
+
{{INCLUDE:agent-protocols/decision-rules.md}}
|
|
292
278
|
|
|
293
279
|
## Workflow Navigation
|
|
294
280
|
|
|
@@ -207,30 +207,35 @@ Deep mode provides **Clavix Intelligence™** with comprehensive analysis that g
|
|
|
207
207
|
|
|
208
208
|
---
|
|
209
209
|
|
|
210
|
-
## Agent Transparency (v4.
|
|
210
|
+
## Agent Transparency (v4.9)
|
|
211
211
|
|
|
212
|
-
###
|
|
213
|
-
{{INCLUDE:
|
|
212
|
+
### How to Explain Improvements
|
|
213
|
+
{{INCLUDE:sections/improvement-explanations.md}}
|
|
214
|
+
|
|
215
|
+
### Quality Dimensions (Plain English)
|
|
216
|
+
{{INCLUDE:references/quality-dimensions.md}}
|
|
217
|
+
|
|
218
|
+
### When to Recommend PRD Mode
|
|
219
|
+
{{INCLUDE:sections/escalation-factors.md}}
|
|
220
|
+
|
|
221
|
+
### What Made the Biggest Difference
|
|
222
|
+
{{INCLUDE:sections/pattern-impact.md}}
|
|
214
223
|
|
|
215
224
|
### Agent Decision Rules
|
|
216
225
|
{{INCLUDE:agent-protocols/decision-rules.md}}
|
|
217
226
|
|
|
218
|
-
###
|
|
219
|
-
{{INCLUDE:agent-protocols/
|
|
220
|
-
|
|
221
|
-
### Patterns Applied
|
|
222
|
-
{{INCLUDE:sections/pattern-visibility.md}}
|
|
227
|
+
### Error Handling
|
|
228
|
+
{{INCLUDE:agent-protocols/error-handling.md}}
|
|
223
229
|
|
|
224
230
|
### Deep Mode Pattern Selection
|
|
225
|
-
Deep mode has access to all patterns including
|
|
226
|
-
- **
|
|
227
|
-
- **
|
|
228
|
-
- **
|
|
229
|
-
- **
|
|
230
|
-
- **
|
|
231
|
-
- **
|
|
232
|
-
- **
|
|
233
|
-
- **PrerequisiteIdentifier**: Identifies prerequisites and dependencies
|
|
231
|
+
Deep mode has access to all patterns including comprehensive analysis:
|
|
232
|
+
- **Alternative Approaches**: 2-3 different ways to structure the request
|
|
233
|
+
- **Edge Cases**: Things that might go wrong or need special handling
|
|
234
|
+
- **Validation Checklist**: Steps to verify the implementation is complete
|
|
235
|
+
- **Hidden Assumptions**: Things you might be assuming but didn't say
|
|
236
|
+
- **Scope Boundaries**: What's in and out of scope
|
|
237
|
+
- **Error Handling**: How to deal with failures gracefully
|
|
238
|
+
- **Prerequisites**: What needs to exist before starting
|
|
234
239
|
|
|
235
240
|
---
|
|
236
241
|
|
|
@@ -479,27 +484,26 @@ Confirm:
|
|
|
479
484
|
- Index file updated with new entry
|
|
480
485
|
- Display success message: `✓ Prompt saved: <prompt-id>.md`
|
|
481
486
|
|
|
482
|
-
###
|
|
483
|
-
|
|
484
|
-
After saving completes successfully:
|
|
487
|
+
### After Saving
|
|
485
488
|
|
|
486
489
|
---
|
|
487
490
|
|
|
488
491
|
## ⛔ STOP HERE - Agent Verification Required
|
|
489
492
|
|
|
490
|
-
**Your workflow ends here.
|
|
493
|
+
**Your workflow ends here. After saving the prompt, verify it worked.**
|
|
491
494
|
|
|
492
495
|
### CLI Verification (Run This Command)
|
|
496
|
+
I run this command to confirm the save worked:
|
|
493
497
|
```bash
|
|
494
498
|
clavix prompts list
|
|
495
499
|
```
|
|
496
500
|
|
|
497
|
-
**
|
|
501
|
+
**If it worked**: Your prompt appears in the list.
|
|
498
502
|
|
|
499
|
-
**If
|
|
500
|
-
-
|
|
501
|
-
-
|
|
502
|
-
-
|
|
503
|
+
**If it failed**:
|
|
504
|
+
- I create the directory: `mkdir -p .clavix/outputs/prompts/deep`
|
|
505
|
+
- I try saving again
|
|
506
|
+
- If still failing, I tell you: "I had trouble saving, but here's your improved prompt..."
|
|
503
507
|
|
|
504
508
|
### Required Response Ending
|
|
505
509
|
|
|
@@ -507,26 +511,28 @@ clavix prompts list
|
|
|
507
511
|
```
|
|
508
512
|
✅ Deep analysis complete. Prompt optimized and saved.
|
|
509
513
|
|
|
510
|
-
|
|
514
|
+
Ready to build this? Just say "let's implement" or run:
|
|
511
515
|
/clavix:execute --latest
|
|
512
516
|
```
|
|
513
517
|
|
|
514
|
-
**
|
|
518
|
+
**IMPORTANT: I don't start implementing. I don't write code. My job is done.**
|
|
519
|
+
I wait for you to decide what to do next.
|
|
515
520
|
|
|
516
521
|
---
|
|
517
522
|
|
|
518
|
-
### Prompt Management (
|
|
523
|
+
### Prompt Management (Commands I Run)
|
|
524
|
+
|
|
525
|
+
These are commands I execute when needed - you don't need to run them.
|
|
519
526
|
|
|
520
|
-
**
|
|
527
|
+
**Check saved prompts:**
|
|
521
528
|
```bash
|
|
522
529
|
clavix prompts list
|
|
523
530
|
```
|
|
524
531
|
|
|
525
|
-
**Cleanup
|
|
532
|
+
**Cleanup (I run when you ask or during maintenance):**
|
|
526
533
|
```bash
|
|
527
|
-
clavix prompts clear --executed # Remove
|
|
528
|
-
clavix prompts clear --stale # Remove >30
|
|
529
|
-
clavix prompts clear --deep # Remove all deep prompts
|
|
534
|
+
clavix prompts clear --executed # Remove implemented prompts
|
|
535
|
+
clavix prompts clear --stale # Remove old prompts (>30 days)
|
|
530
536
|
```
|
|
531
537
|
|
|
532
538
|
## Workflow Navigation
|