clavix 7.2.2 → 7.2.3
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/skills/improve.md +52 -20
- package/dist/templates/slash-commands/_canonical/archive.md +1 -1
- package/dist/templates/slash-commands/_canonical/implement.md +1 -1
- package/dist/templates/slash-commands/_canonical/improve.md +1 -1
- package/dist/templates/slash-commands/_canonical/plan.md +1 -1
- package/dist/templates/slash-commands/_canonical/prd.md +1 -1
- package/dist/templates/slash-commands/_canonical/refine.md +1 -1
- package/dist/templates/slash-commands/_canonical/review.md +1 -1
- package/dist/templates/slash-commands/_canonical/start.md +1 -1
- package/dist/templates/slash-commands/_canonical/summarize.md +1 -1
- package/dist/templates/slash-commands/_canonical/verify.md +1 -1
- package/package.json +1 -1
|
@@ -156,28 +156,40 @@ All improvements must be labeled with quality dimension tags:
|
|
|
156
156
|
|
|
157
157
|
---
|
|
158
158
|
|
|
159
|
-
## File-Saving Protocol
|
|
159
|
+
## File-Saving Protocol (REQUIRED - DO NOT SKIP)
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
DO NOT output any "saved" message until you have COMPLETED and VERIFIED all save steps.
|
|
162
162
|
|
|
163
|
-
|
|
164
|
-
- `std-20240115-143022-a7x2` for standard depth
|
|
165
|
-
- `comp-20240115-143022-b9k4` for comprehensive depth
|
|
163
|
+
This is a BLOCKING checkpoint. You cannot proceed to the final message until saving is verified.
|
|
166
164
|
|
|
167
|
-
###
|
|
165
|
+
### What You MUST Do Before Final Output
|
|
168
166
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
167
|
+
| Step | Action | Tool to Use | Verification |
|
|
168
|
+
|------|--------|-------------|--------------|
|
|
169
|
+
| 1 | Create directory with prompt file | **Write tool** (creates parent dirs automatically) | Directory exists |
|
|
170
|
+
| 2 | Generate prompt ID | Format: `{std|comp}-YYYYMMDD-HHMMSS-<random>` | ID is unique |
|
|
171
|
+
| 3 | Write prompt file with frontmatter | **Write tool** | File created |
|
|
172
|
+
| 4 | **VERIFY: Read back file** | **Read tool** | File readable |
|
|
173
|
+
|
|
174
|
+
**⚠️ CRITICAL: You MUST invoke the Write tool to create the file. Showing the content in your response is NOT enough - the file must actually exist on disk.**
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
### Step 1: Generate Prompt ID
|
|
179
|
+
|
|
180
|
+
Create a unique identifier using this format:
|
|
181
|
+
- **Standard depth**: `std-YYYYMMDD-HHMMSS-<random>` (e.g., `std-20250117-143022-a3f2`)
|
|
182
|
+
- **Comprehensive depth**: `comp-YYYYMMDD-HHMMSS-<random>` (e.g., `comp-20250117-143022-a3f2`)
|
|
172
183
|
|
|
173
|
-
### Step
|
|
184
|
+
### Step 2: Write Prompt File (Write Tool)
|
|
174
185
|
|
|
175
|
-
|
|
186
|
+
**You MUST use the Write tool** to create the prompt file at:
|
|
187
|
+
- **Path**: `.clavix/outputs/prompts/{prompt-id}.md`
|
|
176
188
|
|
|
177
|
-
|
|
178
|
-
```
|
|
189
|
+
**File content format**:
|
|
190
|
+
```markdown
|
|
179
191
|
---
|
|
180
|
-
id: {
|
|
192
|
+
id: {prompt-id}
|
|
181
193
|
depthUsed: standard|comprehensive
|
|
182
194
|
timestamp: {ISO-8601 timestamp}
|
|
183
195
|
executed: false
|
|
@@ -185,10 +197,19 @@ originalPrompt: |
|
|
|
185
197
|
{original user prompt text}
|
|
186
198
|
---
|
|
187
199
|
|
|
188
|
-
#
|
|
200
|
+
# Improved Prompt
|
|
189
201
|
|
|
190
202
|
{The improved prompt content}
|
|
191
203
|
|
|
204
|
+
## Quality Scores
|
|
205
|
+
- **Clarity**: {percentage}%
|
|
206
|
+
- **Efficiency**: {percentage}%
|
|
207
|
+
- **Structure**: {percentage}%
|
|
208
|
+
- **Completeness**: {percentage}%
|
|
209
|
+
- **Actionability**: {percentage}%
|
|
210
|
+
- **Specificity**: {percentage}%
|
|
211
|
+
- **Overall**: {percentage}% ({rating})
|
|
212
|
+
|
|
192
213
|
## Analysis Summary
|
|
193
214
|
|
|
194
215
|
Intent: {detected intent}
|
|
@@ -196,13 +217,24 @@ Quality: {before}% → {after}%
|
|
|
196
217
|
Patterns Applied: {list of patterns}
|
|
197
218
|
```
|
|
198
219
|
|
|
199
|
-
### Step
|
|
220
|
+
### Step 3: Verify File Exists (Read Tool)
|
|
221
|
+
|
|
222
|
+
After using Write tool to create the file, use the Read tool to verify:
|
|
223
|
+
- Path: `.clavix/outputs/prompts/{prompt-id}.md`
|
|
224
|
+
|
|
225
|
+
**If Read fails**: ⛔ STOP - Saving failed. Retry Write tool with proper content.
|
|
226
|
+
|
|
227
|
+
### Step 4: Final Response
|
|
200
228
|
|
|
201
|
-
|
|
229
|
+
ONLY after verification passes, output:
|
|
230
|
+
|
|
231
|
+
```
|
|
232
|
+
✅ Prompt saved to: `.clavix/outputs/prompts/{actual-prompt-id}.md`
|
|
233
|
+
|
|
234
|
+
Ready to implement? Run: /clavix:implement --latest
|
|
235
|
+
```
|
|
202
236
|
|
|
203
|
-
|
|
204
|
-
- Retry save once
|
|
205
|
-
- If still fails, display prompt content for manual copy
|
|
237
|
+
**⚠️ DO NOT output the saved message until you have verified the file exists.**
|
|
206
238
|
|
|
207
239
|
---
|
|
208
240
|
|
|
@@ -354,7 +354,7 @@ The validation ensures generated PRDs are immediately usable for AI consumption
|
|
|
354
354
|
|
|
355
355
|
---
|
|
356
356
|
|
|
357
|
-
## Agent Transparency (v7.2.
|
|
357
|
+
## Agent Transparency (v7.2.3)
|
|
358
358
|
|
|
359
359
|
### Agent Manual (Universal Protocols)
|
|
360
360
|
{{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
|
|
@@ -230,7 +230,7 @@ The goal is natural exploration of requirements, not a rigid questionnaire. Foll
|
|
|
230
230
|
|
|
231
231
|
---
|
|
232
232
|
|
|
233
|
-
## Agent Transparency (v7.2.
|
|
233
|
+
## Agent Transparency (v7.2.3)
|
|
234
234
|
|
|
235
235
|
### Agent Manual (Universal Protocols)
|
|
236
236
|
{{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
|
|
@@ -409,7 +409,7 @@ The `/clavix:summarize` command extracts requirements from exploratory conversat
|
|
|
409
409
|
|
|
410
410
|
---
|
|
411
411
|
|
|
412
|
-
## Agent Transparency (v7.2.
|
|
412
|
+
## Agent Transparency (v7.2.3)
|
|
413
413
|
|
|
414
414
|
### Agent Manual (Universal Protocols)
|
|
415
415
|
{{INCLUDE:agent-protocols/AGENT_MANUAL.md}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavix",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.3",
|
|
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:review Review teammate PRs with criteria\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",
|