clavix 2.1.2 → 2.3.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/README.md +3 -3
- package/dist/cli/commands/init.js +11 -4
- package/dist/core/adapters/copilot-instructions-generator.d.ts +26 -0
- package/dist/core/adapters/copilot-instructions-generator.js +104 -0
- package/dist/core/agent-manager.js +0 -2
- package/dist/templates/agents/copilot-instructions.md +90 -0
- package/dist/templates/slash-commands/amp/archive.md +130 -3
- package/dist/templates/slash-commands/amp/deep.md +70 -10
- package/dist/templates/slash-commands/amp/fast.md +62 -15
- package/dist/templates/slash-commands/amp/implement.md +147 -2
- package/dist/templates/slash-commands/amp/plan.md +103 -7
- package/dist/templates/slash-commands/amp/prd.md +111 -13
- package/dist/templates/slash-commands/amp/start.md +77 -1
- package/dist/templates/slash-commands/amp/summarize.md +101 -21
- package/dist/templates/slash-commands/augment/archive.md +131 -4
- package/dist/templates/slash-commands/augment/deep.md +71 -11
- package/dist/templates/slash-commands/augment/fast.md +63 -16
- package/dist/templates/slash-commands/augment/implement.md +148 -3
- package/dist/templates/slash-commands/augment/plan.md +104 -8
- package/dist/templates/slash-commands/augment/prd.md +106 -8
- package/dist/templates/slash-commands/augment/start.md +78 -2
- package/dist/templates/slash-commands/augment/summarize.md +101 -21
- package/dist/templates/slash-commands/claude-code/archive.md +130 -3
- package/dist/templates/slash-commands/claude-code/deep.md +70 -10
- package/dist/templates/slash-commands/claude-code/fast.md +62 -15
- package/dist/templates/slash-commands/claude-code/implement.md +147 -2
- package/dist/templates/slash-commands/claude-code/plan.md +103 -7
- package/dist/templates/slash-commands/claude-code/prd.md +111 -13
- package/dist/templates/slash-commands/claude-code/start.md +77 -1
- package/dist/templates/slash-commands/claude-code/summarize.md +101 -21
- package/dist/templates/slash-commands/cline/archive.md +130 -3
- package/dist/templates/slash-commands/cline/deep.md +70 -10
- package/dist/templates/slash-commands/cline/fast.md +62 -15
- package/dist/templates/slash-commands/cline/implement.md +147 -2
- package/dist/templates/slash-commands/cline/plan.md +103 -7
- package/dist/templates/slash-commands/cline/prd.md +111 -13
- package/dist/templates/slash-commands/cline/start.md +77 -1
- package/dist/templates/slash-commands/cline/summarize.md +101 -21
- package/dist/templates/slash-commands/codebuddy/archive.md +130 -3
- package/dist/templates/slash-commands/codebuddy/deep.md +70 -10
- package/dist/templates/slash-commands/codebuddy/fast.md +62 -15
- package/dist/templates/slash-commands/codebuddy/implement.md +147 -2
- package/dist/templates/slash-commands/codebuddy/plan.md +103 -7
- package/dist/templates/slash-commands/codebuddy/prd.md +111 -13
- package/dist/templates/slash-commands/codebuddy/start.md +77 -1
- package/dist/templates/slash-commands/codebuddy/summarize.md +101 -21
- package/dist/templates/slash-commands/codex/archive.md +130 -3
- package/dist/templates/slash-commands/codex/deep.md +70 -10
- package/dist/templates/slash-commands/codex/fast.md +62 -15
- package/dist/templates/slash-commands/codex/implement.md +147 -2
- package/dist/templates/slash-commands/codex/plan.md +103 -7
- package/dist/templates/slash-commands/codex/prd.md +111 -13
- package/dist/templates/slash-commands/codex/start.md +77 -1
- package/dist/templates/slash-commands/codex/summarize.md +101 -21
- package/dist/templates/slash-commands/crush/archive.md +130 -3
- package/dist/templates/slash-commands/crush/deep.md +70 -10
- package/dist/templates/slash-commands/crush/fast.md +62 -15
- package/dist/templates/slash-commands/crush/implement.md +147 -2
- package/dist/templates/slash-commands/crush/plan.md +103 -7
- package/dist/templates/slash-commands/crush/prd.md +111 -13
- package/dist/templates/slash-commands/crush/start.md +77 -1
- package/dist/templates/slash-commands/crush/summarize.md +101 -21
- package/dist/templates/slash-commands/cursor/archive.md +130 -3
- package/dist/templates/slash-commands/cursor/deep.md +70 -10
- package/dist/templates/slash-commands/cursor/fast.md +62 -15
- package/dist/templates/slash-commands/cursor/implement.md +147 -2
- package/dist/templates/slash-commands/cursor/plan.md +103 -7
- package/dist/templates/slash-commands/cursor/prd.md +111 -13
- package/dist/templates/slash-commands/cursor/start.md +77 -1
- package/dist/templates/slash-commands/cursor/summarize.md +101 -21
- package/dist/templates/slash-commands/droid/archive.md +130 -3
- package/dist/templates/slash-commands/droid/deep.md +70 -10
- package/dist/templates/slash-commands/droid/fast.md +62 -15
- package/dist/templates/slash-commands/droid/implement.md +147 -2
- package/dist/templates/slash-commands/droid/plan.md +103 -7
- package/dist/templates/slash-commands/droid/prd.md +111 -13
- package/dist/templates/slash-commands/droid/start.md +77 -1
- package/dist/templates/slash-commands/droid/summarize.md +101 -21
- package/dist/templates/slash-commands/gemini/archive.toml +132 -4
- package/dist/templates/slash-commands/gemini/deep.toml +72 -11
- package/dist/templates/slash-commands/gemini/fast.toml +64 -16
- package/dist/templates/slash-commands/gemini/implement.toml +149 -3
- package/dist/templates/slash-commands/gemini/plan.toml +116 -13
- package/dist/templates/slash-commands/gemini/prd.toml +107 -8
- package/dist/templates/slash-commands/gemini/start.toml +79 -2
- package/dist/templates/slash-commands/gemini/summarize.toml +102 -21
- package/dist/templates/slash-commands/kilocode/archive.md +130 -3
- package/dist/templates/slash-commands/kilocode/deep.md +70 -10
- package/dist/templates/slash-commands/kilocode/fast.md +62 -15
- package/dist/templates/slash-commands/kilocode/implement.md +147 -2
- package/dist/templates/slash-commands/kilocode/plan.md +103 -7
- package/dist/templates/slash-commands/kilocode/prd.md +111 -13
- package/dist/templates/slash-commands/kilocode/start.md +77 -1
- package/dist/templates/slash-commands/kilocode/summarize.md +101 -21
- package/dist/templates/slash-commands/opencode/archive.md +130 -3
- package/dist/templates/slash-commands/opencode/deep.md +70 -10
- package/dist/templates/slash-commands/opencode/fast.md +62 -15
- package/dist/templates/slash-commands/opencode/implement.md +147 -2
- package/dist/templates/slash-commands/opencode/plan.md +103 -7
- package/dist/templates/slash-commands/opencode/prd.md +111 -13
- package/dist/templates/slash-commands/opencode/start.md +77 -1
- package/dist/templates/slash-commands/opencode/summarize.md +101 -21
- package/dist/templates/slash-commands/qwen/archive.toml +132 -4
- package/dist/templates/slash-commands/qwen/deep.toml +72 -11
- package/dist/templates/slash-commands/qwen/fast.toml +64 -16
- package/dist/templates/slash-commands/qwen/implement.toml +149 -3
- package/dist/templates/slash-commands/qwen/plan.toml +116 -13
- package/dist/templates/slash-commands/qwen/prd.toml +107 -8
- package/dist/templates/slash-commands/qwen/start.toml +79 -2
- package/dist/templates/slash-commands/qwen/summarize.toml +102 -21
- package/dist/templates/slash-commands/roocode/archive.md +130 -3
- package/dist/templates/slash-commands/roocode/deep.md +70 -10
- package/dist/templates/slash-commands/roocode/fast.md +62 -15
- package/dist/templates/slash-commands/roocode/implement.md +147 -2
- package/dist/templates/slash-commands/roocode/plan.md +103 -7
- package/dist/templates/slash-commands/roocode/prd.md +111 -13
- package/dist/templates/slash-commands/roocode/start.md +77 -1
- package/dist/templates/slash-commands/roocode/summarize.md +101 -21
- package/dist/templates/slash-commands/windsurf/archive.md +130 -3
- package/dist/templates/slash-commands/windsurf/deep.md +70 -10
- package/dist/templates/slash-commands/windsurf/fast.md +62 -15
- package/dist/templates/slash-commands/windsurf/implement.md +147 -2
- package/dist/templates/slash-commands/windsurf/plan.md +103 -7
- package/dist/templates/slash-commands/windsurf/prd.md +111 -13
- package/dist/templates/slash-commands/windsurf/start.md +77 -1
- package/dist/templates/slash-commands/windsurf/summarize.md +101 -21
- package/dist/types/agent.d.ts +1 -1
- package/package.json +2 -2
- package/dist/core/adapters/copilot-adapter.d.ts +0 -24
- package/dist/core/adapters/copilot-adapter.js +0 -88
- package/dist/templates/slash-commands/copilot/archive.agent.md +0 -164
- package/dist/templates/slash-commands/copilot/deep.agent.md +0 -147
- package/dist/templates/slash-commands/copilot/fast.agent.md +0 -136
- package/dist/templates/slash-commands/copilot/implement.agent.md +0 -122
- package/dist/templates/slash-commands/copilot/plan.agent.md +0 -69
- package/dist/templates/slash-commands/copilot/prd.agent.md +0 -80
- package/dist/templates/slash-commands/copilot/start.agent.md +0 -66
- package/dist/templates/slash-commands/copilot/summarize.agent.md +0 -99
|
@@ -24,7 +24,9 @@ You are starting a Clavix conversational session for iterative prompt and requir
|
|
|
24
24
|
- Help them think through user needs
|
|
25
25
|
- Identify potential challenges
|
|
26
26
|
|
|
27
|
-
3.
|
|
27
|
+
3. **Track conversation topics and manage complexity**:
|
|
28
|
+
|
|
29
|
+
**Key points to track:**
|
|
28
30
|
- Problem statement
|
|
29
31
|
- Target users
|
|
30
32
|
- Core features
|
|
@@ -32,6 +34,27 @@ You are starting a Clavix conversational session for iterative prompt and requir
|
|
|
32
34
|
- Success criteria
|
|
33
35
|
- Constraints and scope
|
|
34
36
|
|
|
37
|
+
**Multi-topic detection** (track distinct topics being discussed):
|
|
38
|
+
- Consider topics distinct if they address different problems/features/user needs
|
|
39
|
+
- Examples: "dashboard for sales" + "API for integrations" + "mobile app" = 3 topics
|
|
40
|
+
|
|
41
|
+
**When 3+ distinct topics detected**:
|
|
42
|
+
Auto-suggest focusing: "I notice we're discussing multiple distinct areas: [Topic A: summary], [Topic B: summary], and [Topic C: summary]. To ensure we develop clear requirements for each, would you like to:
|
|
43
|
+
- **Focus on one** - Pick the most important topic to explore thoroughly first
|
|
44
|
+
- **Continue multi-topic** - We'll track all of them, but the resulting prompt may need refinement
|
|
45
|
+
- **Create separate sessions** - Start fresh for each topic with dedicated focus"
|
|
46
|
+
|
|
47
|
+
**Complexity indicators** (suggest wrapping up/summarizing):
|
|
48
|
+
- Conversation > 15 exchanges
|
|
49
|
+
- Requirements for 5+ major features discussed
|
|
50
|
+
- Multiple technology stacks mentioned
|
|
51
|
+
- Significant scope changes or pivots occurred
|
|
52
|
+
|
|
53
|
+
When complexity threshold reached: "We've covered substantial ground. Would you like to:
|
|
54
|
+
- Continue exploring
|
|
55
|
+
- Use `/clavix:summarize` to extract what we have so far
|
|
56
|
+
- Switch to `/clavix:prd` for more structured planning"
|
|
57
|
+
|
|
35
58
|
4. Be conversational and supportive:
|
|
36
59
|
- Don't interrogate - have a natural discussion
|
|
37
60
|
- Build on their ideas
|
|
@@ -61,6 +84,59 @@ After the conversational session, `/clavix:summarize` will:
|
|
|
61
84
|
|
|
62
85
|
[Continue conversational refinement...]
|
|
63
86
|
|
|
87
|
+
## Workflow Navigation
|
|
88
|
+
|
|
89
|
+
**You are here:** Conversational Mode (Iterative Exploration)
|
|
90
|
+
|
|
91
|
+
**Common workflows:**
|
|
92
|
+
- **Exploration to prompt**: `/clavix:start` → [conversation] → `/clavix:summarize` → CLEAR-optimized prompt
|
|
93
|
+
- **Exploration to PRD**: `/clavix:start` → [conversation] → `/clavix:prd` (answer questions with discussed info)
|
|
94
|
+
- **Exploration to planning**: `/clavix:start` → `/clavix:summarize` → `/clavix:plan` → Implement
|
|
95
|
+
|
|
96
|
+
**Related commands:**
|
|
97
|
+
- `/clavix:summarize` - Extract and CLEAR-optimize conversation (typical next step)
|
|
98
|
+
- `/clavix:prd` - Switch to structured PRD generation
|
|
99
|
+
- `/clavix:fast` or `/clavix:deep` - Direct prompt improvement instead of conversation
|
|
100
|
+
|
|
64
101
|
## Note
|
|
65
102
|
|
|
66
103
|
The goal is natural exploration of requirements, not a rigid questionnaire. Follow the user's lead while gently guiding toward clarity.
|
|
104
|
+
|
|
105
|
+
## Troubleshooting
|
|
106
|
+
|
|
107
|
+
### Issue: Conversation going in circles without progress
|
|
108
|
+
**Cause**: Unclear focus or too many topics being explored
|
|
109
|
+
**Solution** (inline):
|
|
110
|
+
- Pause and summarize: "So far we've discussed [A], [B], [C]. Which should we focus on?"
|
|
111
|
+
- Suggest focusing on one topic at a time
|
|
112
|
+
- Or suggest `/clavix:summarize` to extract what's been discussed
|
|
113
|
+
|
|
114
|
+
### Issue: User provides very high-level descriptions ("build something cool")
|
|
115
|
+
**Cause**: User hasn't crystallized their ideas yet
|
|
116
|
+
**Solution**:
|
|
117
|
+
- Ask open-ended questions: "What made you think of this?"
|
|
118
|
+
- Probe for use cases: "Walk me through how someone would use this"
|
|
119
|
+
- Be patient - this mode is for exploration
|
|
120
|
+
- Multiple exchanges are normal and expected
|
|
121
|
+
|
|
122
|
+
### Issue: Detecting 3+ distinct topics but user keeps adding more
|
|
123
|
+
**Cause**: Brainstorming mode or unclear priorities
|
|
124
|
+
**Solution** (inline):
|
|
125
|
+
- Interrupt after 3+ topics detected (per multi-topic protocol)
|
|
126
|
+
- Strongly suggest focusing on one topic
|
|
127
|
+
- Alternative: Document all topics and help prioritize
|
|
128
|
+
- Consider suggesting `/clavix:prd` for each topic separately
|
|
129
|
+
|
|
130
|
+
### Issue: Conversation exceeds 20 exchanges without clarity
|
|
131
|
+
**Cause**: Too exploratory without convergence
|
|
132
|
+
**Solution**:
|
|
133
|
+
- Suggest wrapping up: "We've covered a lot. Ready to `/clavix:summarize`?"
|
|
134
|
+
- Or pivot to `/clavix:prd` for structured planning
|
|
135
|
+
- Or focus conversation: "Let's nail down the core problem first"
|
|
136
|
+
|
|
137
|
+
### Issue: User wants to switch topics mid-conversation
|
|
138
|
+
**Cause**: New idea occurred or original topic wasn't right
|
|
139
|
+
**Solution**:
|
|
140
|
+
- Note what was discussed so far
|
|
141
|
+
- Ask: "Should we continue with [original topic] or switch to [new topic]?"
|
|
142
|
+
- Suggest summarizing current topic first before switching
|
|
@@ -9,15 +9,35 @@ You are analyzing the conversation history and extracting optimized requirements
|
|
|
9
9
|
|
|
10
10
|
## Instructions
|
|
11
11
|
|
|
12
|
-
1.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
1. **Pre-Extraction Validation** - Check conversation completeness:
|
|
13
|
+
|
|
14
|
+
**Minimum viable requirements:**
|
|
15
|
+
- **Objective/Goal**: Is there a clear problem or goal stated?
|
|
16
|
+
- **Requirements**: Are there at least 2-3 concrete features or capabilities described?
|
|
17
|
+
- **Context**: Is there enough context about who/what/why?
|
|
18
|
+
|
|
19
|
+
**If missing critical elements:**
|
|
20
|
+
- Identify what's missing (e.g., "No clear objective", "Requirements too vague")
|
|
21
|
+
- Ask targeted questions to fill gaps:
|
|
22
|
+
- Missing objective: "What problem are you trying to solve?"
|
|
23
|
+
- Vague requirements: "Can you describe 2-3 specific things this should do?"
|
|
24
|
+
- No context: "Who will use this and in what situation?"
|
|
25
|
+
- **DO NOT** proceed to extraction until minimum viable requirements met
|
|
26
|
+
|
|
27
|
+
**Confidence indicators** (annotate extracted elements):
|
|
28
|
+
- **[HIGH]**: Explicitly stated multiple times with details
|
|
29
|
+
- **[MEDIUM]**: Mentioned once or inferred from context
|
|
30
|
+
- **[LOW]**: Assumed based on limited information
|
|
31
|
+
|
|
32
|
+
2. Review the entire conversation and identify (with confidence indicators):
|
|
33
|
+
- **Problem/Goal** [confidence]: What is the user trying to build or solve?
|
|
34
|
+
- **Key Requirements** [confidence per requirement]: What features and functionality were discussed?
|
|
35
|
+
- **Technical Constraints** [confidence]: Any technologies, integrations, or performance needs?
|
|
36
|
+
- **User Needs** [confidence]: Who are the end users and what do they need?
|
|
37
|
+
- **Success Criteria** [confidence]: How will success be measured?
|
|
38
|
+
- **Context** [confidence]: Any important background or constraints?
|
|
39
|
+
|
|
40
|
+
3. Generate TWO outputs:
|
|
21
41
|
|
|
22
42
|
**Mini-PRD** (structured document):
|
|
23
43
|
```markdown
|
|
@@ -52,12 +72,18 @@ You are analyzing the conversation history and extracting optimized requirements
|
|
|
52
72
|
[Success criteria and any important context]
|
|
53
73
|
```
|
|
54
74
|
|
|
55
|
-
3. **CLEAR Framework Optimization** (automatic):
|
|
56
|
-
- After extracting the optimized prompt,
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
75
|
+
3. **CLEAR Framework Optimization** (automatic with labeled improvements):
|
|
76
|
+
- After extracting the optimized prompt, analyze using CLEAR framework
|
|
77
|
+
- Apply Conciseness, Logic, and Explicitness enhancements
|
|
78
|
+
- **Label all improvements** with CLEAR component tags:
|
|
79
|
+
- **[C]**: "Removed 12 conversational words, reduced from 45 to 28 words"
|
|
80
|
+
- **[L]**: "Restructured flow: context → requirements → constraints → success criteria"
|
|
81
|
+
- **[E]**: "Added explicit output format (React component), persona (senior dev), success metrics (load time < 2s)"
|
|
82
|
+
- Display both raw extraction and CLEAR-enhanced version
|
|
83
|
+
- Show CLEAR scores (before/after) and labeled improvements
|
|
84
|
+
- Save both versions:
|
|
85
|
+
- `optimized-prompt.md` (raw extraction)
|
|
86
|
+
- `clear-optimized-prompt.md` (CLEAR-enhanced with improvement notes)
|
|
61
87
|
|
|
62
88
|
4. Highlight key insights discovered during the conversation.
|
|
63
89
|
|
|
@@ -78,12 +104,26 @@ You are analyzing the conversation history and extracting optimized requirements
|
|
|
78
104
|
|
|
79
105
|
## Quality Checks
|
|
80
106
|
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
107
|
+
- Clear objective stated
|
|
108
|
+
- Specific, actionable requirements
|
|
109
|
+
- Technical constraints identified
|
|
110
|
+
- Success criteria defined
|
|
111
|
+
- User needs considered
|
|
112
|
+
- CLEAR framework applied for AI consumption
|
|
113
|
+
|
|
114
|
+
## Workflow Navigation
|
|
115
|
+
|
|
116
|
+
**You are here:** Summarize (Conversation Extraction)
|
|
117
|
+
|
|
118
|
+
**Common workflows:**
|
|
119
|
+
- **Standard flow**: `/clavix:start` → [conversation] → `/clavix:summarize` → Use CLEAR-optimized prompt
|
|
120
|
+
- **To implementation**: `/clavix:summarize` → `/clavix:plan` → `/clavix:implement` → `/clavix:archive`
|
|
121
|
+
- **Standalone use**: [Any conversation] → `/clavix:summarize` → Extract and optimize
|
|
122
|
+
|
|
123
|
+
**Related commands:**
|
|
124
|
+
- `/clavix:start` - Begin conversational exploration (typical previous step)
|
|
125
|
+
- `/clavix:plan` - Generate tasks from extracted mini-PRD (next step)
|
|
126
|
+
- `/clavix:fast` or `/clavix:deep` - Further optimize the extracted prompt
|
|
87
127
|
|
|
88
128
|
## Example
|
|
89
129
|
|
|
@@ -97,3 +137,43 @@ Technical stack: React + TypeScript frontend, integrate with existing Salesforce
|
|
|
97
137
|
|
|
98
138
|
Success: Sales managers can identify issues within 30 seconds of opening, dashboard loads in <2 seconds, 90% of team uses it daily within first month.
|
|
99
139
|
```
|
|
140
|
+
|
|
141
|
+
## Troubleshooting
|
|
142
|
+
|
|
143
|
+
### Issue: Pre-extraction validation fails (missing objective/requirements)
|
|
144
|
+
**Cause**: Conversation didn't cover enough detail
|
|
145
|
+
**Solution** (inline - DO NOT extract):
|
|
146
|
+
- List what's missing specifically
|
|
147
|
+
- Ask targeted questions to fill gaps
|
|
148
|
+
- Only proceed to extraction after minimum viable requirements met
|
|
149
|
+
- Show confidence indicators for what WAS discussed
|
|
150
|
+
|
|
151
|
+
### Issue: Conversation covered multiple unrelated topics
|
|
152
|
+
**Cause**: Exploratory discussion without focus
|
|
153
|
+
**Solution**:
|
|
154
|
+
- Ask user which topic to extract/focus on
|
|
155
|
+
- Or extract all topics separately into different sections
|
|
156
|
+
- Mark multi-topic extraction with [MULTI-TOPIC] indicator
|
|
157
|
+
- Suggest breaking into separate PRDs for each topic
|
|
158
|
+
|
|
159
|
+
### Issue: CLEAR optimization doesn't significantly improve extracted prompt
|
|
160
|
+
**Cause**: Conversation was already well-structured and detailed
|
|
161
|
+
**Solution**:
|
|
162
|
+
- Minor improvements are normal for good conversations
|
|
163
|
+
- Show CLEAR scores (should be high: >80%)
|
|
164
|
+
- Still provide both versions but note that original extraction was already CLEAR
|
|
165
|
+
|
|
166
|
+
### Issue: Low confidence indicators across all extracted elements
|
|
167
|
+
**Cause**: Conversation was too vague or high-level
|
|
168
|
+
**Solution** (inline):
|
|
169
|
+
- Don't just extract with [LOW] markers everywhere
|
|
170
|
+
- Ask follow-up questions to increase confidence
|
|
171
|
+
- Or inform user: "Our conversation was exploratory. I recommend `/clavix:start` to go deeper, or `/clavix:prd` for structured planning"
|
|
172
|
+
|
|
173
|
+
### Issue: Extracted prompt contradicts earlier conversation
|
|
174
|
+
**Cause**: Requirements evolved during conversation
|
|
175
|
+
**Solution**:
|
|
176
|
+
- Use latest/final version of requirements
|
|
177
|
+
- Note that requirements evolved
|
|
178
|
+
- Ask user to confirm which version is correct
|
|
179
|
+
- Suggest starting fresh with `/clavix:prd` if major contradictions exist
|
|
@@ -47,7 +47,33 @@ You are helping the user archive completed PRD projects to keep their workspace
|
|
|
47
47
|
- User wants to archive work-in-progress
|
|
48
48
|
- Tasks are incomplete but project is done
|
|
49
49
|
|
|
50
|
-
5. **
|
|
50
|
+
5. **Delete Project (Permanent Removal)**: **DESTRUCTIVE ACTION**
|
|
51
|
+
```bash
|
|
52
|
+
clavix archive [project-name] --delete
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**WARNING**: This PERMANENTLY deletes the project. Cannot be restored.
|
|
56
|
+
|
|
57
|
+
**When to delete vs archive:**
|
|
58
|
+
- **DELETE**: Failed experiments, duplicate projects, test/demo data, abandoned prototypes with no value
|
|
59
|
+
- **ARCHIVE**: Completed work, incomplete but potentially useful work, anything you might reference later
|
|
60
|
+
|
|
61
|
+
**Delete decision tree:**
|
|
62
|
+
```
|
|
63
|
+
Is this a failed experiment with no learning value? → DELETE
|
|
64
|
+
Is this a duplicate/test project with no unique info? → DELETE
|
|
65
|
+
Might you need to reference this code later? → ARCHIVE
|
|
66
|
+
Could this be useful for learning/reference? → ARCHIVE
|
|
67
|
+
Are you unsure? → ARCHIVE (safe default)
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Safety confirmation required:**
|
|
71
|
+
- Shows project details and task status
|
|
72
|
+
- Requires typing project name to confirm
|
|
73
|
+
- Warns about permanent deletion
|
|
74
|
+
- Lists what will be permanently deleted
|
|
75
|
+
|
|
76
|
+
6. **List Archived Projects**:
|
|
51
77
|
```bash
|
|
52
78
|
clavix archive --list
|
|
53
79
|
```
|
|
@@ -63,14 +89,14 @@ You are helping the user archive completed PRD projects to keep their workspace
|
|
|
63
89
|
|
|
64
90
|
## When to Archive
|
|
65
91
|
|
|
66
|
-
|
|
92
|
+
**Good times to archive:**
|
|
67
93
|
- All implementation tasks are completed (`tasks.md` shows 100%)
|
|
68
94
|
- Project has been deployed/shipped to production
|
|
69
95
|
- Feature is complete and no more work planned
|
|
70
96
|
- User explicitly requests archival
|
|
71
97
|
- Old/abandoned projects that won't be continued
|
|
72
98
|
|
|
73
|
-
|
|
99
|
+
**Don't archive when:**
|
|
74
100
|
- Tasks are still in progress (unless using --force)
|
|
75
101
|
- Project is actively being worked on
|
|
76
102
|
- Future enhancements are planned in current tasks
|
|
@@ -131,6 +157,29 @@ You: "I'll restore it from the archive"
|
|
|
131
157
|
Result: Project moved back to .clavix/outputs/user-authentication-system/
|
|
132
158
|
```
|
|
133
159
|
|
|
160
|
+
### Workflow 4: Delete Failed Experiment
|
|
161
|
+
```
|
|
162
|
+
User: "I have a test project 'api-experiment-1' that I don't need anymore"
|
|
163
|
+
You: "Is this something you might reference later, or can it be permanently deleted?"
|
|
164
|
+
|
|
165
|
+
User: "It was just a quick test, no value. Delete it."
|
|
166
|
+
You: "This will permanently delete the project. I'll run the delete command."
|
|
167
|
+
|
|
168
|
+
Run: clavix archive api-experiment-1 --delete
|
|
169
|
+
|
|
170
|
+
System shows:
|
|
171
|
+
Project: api-experiment-1
|
|
172
|
+
Tasks: 3/5 completed
|
|
173
|
+
Files: full-prd.md, quick-prd.md, tasks.md
|
|
174
|
+
|
|
175
|
+
WARNING: This action is PERMANENT and CANNOT be undone.
|
|
176
|
+
Type the project name to confirm deletion: _
|
|
177
|
+
|
|
178
|
+
User types: api-experiment-1
|
|
179
|
+
|
|
180
|
+
Result: Project permanently deleted from .clavix/outputs/api-experiment-1/
|
|
181
|
+
```
|
|
182
|
+
|
|
134
183
|
## AI Agent Guidelines
|
|
135
184
|
|
|
136
185
|
When user mentions archiving or cleaning up projects:
|
|
@@ -155,6 +204,28 @@ When user mentions archiving or cleaning up projects:
|
|
|
155
204
|
- Use `clavix archive --list` to show what's archived
|
|
156
205
|
- Offer to restore if needed
|
|
157
206
|
|
|
207
|
+
5. **Handle delete requests carefully**:
|
|
208
|
+
- Always ask if they want to delete or archive
|
|
209
|
+
- Explain that delete is permanent and irreversible
|
|
210
|
+
- Suggest archive as the safer default
|
|
211
|
+
- Use decision tree to help user decide
|
|
212
|
+
- Only proceed with `--delete` after clear confirmation
|
|
213
|
+
- Double-check it's truly no-value content (failed experiments, duplicates)
|
|
214
|
+
|
|
215
|
+
## Workflow Navigation
|
|
216
|
+
|
|
217
|
+
**You are here:** Archive (Project Cleanup)
|
|
218
|
+
|
|
219
|
+
**Common workflows:**
|
|
220
|
+
- **Complete workflow**: `/clavix:implement` → [all tasks done] → `/clavix:archive` → Clean workspace
|
|
221
|
+
- **Review and archive**: `/clavix:archive` → [select completed project] → Archive
|
|
222
|
+
- **Restore old work**: `/clavix:archive --list` → `/clavix:archive --restore [project]` → Resume
|
|
223
|
+
|
|
224
|
+
**Related commands:**
|
|
225
|
+
- `/clavix:implement` - Complete remaining tasks before archiving
|
|
226
|
+
- `/clavix:plan` - Review task completion status
|
|
227
|
+
- `/clavix:prd` - Start new project after archiving old one
|
|
228
|
+
|
|
158
229
|
## Tips
|
|
159
230
|
|
|
160
231
|
- Archive keeps your active projects list clean and focused
|
|
@@ -162,3 +233,59 @@ When user mentions archiving or cleaning up projects:
|
|
|
162
233
|
- Archive is searchable - you can still `grep` or find files in archive/
|
|
163
234
|
- Regular archiving improves `/clavix:plan` and `/clavix:implement` performance
|
|
164
235
|
- Use `--list` regularly to know what's been archived
|
|
236
|
+
|
|
237
|
+
## Troubleshooting
|
|
238
|
+
|
|
239
|
+
### Issue: No projects available to archive
|
|
240
|
+
**Cause**: No projects in `.clavix/outputs/` OR all already archived
|
|
241
|
+
**Solution**:
|
|
242
|
+
- Run `clavix archive --list` to see archived projects
|
|
243
|
+
- Check `.clavix/outputs/` for active projects
|
|
244
|
+
- If none exist, no action needed
|
|
245
|
+
|
|
246
|
+
### Issue: Trying to archive project with incomplete tasks
|
|
247
|
+
**Cause**: User wants to archive but tasks aren't 100% done
|
|
248
|
+
**Solution** (inline):
|
|
249
|
+
- Warn: "Project has X incomplete tasks. Archive anyway?"
|
|
250
|
+
- Show which tasks are incomplete
|
|
251
|
+
- Suggest `--force` flag if user confirms
|
|
252
|
+
- Recommend completing tasks first if they're actually unfinished (not scope-changed)
|
|
253
|
+
|
|
254
|
+
### Issue: Cannot restore archived project (name conflict)
|
|
255
|
+
**Cause**: Project with same name already exists in active outputs
|
|
256
|
+
**Solution**:
|
|
257
|
+
- Error: "Project '[name]' already exists in active outputs"
|
|
258
|
+
- Suggest renaming one of them
|
|
259
|
+
- Or archive the active one first, then restore
|
|
260
|
+
- Or restore to different name (if CLI supports it)
|
|
261
|
+
|
|
262
|
+
### Issue: Unsure whether to delete or archive
|
|
263
|
+
**Cause**: User wants to clean up but uncertain about permanence
|
|
264
|
+
**Solution**:
|
|
265
|
+
- Use the decision tree in template
|
|
266
|
+
- Default recommendation: ARCHIVE (safer)
|
|
267
|
+
- Only suggest delete for: duplicates, failed experiments, test data
|
|
268
|
+
- Remind: Archive is free, disk space is cheap, regret is expensive
|
|
269
|
+
|
|
270
|
+
### Issue: Accidentally deleted project (used --delete instead of archive)
|
|
271
|
+
**Cause**: User error or misunderstanding of --delete flag
|
|
272
|
+
**Solution**:
|
|
273
|
+
- Cannot be recovered from Clavix
|
|
274
|
+
- Check if git history exists (if code was committed)
|
|
275
|
+
- Check if user has backups
|
|
276
|
+
- Learn: Use archive by default, delete only when absolutely certain
|
|
277
|
+
|
|
278
|
+
### Issue: Archive directory getting too large
|
|
279
|
+
**Cause**: Many archived projects accumulating
|
|
280
|
+
**Solution**:
|
|
281
|
+
- Archive is meant to grow - this is normal
|
|
282
|
+
- Projects in archive don't affect performance
|
|
283
|
+
- If truly concerned: Review archive, delete ancient/irrelevant projects
|
|
284
|
+
- Or move very old archives to external backup storage
|
|
285
|
+
|
|
286
|
+
### Issue: Archived project but forgot what it was about
|
|
287
|
+
**Cause**: No naming convention or time passed
|
|
288
|
+
**Solution**:
|
|
289
|
+
- Read PRD in archived project: `.clavix/outputs/archive/[project]/full-prd.md`
|
|
290
|
+
- PRD contains problem, goal, and features
|
|
291
|
+
- Consider better naming conventions: date-feature format (e.g., "2024-01-user-auth")
|
|
@@ -31,21 +31,37 @@ An academically-validated prompt engineering framework by Dr. Leo Lo (University
|
|
|
31
31
|
- **Adaptiveness [A]**: Multiple variations and approaches
|
|
32
32
|
- **Reflectiveness [R]**: Full validation and edge case analysis
|
|
33
33
|
|
|
34
|
-
3. **
|
|
34
|
+
3. **Strategic Scope Detection** (before detailed analysis):
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
**Check for strategic concerns** by identifying keywords/themes:
|
|
37
|
+
- **Architecture**: system design, microservices, monolith, architecture patterns, scalability patterns
|
|
38
|
+
- **Security**: authentication, authorization, encryption, security, OWASP, vulnerabilities, threat model
|
|
39
|
+
- **Scalability**: load balancing, caching, database scaling, performance optimization, high availability
|
|
40
|
+
- **Infrastructure**: deployment, CI/CD, DevOps, cloud infrastructure, containers, orchestration
|
|
41
|
+
- **Business Impact**: ROI, business metrics, KPIs, stakeholder impact, market analysis
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
**If 3+ strategic keywords detected**:
|
|
44
|
+
Ask the user: "I notice this involves strategic decisions around [detected themes]. These topics benefit from PRD-style planning with business context and architectural considerations. Would you like to:
|
|
45
|
+
- Switch to `/clavix:prd` for comprehensive strategic planning (recommended)
|
|
46
|
+
- Continue with deep mode for prompt-level analysis only"
|
|
39
47
|
|
|
40
|
-
|
|
48
|
+
**If user chooses to continue**, proceed with deep analysis but remind them at the end that `/clavix:prd` is available for strategic planning.
|
|
41
49
|
|
|
42
|
-
|
|
50
|
+
4. **Generate Comprehensive Output**:
|
|
51
|
+
|
|
52
|
+
a. **CLEAR Assessment** (all 5 components with scores)
|
|
53
|
+
|
|
54
|
+
b. **CLEAR-Optimized Prompt** (applying all components)
|
|
55
|
+
|
|
56
|
+
c. **CLEAR Changes Made** (labeled with [C], [L], [E], [A], [R])
|
|
57
|
+
|
|
58
|
+
d. **Adaptive Variations [A]**:
|
|
43
59
|
- 2-3 alternative phrasings
|
|
44
60
|
- Alternative structures (user story, job story, structured)
|
|
45
61
|
- Temperature recommendations
|
|
46
62
|
- Explain when each approach is most appropriate
|
|
47
63
|
|
|
48
|
-
e.
|
|
64
|
+
e. **Reflection Checklist [R]**:
|
|
49
65
|
- Validation steps for accuracy
|
|
50
66
|
- Edge cases to consider
|
|
51
67
|
- "What could go wrong" analysis
|
|
@@ -62,14 +78,14 @@ An academically-validated prompt engineering framework by Dr. Leo Lo (University
|
|
|
62
78
|
|
|
63
79
|
## Deep Mode Features
|
|
64
80
|
|
|
65
|
-
|
|
81
|
+
**Include (Full CLEAR Framework):**
|
|
66
82
|
- **[C, L, E]**: All fast mode analysis (conciseness, logic, explicitness)
|
|
67
83
|
- **[A] Adaptive**: Alternative phrasings, structures, flexibility, temperature
|
|
68
84
|
- **[R] Reflective**: Validation checklist, edge cases, quality criteria, fact-checking
|
|
69
85
|
- **CLEAR Assessment**: All 5 component scores
|
|
70
86
|
- **CLEAR-labeled Changes**: Educational feedback showing which component improved what
|
|
71
87
|
|
|
72
|
-
|
|
88
|
+
**Do NOT include (these belong in `/clavix:prd`):**
|
|
73
89
|
- System architecture recommendations
|
|
74
90
|
- Security best practices
|
|
75
91
|
- Scalability strategy
|
|
@@ -101,12 +117,12 @@ Output:
|
|
|
101
117
|
- How to handle session expiration during active use?
|
|
102
118
|
|
|
103
119
|
## Implementation Examples
|
|
104
|
-
|
|
120
|
+
**Good:**
|
|
105
121
|
- Prompt specifies authentication method, error handling, and accessibility requirements
|
|
106
122
|
- Includes context about existing auth system and integration points
|
|
107
123
|
- Defines measurable success criteria (load time, accessibility score)
|
|
108
124
|
|
|
109
|
-
|
|
125
|
+
**Bad:**
|
|
110
126
|
- "Make a login page" - no context, constraints, or success criteria
|
|
111
127
|
- Missing technical stack and integration requirements
|
|
112
128
|
- No consideration of security or user experience
|
|
@@ -137,6 +153,20 @@ Output:
|
|
|
137
153
|
- **Deep mode** (`/clavix:deep`): Full CLEAR (C, L, E, A, R) - comprehensive analysis with alternatives and validation
|
|
138
154
|
- **PRD mode** (`/clavix:prd`): CLEAR-validated PRD generation - strategic planning with architecture decisions
|
|
139
155
|
|
|
156
|
+
## Workflow Navigation
|
|
157
|
+
|
|
158
|
+
**You are here:** Deep Mode (Comprehensive CLEAR Analysis)
|
|
159
|
+
|
|
160
|
+
**Common workflows:**
|
|
161
|
+
- **Thorough analysis**: `/clavix:deep` → Use optimized prompt + alternatives
|
|
162
|
+
- **Escalate to strategic**: `/clavix:deep` → (detects strategic scope) → `/clavix:prd` → Plan → Implement → Archive
|
|
163
|
+
- **From fast mode**: `/clavix:fast` → (suggests) `/clavix:deep` → Full analysis with A & R components
|
|
164
|
+
|
|
165
|
+
**Related commands:**
|
|
166
|
+
- `/clavix:fast` - Quick CLEAR improvements (C, L, E only)
|
|
167
|
+
- `/clavix:prd` - Strategic PRD generation for architecture/business decisions
|
|
168
|
+
- `/clavix:start` - Conversational mode for exploring unclear requirements
|
|
169
|
+
|
|
140
170
|
## Tips
|
|
141
171
|
|
|
142
172
|
- **Apply full CLEAR framework** systematically: all 5 components
|
|
@@ -145,3 +175,33 @@ Output:
|
|
|
145
175
|
- Use **[A] Adaptive** to explore alternative approaches
|
|
146
176
|
- Use **[R] Reflective** to identify edge cases and validation needs
|
|
147
177
|
- For architecture, security, and scalability, recommend `/clavix:prd`
|
|
178
|
+
|
|
179
|
+
## Troubleshooting
|
|
180
|
+
|
|
181
|
+
### Issue: Strategic scope detected but user wants to continue with deep mode
|
|
182
|
+
**Cause**: User prefers deep analysis over PRD generation
|
|
183
|
+
**Solution**:
|
|
184
|
+
- Proceed with deep mode as requested
|
|
185
|
+
- Remind at end that `/clavix:prd` is available for strategic planning
|
|
186
|
+
- Focus on prompt-level CLEAR analysis, exclude architecture recommendations
|
|
187
|
+
|
|
188
|
+
### Issue: Too many alternative variations making output overwhelming
|
|
189
|
+
**Cause**: Adaptive component generating many options
|
|
190
|
+
**Solution**:
|
|
191
|
+
- Limit to 2-3 most distinct alternatives
|
|
192
|
+
- Focus on meaningfully different approaches (not minor wording changes)
|
|
193
|
+
- Group similar variations together
|
|
194
|
+
|
|
195
|
+
### Issue: Reflective validation finding too many edge cases
|
|
196
|
+
**Cause**: Complex prompt with many potential failure modes
|
|
197
|
+
**Solution**:
|
|
198
|
+
- Prioritize most likely or highest-impact edge cases
|
|
199
|
+
- Group related edge cases
|
|
200
|
+
- Suggest documenting all edge cases in PRD for complex projects
|
|
201
|
+
|
|
202
|
+
### Issue: Deep analysis still feels insufficient for complex project
|
|
203
|
+
**Cause**: Project needs strategic planning, not just prompt analysis
|
|
204
|
+
**Solution**:
|
|
205
|
+
- Switch to `/clavix:prd` for comprehensive planning
|
|
206
|
+
- Deep mode is for prompts, PRD mode is for projects
|
|
207
|
+
- Use PRD workflow: PRD → Plan → Implement
|
|
@@ -29,15 +29,25 @@ An academically-validated prompt engineering framework by Dr. Leo Lo (University
|
|
|
29
29
|
- **Logic [L]**: Check sequencing and flow - is information presented coherently?
|
|
30
30
|
- **Explicitness [E]**: Verify specifications - persona, output format, tone, success criteria
|
|
31
31
|
|
|
32
|
-
3. **CLEAR-Aware Smart Triage**:
|
|
33
|
-
- Is it less than 20 characters?
|
|
34
|
-
- Missing 3+ critical elements (context, tech stack, success criteria, user needs, expected output)?
|
|
35
|
-
- Contains vague scope words ("app", "system", "project") without context?
|
|
36
|
-
- **Low CLEAR scores** (Conciseness < 60%, Logic < 60%, Explicitness < 50%)
|
|
32
|
+
3. **CLEAR-Aware Smart Triage**: Use multi-factor content-quality assessment to determine if deep analysis is needed:
|
|
37
33
|
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
|
|
34
|
+
**Primary Indicators** (CLEAR scores - most important):
|
|
35
|
+
- **Low CLEAR scores**: Conciseness < 60%, Logic < 60%, or Explicitness < 50%
|
|
36
|
+
|
|
37
|
+
**Secondary Indicators** (content quality):
|
|
38
|
+
- **Missing critical elements**: 3+ missing from (context, tech stack, success criteria, user needs, expected output)
|
|
39
|
+
- **Scope clarity**: Contains vague words ("app", "system", "project", "feature") without defining what/who/why
|
|
40
|
+
- **Requirement completeness**: Lacks actionable requirements or measurable outcomes
|
|
41
|
+
- **Context depth**: Extremely brief (<15 words) OR overly verbose (>100 words without structure)
|
|
42
|
+
|
|
43
|
+
**Escalation Decision**:
|
|
44
|
+
- If **Low CLEAR scores** + **2+ Secondary Indicators**: **Strongly recommend `/clavix:deep`**
|
|
45
|
+
- If **Low CLEAR scores** only: **Suggest `/clavix:deep`** but can proceed with fast mode
|
|
46
|
+
- Explain which CLEAR component needs deeper analysis and why
|
|
47
|
+
|
|
48
|
+
Ask the user:
|
|
49
|
+
- Switch to deep mode (recommended when strongly recommended)
|
|
50
|
+
- Continue with fast mode (acceptable for suggestion-level, but at their own risk for strong recommendation)
|
|
41
51
|
|
|
42
52
|
4. Generate a **CLEAR-optimized** structured prompt with these sections:
|
|
43
53
|
**Objective**: Clear, specific goal
|
|
@@ -55,13 +65,13 @@ An academically-validated prompt engineering framework by Dr. Leo Lo (University
|
|
|
55
65
|
|
|
56
66
|
## Fast Mode Features
|
|
57
67
|
|
|
58
|
-
|
|
68
|
+
**Include (CLEAR C, L, E):**
|
|
59
69
|
- **CLEAR Assessment** (Conciseness, Logic, Explicitness scores with issues)
|
|
60
70
|
- Single CLEAR-optimized improved prompt
|
|
61
71
|
- **CLEAR Changes Made** (labeled with [C], [L], [E] components)
|
|
62
72
|
- Recommendation to use deep mode for Adaptive & Reflective components
|
|
63
73
|
|
|
64
|
-
|
|
74
|
+
**Skip (use `/clavix:deep` instead):**
|
|
65
75
|
- **[A] Adaptive**: Alternative phrasings, structures, flexibility
|
|
66
76
|
- **[R] Reflective**: Validation checklists, edge cases, quality criteria
|
|
67
77
|
- Strategic analysis (architecture, security - that's for `/clavix:prd`)
|
|
@@ -72,9 +82,9 @@ If user provides: "Please could you maybe help me create a login page?"
|
|
|
72
82
|
|
|
73
83
|
Output:
|
|
74
84
|
```
|
|
75
|
-
##
|
|
85
|
+
## CLEAR Analysis (Fast Mode)
|
|
76
86
|
|
|
77
|
-
###
|
|
87
|
+
### CLEAR Framework Assessment:
|
|
78
88
|
|
|
79
89
|
[C] Conciseness: 45%
|
|
80
90
|
• 4 unnecessary pleasantries detected ("Please", "could you", "maybe", "help me")
|
|
@@ -90,11 +100,11 @@ Output:
|
|
|
90
100
|
|
|
91
101
|
Overall CLEAR Score: 51% (needs-improvement)
|
|
92
102
|
|
|
93
|
-
|
|
103
|
+
Recommendation:
|
|
94
104
|
For Adaptive variations (A) and Reflective validation (R), use:
|
|
95
105
|
clavix deep "<your prompt>"
|
|
96
106
|
|
|
97
|
-
###
|
|
107
|
+
### CLEAR-Optimized Prompt:
|
|
98
108
|
|
|
99
109
|
Objective: Build a secure user authentication login page
|
|
100
110
|
|
|
@@ -119,13 +129,27 @@ Success Criteria:
|
|
|
119
129
|
- Invalid credentials show appropriate errors
|
|
120
130
|
- Page is accessible via keyboard navigation
|
|
121
131
|
|
|
122
|
-
###
|
|
132
|
+
### CLEAR Changes Made:
|
|
123
133
|
|
|
124
134
|
[C] Removed 4 pleasantries ("Please", "could you", "maybe", "help me"), reduced from 11 words to core intent
|
|
125
135
|
[L] Structured logical flow: Objective → Requirements → Technical Constraints → Expected Output → Success Criteria
|
|
126
136
|
[E] Added explicit specifications: React TypeScript persona, component output format, production-ready tone, accessibility criteria
|
|
127
137
|
```
|
|
128
138
|
|
|
139
|
+
## Workflow Navigation
|
|
140
|
+
|
|
141
|
+
**You are here:** Fast Mode (Quick CLEAR Improvement)
|
|
142
|
+
|
|
143
|
+
**Common workflows:**
|
|
144
|
+
- **Quick cleanup**: `/clavix:fast` → Use improved prompt
|
|
145
|
+
- **Need more depth**: `/clavix:fast` → (suggests) `/clavix:deep` → Comprehensive analysis
|
|
146
|
+
- **Strategic planning**: `/clavix:fast` → (suggests) `/clavix:prd` → Plan → Implement → Archive
|
|
147
|
+
|
|
148
|
+
**Related commands:**
|
|
149
|
+
- `/clavix:deep` - Full CLEAR analysis (all 5 components: C, L, E, A, R)
|
|
150
|
+
- `/clavix:prd` - Generate PRD for strategic planning
|
|
151
|
+
- `/clavix:start` - Conversational exploration before prompting
|
|
152
|
+
|
|
129
153
|
## Tips
|
|
130
154
|
|
|
131
155
|
- **Apply CLEAR framework** systematically: C, L, E components
|
|
@@ -134,3 +158,26 @@ Success Criteria:
|
|
|
134
158
|
- For comprehensive analysis with [A] and [R], recommend `/clavix:deep`
|
|
135
159
|
- For strategic planning, recommend `/clavix:prd`
|
|
136
160
|
- Focus on making prompts **CLEAR** quickly
|
|
161
|
+
|
|
162
|
+
## Troubleshooting
|
|
163
|
+
|
|
164
|
+
### Issue: Triage keeps recommending deep mode
|
|
165
|
+
**Cause**: Prompt has low CLEAR scores + multiple secondary indicators
|
|
166
|
+
**Solution**:
|
|
167
|
+
- Accept the recommendation - deep mode will provide better analysis
|
|
168
|
+
- OR improve prompt manually before running fast mode again
|
|
169
|
+
- Check which CLEAR component is scoring low and address it
|
|
170
|
+
|
|
171
|
+
### Issue: Can't determine if prompt is complex enough for deep mode
|
|
172
|
+
**Cause**: Borderline CLEAR scores or unclear content quality
|
|
173
|
+
**Solution**:
|
|
174
|
+
- Err on side of fast mode first
|
|
175
|
+
- If output feels insufficient, escalate to `/clavix:deep`
|
|
176
|
+
- Use triage as guidance, not absolute rule
|
|
177
|
+
|
|
178
|
+
### Issue: Improved prompt still feels incomplete
|
|
179
|
+
**Cause**: Fast mode only applies C, L, E components
|
|
180
|
+
**Solution**:
|
|
181
|
+
- Use `/clavix:deep` for Adaptive variations and Reflective validation
|
|
182
|
+
- OR use `/clavix:prd` if strategic planning is needed
|
|
183
|
+
- Fast mode is for quick cleanup, not comprehensive analysis
|