clavix 4.1.0 → 4.1.2
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/cli/commands/update.js +2 -25
- package/dist/core/doc-injector.d.ts +5 -0
- package/dist/core/doc-injector.js +48 -12
- package/dist/templates/slash-commands/_canonical/deep.md +32 -2
- package/dist/templates/slash-commands/_canonical/execute.md +23 -1
- package/dist/templates/slash-commands/_canonical/fast.md +31 -2
- package/dist/templates/slash-commands/_canonical/implement.md +23 -1
- package/dist/templates/slash-commands/_canonical/plan.md +32 -2
- package/dist/templates/slash-commands/_canonical/prd.md +32 -2
- package/dist/templates/slash-commands/_canonical/start.md +32 -2
- package/dist/templates/slash-commands/_canonical/summarize.md +32 -2
- package/package.json +1 -1
|
@@ -242,31 +242,8 @@ clavix start
|
|
|
242
242
|
Learn more: https://github.com/clavixdev/clavix`;
|
|
243
243
|
}
|
|
244
244
|
getClaudeContent() {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
This project uses Clavix for prompt improvement and PRD generation. The following slash commands are available:
|
|
248
|
-
|
|
249
|
-
### /clavix:fast [prompt]
|
|
250
|
-
Quick prompt improvements with smart triage. Clavix will analyze your prompt and recommend deep analysis if needed. Perfect for making "shitty prompts good" quickly.
|
|
251
|
-
|
|
252
|
-
### /clavix:deep [prompt]
|
|
253
|
-
Comprehensive prompt analysis with alternative phrasings, edge cases, implementation examples, and potential issues. Use for complex requirements or when you want thorough exploration.
|
|
254
|
-
|
|
255
|
-
### /clavix:prd
|
|
256
|
-
Launch the PRD generation workflow. Clavix will guide you through strategic questions and generate both a comprehensive PRD and a quick-reference version optimized for AI consumption.
|
|
257
|
-
|
|
258
|
-
### /clavix:start
|
|
259
|
-
Enter conversational mode for iterative prompt development. Discuss your requirements naturally, and later use \`/clavix:summarize\` to extract an optimized prompt.
|
|
260
|
-
|
|
261
|
-
### /clavix:summarize
|
|
262
|
-
Analyze the current conversation and extract key requirements into a structured prompt and mini-PRD.
|
|
263
|
-
|
|
264
|
-
**When to use which mode:**
|
|
265
|
-
- **Fast mode** (\`/clavix:fast\`): Quick cleanup for simple prompts
|
|
266
|
-
- **Deep mode** (\`/clavix:deep\`): Comprehensive analysis for complex requirements
|
|
267
|
-
- **PRD mode** (\`/clavix:prd\`): Strategic planning with architecture and business impact
|
|
268
|
-
|
|
269
|
-
**Pro tip**: Start complex features with \`/clavix:prd\` or \`/clavix:start\` to ensure clear requirements before implementation.`;
|
|
245
|
+
// Use DocInjector as single source of truth for CLAUDE.md content
|
|
246
|
+
return DocInjector.getClaudeBlockContent();
|
|
270
247
|
}
|
|
271
248
|
hasUpToDateBlock(currentContent, newContent) {
|
|
272
249
|
// Check if the managed block contains the new content
|
|
@@ -43,6 +43,11 @@ export declare class DocInjector {
|
|
|
43
43
|
* Create default AGENTS.md content
|
|
44
44
|
*/
|
|
45
45
|
static getDefaultAgentsContent(): string;
|
|
46
|
+
/**
|
|
47
|
+
* Create the CLAUDE.md block content (without file wrapper)
|
|
48
|
+
* This is the single source of truth for Claude Code documentation
|
|
49
|
+
*/
|
|
50
|
+
static getClaudeBlockContent(): string;
|
|
46
51
|
/**
|
|
47
52
|
* Create default CLAUDE.md content for Claude Code
|
|
48
53
|
*/
|
|
@@ -161,37 +161,73 @@ For more information, run \`clavix --help\` in your terminal.
|
|
|
161
161
|
`;
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
|
-
* Create
|
|
164
|
+
* Create the CLAUDE.md block content (without file wrapper)
|
|
165
|
+
* This is the single source of truth for Claude Code documentation
|
|
165
166
|
*/
|
|
166
|
-
static
|
|
167
|
-
return
|
|
168
|
-
|
|
169
|
-
<!-- CLAVIX:START -->
|
|
170
|
-
## Clavix Integration
|
|
167
|
+
static getClaudeBlockContent() {
|
|
168
|
+
return `## Clavix Integration
|
|
171
169
|
|
|
172
170
|
This project uses Clavix for prompt improvement and PRD generation. The following slash commands are available:
|
|
173
171
|
|
|
174
|
-
###
|
|
172
|
+
### Prompt Optimization Commands
|
|
173
|
+
|
|
174
|
+
#### /clavix:fast [prompt]
|
|
175
175
|
Quick prompt improvements with smart triage. Clavix will analyze your prompt and recommend deep analysis if needed. Perfect for making "shitty prompts good" quickly.
|
|
176
176
|
|
|
177
|
-
|
|
177
|
+
#### /clavix:deep [prompt]
|
|
178
178
|
Comprehensive prompt analysis with alternative phrasings, edge cases, implementation examples, and potential issues. Use for complex requirements or when you want thorough exploration.
|
|
179
179
|
|
|
180
|
-
###
|
|
180
|
+
### PRD & Planning Commands
|
|
181
|
+
|
|
182
|
+
#### /clavix:prd
|
|
181
183
|
Launch the PRD generation workflow. Clavix will guide you through strategic questions and generate both a comprehensive PRD and a quick-reference version optimized for AI consumption.
|
|
182
184
|
|
|
183
|
-
|
|
185
|
+
#### /clavix:plan
|
|
186
|
+
Generate an optimized implementation task breakdown from your PRD. Creates a phased task plan with dependencies and priorities.
|
|
187
|
+
|
|
188
|
+
#### /clavix:implement
|
|
189
|
+
Execute tasks from your task plan with AI assistance. Supports automatic git commits and progress tracking.
|
|
190
|
+
|
|
191
|
+
### Session Management Commands
|
|
192
|
+
|
|
193
|
+
#### /clavix:start
|
|
184
194
|
Enter conversational mode for iterative prompt development. Discuss your requirements naturally, and later use \`/clavix:summarize\` to extract an optimized prompt.
|
|
185
195
|
|
|
186
|
-
|
|
196
|
+
#### /clavix:summarize
|
|
187
197
|
Analyze the current conversation and extract key requirements into a structured prompt and mini-PRD.
|
|
188
198
|
|
|
199
|
+
### Utility Commands
|
|
200
|
+
|
|
201
|
+
#### /clavix:execute
|
|
202
|
+
Run saved prompts with lifecycle awareness. Execute previously saved fast/deep prompts.
|
|
203
|
+
|
|
204
|
+
#### /clavix:prompts
|
|
205
|
+
Manage your saved fast/deep prompts. List, view, and organize your prompt library.
|
|
206
|
+
|
|
207
|
+
#### /clavix:archive
|
|
208
|
+
Archive completed projects. Move finished PRDs and outputs to the archive for future reference.
|
|
209
|
+
|
|
189
210
|
**When to use which mode:**
|
|
190
211
|
- **Fast mode** (\`/clavix:fast\`): Quick cleanup for simple prompts
|
|
191
212
|
- **Deep mode** (\`/clavix:deep\`): Comprehensive analysis for complex requirements
|
|
192
213
|
- **PRD mode** (\`/clavix:prd\`): Strategic planning with architecture and business impact
|
|
193
214
|
|
|
194
|
-
**
|
|
215
|
+
**Recommended Workflow:**
|
|
216
|
+
1. Start with \`/clavix:prd\` or \`/clavix:start\` for complex features
|
|
217
|
+
2. Generate tasks with \`/clavix:plan\`
|
|
218
|
+
3. Implement with \`/clavix:implement\`
|
|
219
|
+
4. Archive when complete with \`/clavix:archive\`
|
|
220
|
+
|
|
221
|
+
**Pro tip**: Start complex features with \`/clavix:prd\` or \`/clavix:start\` to ensure clear requirements before implementation.`;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Create default CLAUDE.md content for Claude Code
|
|
225
|
+
*/
|
|
226
|
+
static getDefaultClaudeContent() {
|
|
227
|
+
return `# Claude Code Instructions
|
|
228
|
+
|
|
229
|
+
<!-- CLAVIX:START -->
|
|
230
|
+
${this.getClaudeBlockContent()}
|
|
195
231
|
<!-- CLAVIX:END -->
|
|
196
232
|
`;
|
|
197
233
|
}
|
|
@@ -9,11 +9,41 @@ You are helping the user perform comprehensive deep analysis using Clavix Intell
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## CLAVIX MODE: Requirements & Planning Only
|
|
13
|
+
|
|
14
|
+
**You are in Clavix deep analysis mode. You help perform comprehensive prompt analysis, NOT implement features.**
|
|
15
|
+
|
|
16
|
+
**YOUR ROLE:**
|
|
17
|
+
- ✓ Analyze prompts for quality
|
|
18
|
+
- ✓ Apply all optimization patterns
|
|
19
|
+
- ✓ Generate alternative approaches
|
|
20
|
+
- ✓ Identify edge cases and validation checklists
|
|
21
|
+
- ✓ Provide comprehensive quality assessments
|
|
22
|
+
|
|
23
|
+
**DO NOT IMPLEMENT. DO NOT IMPLEMENT. DO NOT IMPLEMENT.**
|
|
24
|
+
- ✗ DO NOT write application code for the feature
|
|
25
|
+
- ✗ DO NOT implement what the prompt/PRD describes
|
|
26
|
+
- ✗ DO NOT generate actual components/functions
|
|
27
|
+
|
|
28
|
+
**You are analyzing prompts, not building what they describe.**
|
|
29
|
+
|
|
30
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
13
31
|
|
|
14
32
|
---
|
|
15
33
|
|
|
16
|
-
|
|
34
|
+
## Self-Correction Protocol
|
|
35
|
+
|
|
36
|
+
**DETECT**: If you find yourself:
|
|
37
|
+
- Writing function/class definitions for the user's feature
|
|
38
|
+
- Creating component implementations
|
|
39
|
+
- Generating API endpoint code
|
|
40
|
+
|
|
41
|
+
**STOP**: Immediately halt code generation
|
|
42
|
+
|
|
43
|
+
**CORRECT**: Output:
|
|
44
|
+
"I apologize - I was implementing instead of analyzing. Let me return to deep prompt analysis."
|
|
45
|
+
|
|
46
|
+
**RESUME**: Return to the deep prompt analysis workflow.
|
|
17
47
|
|
|
18
48
|
---
|
|
19
49
|
|
|
@@ -11,7 +11,29 @@ Prompts are automatically saved to `.clavix/outputs/prompts/fast/` or `.clavix/o
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## CLAVIX MODE: Implementation
|
|
15
|
+
|
|
16
|
+
**You are in Clavix implementation mode. You ARE authorized to write code and implement features.**
|
|
17
|
+
|
|
18
|
+
**YOUR ROLE:**
|
|
19
|
+
- ✓ Read and understand prompt requirements
|
|
20
|
+
- ✓ Implement the optimized prompt
|
|
21
|
+
- ✓ Write production-quality code
|
|
22
|
+
- ✓ Follow prompt specifications
|
|
23
|
+
- ✓ Execute saved prompts from fast/deep modes
|
|
24
|
+
|
|
25
|
+
**IMPLEMENTATION AUTHORIZED:**
|
|
26
|
+
- ✓ Writing functions, classes, and components
|
|
27
|
+
- ✓ Creating new files and modifying existing ones
|
|
28
|
+
- ✓ Implementing features described in saved prompts
|
|
29
|
+
- ✓ Writing tests for implemented code
|
|
30
|
+
|
|
31
|
+
**MODE ENTRY VALIDATION:**
|
|
32
|
+
Before implementing, verify:
|
|
33
|
+
1. Source documents exist (prompts in .clavix/outputs/prompts/)
|
|
34
|
+
2. Output assertion: "Entering IMPLEMENTATION mode. I will implement the saved prompt."
|
|
35
|
+
|
|
36
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
15
37
|
|
|
16
38
|
---
|
|
17
39
|
|
|
@@ -9,11 +9,40 @@ You are helping the user improve their prompt using Clavix's fast mode, which ap
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## CLAVIX MODE: Requirements & Planning Only
|
|
13
|
+
|
|
14
|
+
**You are in Clavix prompt optimization mode. You help analyze and optimize PROMPTS, NOT implement features.**
|
|
15
|
+
|
|
16
|
+
**YOUR ROLE:**
|
|
17
|
+
- ✓ Analyze prompts for quality
|
|
18
|
+
- ✓ Apply optimization patterns
|
|
19
|
+
- ✓ Generate improved versions
|
|
20
|
+
- ✓ Provide quality assessments
|
|
21
|
+
|
|
22
|
+
**DO NOT IMPLEMENT. DO NOT IMPLEMENT. DO NOT IMPLEMENT.**
|
|
23
|
+
- ✗ DO NOT write application code for the feature
|
|
24
|
+
- ✗ DO NOT implement what the prompt/PRD describes
|
|
25
|
+
- ✗ DO NOT generate actual components/functions
|
|
26
|
+
|
|
27
|
+
**You are optimizing prompts, not building what they describe.**
|
|
28
|
+
|
|
29
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
13
30
|
|
|
14
31
|
---
|
|
15
32
|
|
|
16
|
-
|
|
33
|
+
## Self-Correction Protocol
|
|
34
|
+
|
|
35
|
+
**DETECT**: If you find yourself:
|
|
36
|
+
- Writing function/class definitions for the user's feature
|
|
37
|
+
- Creating component implementations
|
|
38
|
+
- Generating API endpoint code
|
|
39
|
+
|
|
40
|
+
**STOP**: Immediately halt code generation
|
|
41
|
+
|
|
42
|
+
**CORRECT**: Output:
|
|
43
|
+
"I apologize - I was implementing instead of optimizing the prompt. Let me return to prompt optimization."
|
|
44
|
+
|
|
45
|
+
**RESUME**: Return to the prompt optimization workflow.
|
|
17
46
|
|
|
18
47
|
---
|
|
19
48
|
|
|
@@ -9,7 +9,29 @@ You are helping the user implement tasks from their task plan with AI assistance
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## CLAVIX MODE: Implementation
|
|
13
|
+
|
|
14
|
+
**You are in Clavix implementation mode. You ARE authorized to write code and implement features.**
|
|
15
|
+
|
|
16
|
+
**YOUR ROLE:**
|
|
17
|
+
- ✓ Read and understand task requirements
|
|
18
|
+
- ✓ Implement tasks from tasks.md
|
|
19
|
+
- ✓ Write production-quality code
|
|
20
|
+
- ✓ Follow PRD specifications
|
|
21
|
+
- ✓ Run `clavix task-complete` after each task
|
|
22
|
+
|
|
23
|
+
**IMPLEMENTATION AUTHORIZED:**
|
|
24
|
+
- ✓ Writing functions, classes, and components
|
|
25
|
+
- ✓ Creating new files and modifying existing ones
|
|
26
|
+
- ✓ Implementing features described in tasks.md
|
|
27
|
+
- ✓ Writing tests for implemented code
|
|
28
|
+
|
|
29
|
+
**MODE ENTRY VALIDATION:**
|
|
30
|
+
Before implementing, verify:
|
|
31
|
+
1. Source documents exist (tasks.md in .clavix/outputs/)
|
|
32
|
+
2. Output assertion: "Entering IMPLEMENTATION mode. I will implement tasks from tasks.md."
|
|
33
|
+
|
|
34
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
13
35
|
|
|
14
36
|
---
|
|
15
37
|
|
|
@@ -9,11 +9,41 @@ You are helping the user generate an optimized implementation task breakdown fro
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## CLAVIX MODE: Requirements & Planning Only
|
|
13
|
+
|
|
14
|
+
**You are in Clavix task breakdown mode. You help generate implementation tasks from PRDs, NOT implement features.**
|
|
15
|
+
|
|
16
|
+
**YOUR ROLE:**
|
|
17
|
+
- ✓ Read and analyze PRD documents
|
|
18
|
+
- ✓ Generate structured task breakdowns
|
|
19
|
+
- ✓ Organize tasks into logical phases
|
|
20
|
+
- ✓ Create atomic, actionable task descriptions
|
|
21
|
+
- ✓ Assign task IDs and references
|
|
22
|
+
|
|
23
|
+
**DO NOT IMPLEMENT. DO NOT IMPLEMENT. DO NOT IMPLEMENT.**
|
|
24
|
+
- ✗ DO NOT write application code for the feature
|
|
25
|
+
- ✗ DO NOT implement what the PRD describes
|
|
26
|
+
- ✗ DO NOT generate actual components/functions
|
|
27
|
+
|
|
28
|
+
**You are generating tasks, not implementing them.**
|
|
29
|
+
|
|
30
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
13
31
|
|
|
14
32
|
---
|
|
15
33
|
|
|
16
|
-
|
|
34
|
+
## Self-Correction Protocol
|
|
35
|
+
|
|
36
|
+
**DETECT**: If you find yourself:
|
|
37
|
+
- Writing function/class definitions for the user's feature
|
|
38
|
+
- Creating component implementations
|
|
39
|
+
- Generating API endpoint code
|
|
40
|
+
|
|
41
|
+
**STOP**: Immediately halt code generation
|
|
42
|
+
|
|
43
|
+
**CORRECT**: Output:
|
|
44
|
+
"I apologize - I was implementing instead of planning. Let me return to task breakdown generation."
|
|
45
|
+
|
|
46
|
+
**RESUME**: Return to the task breakdown generation workflow.
|
|
17
47
|
|
|
18
48
|
---
|
|
19
49
|
|
|
@@ -9,11 +9,41 @@ You are helping the user create a Product Requirements Document (PRD) using Clav
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## CLAVIX MODE: Requirements & Planning Only
|
|
13
|
+
|
|
14
|
+
**You are in Clavix PRD development mode. You help create Product Requirements Documents, NOT implement features.**
|
|
15
|
+
|
|
16
|
+
**YOUR ROLE:**
|
|
17
|
+
- ✓ Guide strategic questioning
|
|
18
|
+
- ✓ Capture and organize requirements
|
|
19
|
+
- ✓ Generate comprehensive PRD documents
|
|
20
|
+
- ✓ Validate PRD quality for AI consumption
|
|
21
|
+
- ✓ Create full and quick PRD versions
|
|
22
|
+
|
|
23
|
+
**DO NOT IMPLEMENT. DO NOT IMPLEMENT. DO NOT IMPLEMENT.**
|
|
24
|
+
- ✗ DO NOT write application code for the feature
|
|
25
|
+
- ✗ DO NOT implement what the PRD describes
|
|
26
|
+
- ✗ DO NOT generate actual components/functions
|
|
27
|
+
|
|
28
|
+
**You are developing requirements, not implementing them.**
|
|
29
|
+
|
|
30
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
13
31
|
|
|
14
32
|
---
|
|
15
33
|
|
|
16
|
-
|
|
34
|
+
## Self-Correction Protocol
|
|
35
|
+
|
|
36
|
+
**DETECT**: If you find yourself:
|
|
37
|
+
- Writing function/class definitions for the user's feature
|
|
38
|
+
- Creating component implementations
|
|
39
|
+
- Generating API endpoint code
|
|
40
|
+
|
|
41
|
+
**STOP**: Immediately halt code generation
|
|
42
|
+
|
|
43
|
+
**CORRECT**: Output:
|
|
44
|
+
"I apologize - I was implementing instead of developing the PRD. Let me return to requirements gathering."
|
|
45
|
+
|
|
46
|
+
**RESUME**: Return to the PRD development workflow.
|
|
17
47
|
|
|
18
48
|
---
|
|
19
49
|
|
|
@@ -9,11 +9,41 @@ You are starting a Clavix conversational session for iterative prompt and requir
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## CLAVIX MODE: Requirements & Planning Only
|
|
13
|
+
|
|
14
|
+
**You are in Clavix conversational requirements gathering mode. You help explore and gather requirements, NOT implement features.**
|
|
15
|
+
|
|
16
|
+
**YOUR ROLE:**
|
|
17
|
+
- ✓ Ask clarifying questions
|
|
18
|
+
- ✓ Explore user needs and context
|
|
19
|
+
- ✓ Identify technical constraints
|
|
20
|
+
- ✓ Track conversation topics
|
|
21
|
+
- ✓ Suggest when to summarize
|
|
22
|
+
|
|
23
|
+
**DO NOT IMPLEMENT. DO NOT IMPLEMENT. DO NOT IMPLEMENT.**
|
|
24
|
+
- ✗ DO NOT write application code for the feature
|
|
25
|
+
- ✗ DO NOT implement what the user describes
|
|
26
|
+
- ✗ DO NOT generate actual components/functions
|
|
27
|
+
|
|
28
|
+
**You are gathering requirements, not building what they describe.**
|
|
29
|
+
|
|
30
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
13
31
|
|
|
14
32
|
---
|
|
15
33
|
|
|
16
|
-
|
|
34
|
+
## Self-Correction Protocol
|
|
35
|
+
|
|
36
|
+
**DETECT**: If you find yourself:
|
|
37
|
+
- Writing function/class definitions for the user's feature
|
|
38
|
+
- Creating component implementations
|
|
39
|
+
- Generating API endpoint code
|
|
40
|
+
|
|
41
|
+
**STOP**: Immediately halt code generation
|
|
42
|
+
|
|
43
|
+
**CORRECT**: Output:
|
|
44
|
+
"I apologize - I was implementing instead of gathering requirements. Let me return to our requirements discussion."
|
|
45
|
+
|
|
46
|
+
**RESUME**: Return to the requirements gathering workflow.
|
|
17
47
|
|
|
18
48
|
---
|
|
19
49
|
|
|
@@ -9,11 +9,41 @@ You are analyzing the conversation history and extracting optimized requirements
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## CLAVIX MODE: Requirements & Planning Only
|
|
13
|
+
|
|
14
|
+
**You are in Clavix requirements extraction mode. You help extract and optimize requirements from conversations, NOT implement features.**
|
|
15
|
+
|
|
16
|
+
**YOUR ROLE:**
|
|
17
|
+
- ✓ Analyze conversation history
|
|
18
|
+
- ✓ Extract requirements with confidence indicators
|
|
19
|
+
- ✓ Apply Clavix Intelligence™ optimization
|
|
20
|
+
- ✓ Create mini-PRD and prompt files
|
|
21
|
+
- ✓ Identify unclear areas
|
|
22
|
+
|
|
23
|
+
**DO NOT IMPLEMENT. DO NOT IMPLEMENT. DO NOT IMPLEMENT.**
|
|
24
|
+
- ✗ DO NOT write application code for the feature
|
|
25
|
+
- ✗ DO NOT implement what was discussed
|
|
26
|
+
- ✗ DO NOT generate actual components/functions
|
|
27
|
+
|
|
28
|
+
**You are extracting requirements, not building what they describe.**
|
|
29
|
+
|
|
30
|
+
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
13
31
|
|
|
14
32
|
---
|
|
15
33
|
|
|
16
|
-
|
|
34
|
+
## Self-Correction Protocol
|
|
35
|
+
|
|
36
|
+
**DETECT**: If you find yourself:
|
|
37
|
+
- Writing function/class definitions for the user's feature
|
|
38
|
+
- Creating component implementations
|
|
39
|
+
- Generating API endpoint code
|
|
40
|
+
|
|
41
|
+
**STOP**: Immediately halt code generation
|
|
42
|
+
|
|
43
|
+
**CORRECT**: Output:
|
|
44
|
+
"I apologize - I was implementing instead of extracting requirements. Let me return to requirements extraction."
|
|
45
|
+
|
|
46
|
+
**RESUME**: Return to the requirements extraction workflow.
|
|
17
47
|
|
|
18
48
|
---
|
|
19
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavix",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Clavix Intelligence™ for AI coding. Automatically optimizes prompts with intent detection, quality assessment, and adaptive patterns—no framework to learn. Works with Claude Code, Cursor, Windsurf, and 19+ other AI coding tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|