clavix 7.2.0 → 7.2.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.
Files changed (27) hide show
  1. package/README.md +10 -0
  2. package/dist/core/adapters/agent-skills-adapter.d.ts +2 -1
  3. package/dist/core/adapters/agent-skills-adapter.js +10 -3
  4. package/dist/templates/agents/agents.md +17 -0
  5. package/dist/templates/skills/implement-templates/implementer-prompt.md +117 -0
  6. package/dist/templates/skills/implement-templates/quality-reviewer-prompt.md +121 -0
  7. package/dist/templates/skills/implement-templates/spec-reviewer-prompt.md +108 -0
  8. package/dist/templates/skills/implement.md +108 -21
  9. package/dist/templates/skills/plan.md +27 -4
  10. package/dist/templates/skills/prd.md +22 -6
  11. package/dist/templates/skills/using-clavix.md +269 -0
  12. package/dist/templates/skills/verify.md +98 -14
  13. package/dist/templates/slash-commands/_canonical/archive.md +1 -1
  14. package/dist/templates/slash-commands/_canonical/implement.md +1 -1
  15. package/dist/templates/slash-commands/_canonical/improve.md +1 -1
  16. package/dist/templates/slash-commands/_canonical/plan.md +1 -1
  17. package/dist/templates/slash-commands/_canonical/prd.md +1 -1
  18. package/dist/templates/slash-commands/_canonical/refine.md +1 -1
  19. package/dist/templates/slash-commands/_canonical/review.md +1 -1
  20. package/dist/templates/slash-commands/_canonical/start.md +1 -1
  21. package/dist/templates/slash-commands/_canonical/summarize.md +1 -1
  22. package/dist/templates/slash-commands/_canonical/verify.md +1 -1
  23. package/package.json +1 -1
  24. package/dist/templates/agents/agents 3.md +0 -200
  25. package/dist/templates/agents/agents 5.md +0 -200
  26. package/dist/templates/agents/octo 3.md +0 -237
  27. package/dist/templates/agents/octo 4.md +0 -237
package/README.md CHANGED
@@ -81,3 +81,13 @@ Run `clavix init` and select your tools. Command format varies by tool:
81
81
  ## License
82
82
 
83
83
  Apache-2.0
84
+
85
+ ## Star History
86
+
87
+ <a href="https://www.star-history.com/#ClavixDev/Clavix&type=date&legend=top-left">
88
+ <picture>
89
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=ClavixDev/Clavix&type=date&theme=dark&legend=top-left" />
90
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=ClavixDev/Clavix&type=date&legend=top-left" />
91
+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=ClavixDev/Clavix&type=date&legend=top-left" />
92
+ </picture>
93
+ </a>
@@ -45,6 +45,7 @@ export declare class AgentSkillsAdapter extends BaseAdapter {
45
45
  /**
46
46
  * Skills use directory names, not filenames
47
47
  * Returns the skill directory name (e.g., 'clavix-improve')
48
+ * Special case: 'using-clavix' keeps its name (no prefix) to match superpowers pattern
48
49
  */
49
50
  getTargetFilename(name: string): string;
50
51
  /**
@@ -82,7 +83,7 @@ export declare class AgentSkillsAdapter extends BaseAdapter {
82
83
  removeAllCommands(): Promise<number>;
83
84
  /**
84
85
  * Determine if an entry is a Clavix-generated skill
85
- * Skills are directories starting with 'clavix-'
86
+ * Skills are directories starting with 'clavix-' or the special 'using-clavix' meta-skill
86
87
  */
87
88
  protected isClavixGeneratedCommand(name: string): boolean;
88
89
  /**
@@ -104,8 +104,13 @@ export class AgentSkillsAdapter extends BaseAdapter {
104
104
  /**
105
105
  * Skills use directory names, not filenames
106
106
  * Returns the skill directory name (e.g., 'clavix-improve')
107
+ * Special case: 'using-clavix' keeps its name (no prefix) to match superpowers pattern
107
108
  */
108
109
  getTargetFilename(name) {
110
+ // using-clavix is special - it's the meta-skill that tells agents how to use other skills
111
+ if (name === 'using-clavix') {
112
+ return 'using-clavix';
113
+ }
109
114
  return `clavix-${name}`;
110
115
  }
111
116
  /**
@@ -147,7 +152,8 @@ export class AgentSkillsAdapter extends BaseAdapter {
147
152
  * Generate a single skill directory from a command template
148
153
  */
149
154
  async generateSkill(template, basePath) {
150
- const skillName = `clavix-${template.name}`;
155
+ // using-clavix keeps its name (no prefix) - it's the meta-skill
156
+ const skillName = template.name === 'using-clavix' ? 'using-clavix' : `clavix-${template.name}`;
151
157
  const skillDir = path.join(basePath, skillName);
152
158
  // Ensure skill directory exists
153
159
  await FileSystem.ensureDir(skillDir);
@@ -190,6 +196,7 @@ export class AgentSkillsAdapter extends BaseAdapter {
190
196
  verify: 'Verify implementation against PRD requirements with systematic checking. Use after implementation to validate completeness.',
191
197
  review: 'Review code changes with criteria-driven analysis (Security, Architecture, Standards, Performance). Use when reviewing PRs or code changes.',
192
198
  archive: 'Archive completed projects by moving outputs to archive directory. Use when a project is complete and ready for archival.',
199
+ 'using-clavix': 'Use when starting any conversation involving Clavix workflows - establishes skill invocation rules, verification requirements, and workflow orchestration',
193
200
  };
194
201
  return descriptionMap[name] || baseDescription;
195
202
  }
@@ -221,10 +228,10 @@ export class AgentSkillsAdapter extends BaseAdapter {
221
228
  }
222
229
  /**
223
230
  * Determine if an entry is a Clavix-generated skill
224
- * Skills are directories starting with 'clavix-'
231
+ * Skills are directories starting with 'clavix-' or the special 'using-clavix' meta-skill
225
232
  */
226
233
  isClavixGeneratedCommand(name) {
227
- return name.startsWith('clavix-');
234
+ return name.startsWith('clavix-') || name === 'using-clavix';
228
235
  }
229
236
  /**
230
237
  * Validate skills directory
@@ -4,6 +4,23 @@ This guide is for agents that can only read documentation (no slash-command supp
4
4
 
5
5
  ---
6
6
 
7
+ ## 🚨 FIRST: Load using-clavix Skill
8
+
9
+ **Before ANY Clavix workflow, invoke the `using-clavix` skill.**
10
+
11
+ This meta-skill establishes:
12
+ - Skill invocation rules (check skills BEFORE any response)
13
+ - Required skill chains (prd → plan → implement → verify)
14
+ - Iron Laws for verification (no completion claims without evidence)
15
+ - Workflow orchestration and fix loops
16
+
17
+ If you have even a 1% chance a Clavix skill applies, you MUST check it first.
18
+
19
+ **In environments with Skill tool:** Invoke `using-clavix` before any Clavix action.
20
+ **In environments without Skill tool:** Read `.config/agents/skills/using-clavix/SKILL.md` or the bundled template.
21
+
22
+ ---
23
+
7
24
  ## ⛔ CLAVIX MODE ENFORCEMENT
8
25
 
9
26
  **CRITICAL: Know which mode you're in and STOP at the right point.**
@@ -0,0 +1,117 @@
1
+ # Implementer Subagent Prompt Template
2
+
3
+ Use this template when dispatching an implementer subagent for a specific task.
4
+
5
+ ```
6
+ Task tool:
7
+
8
+ description: "Implement Task N: [task name]"
9
+
10
+ prompt: |
11
+ You are implementing Task N: [task name]
12
+
13
+ ## Task Description
14
+
15
+ [FULL TEXT of task from plan - paste it here, don't make subagent read file]
16
+
17
+ ## Context
18
+
19
+ [Scene-setting: where this fits in the project, dependencies, architectural context]
20
+ [Reference any relevant PRD sections or prior tasks]
21
+
22
+ ## Before You Begin
23
+
24
+ If you have questions about:
25
+ - The requirements or acceptance criteria
26
+ - The approach or implementation strategy
27
+ - Dependencies or assumptions
28
+ - Anything unclear in the task description
29
+
30
+ **Ask them now.** Raise any concerns before starting work.
31
+
32
+ ## Your Job
33
+
34
+ Once you're clear on requirements:
35
+
36
+ 1. Implement exactly what the task specifies
37
+ 2. Write tests (following TDD if task says to)
38
+ 3. Verify implementation works (run tests, check build)
39
+ 4. Commit your work
40
+ 5. Self-review (see below)
41
+ 6. Report back
42
+
43
+ Work from: [directory/workspace]
44
+
45
+ **While you work:** If you encounter something unexpected or unclear, **ask questions**.
46
+ It's always OK to pause and clarify. Don't guess or make assumptions.
47
+
48
+ ## Before Reporting Back: Self-Review
49
+
50
+ Review your work with fresh eyes. Ask yourself:
51
+
52
+ **Completeness:**
53
+ - Did I fully implement everything in the spec?
54
+ - Did I miss any requirements?
55
+ - Are there edge cases I didn't handle?
56
+
57
+ **Quality:**
58
+ - Is this my best work?
59
+ - Are names clear and accurate (match what things do, not how they work)?
60
+ - Is the code clean and maintainable?
61
+
62
+ **Discipline:**
63
+ - Did I avoid overbuilding (YAGNI)?
64
+ - Did I only build what was requested?
65
+ - Did I follow existing patterns in the codebase?
66
+
67
+ **Testing:**
68
+ - Do tests actually verify behavior (not just mock behavior)?
69
+ - Did I follow TDD if required?
70
+ - Are tests comprehensive?
71
+
72
+ **If you find issues during self-review, fix them now before reporting.**
73
+
74
+ ## Report Format
75
+
76
+ When done, report:
77
+
78
+ ```
79
+ ## Implementation Complete
80
+
81
+ **Task:** [task name]
82
+ **Status:** Complete / Partial / Blocked
83
+
84
+ ### What I Implemented
85
+ - [List of changes made]
86
+
87
+ ### Files Changed
88
+ - `path/to/file.ts` - [what changed]
89
+
90
+ ### Test Results
91
+ [Paste test output or summary]
92
+
93
+ ### Self-Review Findings
94
+ - [Any issues found and fixed during self-review]
95
+ - [Or "No issues found"]
96
+
97
+ ### Issues or Concerns
98
+ - [Any remaining concerns or questions]
99
+ - [Or "None"]
100
+ ```
101
+ ```
102
+
103
+ ---
104
+
105
+ ## When to Use This Template
106
+
107
+ - Dispatching a subagent to implement a single task from the plan
108
+ - Each task gets its own fresh subagent (no context pollution)
109
+ - Subagent implements, tests, commits, and self-reviews before reporting
110
+
111
+ ## Key Points
112
+
113
+ 1. **Provide full task text** - Don't make subagent read the plan file
114
+ 2. **Include context** - Where this fits, what came before
115
+ 3. **Encourage questions** - Subagent should ask before guessing
116
+ 4. **Require self-review** - Catches issues before handoff
117
+ 5. **Structured report** - Clear summary of what was done
@@ -0,0 +1,121 @@
1
+ # Code Quality Reviewer Prompt Template
2
+
3
+ Use this template when dispatching a code quality reviewer subagent.
4
+
5
+ **Purpose:** Verify implementation is well-built (clean, tested, maintainable)
6
+
7
+ **Only dispatch after spec compliance review passes.**
8
+
9
+ ```
10
+ Task tool:
11
+
12
+ description: "Review code quality for Task N"
13
+
14
+ prompt: |
15
+ You are reviewing the code quality of an implementation that has already
16
+ passed spec compliance review.
17
+
18
+ ## What Was Implemented
19
+
20
+ [From implementer's report - what they built]
21
+
22
+ ## Files to Review
23
+
24
+ [List of files changed with paths]
25
+
26
+ ## Review Dimensions
27
+
28
+ Evaluate the implementation across these dimensions:
29
+
30
+ ### 🔒 Security
31
+ - No hardcoded secrets, keys, or tokens
32
+ - Proper input validation
33
+ - Safe handling of user data
34
+ - No injection vulnerabilities
35
+
36
+ ### 🏗️ Architecture
37
+ - Follows existing project patterns
38
+ - Appropriate separation of concerns
39
+ - Consistent with codebase conventions
40
+ - No layer violations
41
+
42
+ ### 📏 Standards
43
+ - Clear, descriptive naming
44
+ - Reasonable function/method length
45
+ - DRY principle followed
46
+ - No console.logs in production code
47
+ - Proper TypeScript types (no `any` without reason)
48
+
49
+ ### ⚡ Performance
50
+ - No obvious N+1 patterns
51
+ - Appropriate async handling
52
+ - No unnecessary operations in loops
53
+ - Resources properly cleaned up
54
+
55
+ ### 🧪 Testing
56
+ - Tests actually test behavior (not mocks)
57
+ - Edge cases covered
58
+ - Error scenarios handled
59
+ - Tests are readable and maintainable
60
+
61
+ ## Report Format
62
+
63
+ ```
64
+ ## Code Quality Review
65
+
66
+ **Task:** [task name]
67
+ **Status:** ✅ Approved | ⚠️ Minor Issues | ❌ Needs Fixes
68
+
69
+ ### Strengths
70
+ - [What's done well]
71
+
72
+ ### Issues
73
+
74
+ **🔴 Critical** (must fix)
75
+ - [file:line] [issue description]
76
+
77
+ **🟠 Important** (should fix)
78
+ - [file:line] [issue description]
79
+
80
+ **🟡 Minor** (nice to fix)
81
+ - [file:line] [issue description]
82
+
83
+ ### Assessment
84
+ ✅ Approved - code is production ready
85
+ OR
86
+ ⚠️ Approved with notes - minor issues, can proceed
87
+ OR
88
+ ❌ Needs fixes - address critical/important issues before proceeding
89
+ ```
90
+ ```
91
+
92
+ ---
93
+
94
+ ## When to Use This Template
95
+
96
+ - AFTER spec compliance review passes (never before)
97
+ - Evaluates HOW code is written, not WHAT it does
98
+ - Final gate before marking task complete
99
+
100
+ ## Severity Levels
101
+
102
+ | Level | Meaning | Action |
103
+ |-------|---------|--------|
104
+ | 🔴 Critical | Security risk, broken functionality | Must fix |
105
+ | 🟠 Important | Significant quality issue | Should fix |
106
+ | 🟡 Minor | Style, optimization | Nice to fix |
107
+
108
+ ## Key Points
109
+
110
+ 1. **Only after spec passes** - Wrong order wastes time
111
+ 2. **Focus on quality** - Spec compliance already verified
112
+ 3. **Specific references** - file:line for every issue
113
+ 4. **Clear severity** - Helps prioritize fixes
114
+ 5. **Actionable feedback** - Say what to fix, not just what's wrong
115
+
116
+ ## If Issues Found
117
+
118
+ 1. Implementer fixes critical/important issues
119
+ 2. Quality reviewer reviews again
120
+ 3. Repeat until approved
121
+ 4. Only then mark task complete
@@ -0,0 +1,108 @@
1
+ # Spec Compliance Reviewer Prompt Template
2
+
3
+ Use this template when dispatching a spec compliance reviewer subagent.
4
+
5
+ **Purpose:** Verify implementer built what was requested (nothing more, nothing less)
6
+
7
+ ```
8
+ Task tool:
9
+
10
+ description: "Review spec compliance for Task N"
11
+
12
+ prompt: |
13
+ You are reviewing whether an implementation matches its specification.
14
+
15
+ ## What Was Requested
16
+
17
+ [FULL TEXT of task requirements from the plan]
18
+
19
+ ## What Implementer Claims They Built
20
+
21
+ [From implementer's report - paste their summary]
22
+
23
+ ## CRITICAL: Do Not Trust the Report
24
+
25
+ The implementer may have finished quickly or missed details. Their report may be
26
+ incomplete, inaccurate, or optimistic. You MUST verify everything independently.
27
+
28
+ **DO NOT:**
29
+ - Take their word for what they implemented
30
+ - Trust their claims about completeness
31
+ - Accept their interpretation of requirements
32
+
33
+ **DO:**
34
+ - Read the actual code they wrote
35
+ - Compare actual implementation to requirements line by line
36
+ - Check for missing pieces they claimed to implement
37
+ - Look for extra features they didn't mention
38
+
39
+ ## Your Job
40
+
41
+ Read the implementation code and verify:
42
+
43
+ ### Missing Requirements
44
+ - Did they implement everything that was requested?
45
+ - Are there requirements they skipped or missed?
46
+ - Did they claim something works but didn't actually implement it?
47
+
48
+ ### Extra/Unneeded Work
49
+ - Did they build things that weren't requested?
50
+ - Did they over-engineer or add unnecessary features?
51
+ - Did they add "nice to haves" that weren't in spec?
52
+
53
+ ### Misunderstandings
54
+ - Did they interpret requirements differently than intended?
55
+ - Did they solve the wrong problem?
56
+ - Did they implement the right feature but wrong way?
57
+
58
+ **Verify by reading code, not by trusting report.**
59
+
60
+ ## Report Format
61
+
62
+ ```
63
+ ## Spec Compliance Review
64
+
65
+ **Task:** [task name]
66
+ **Status:** ✅ Spec Compliant | ❌ Issues Found
67
+
68
+ ### Missing Requirements
69
+ - [List what's missing with file:line references]
70
+ - [Or "None - all requirements implemented"]
71
+
72
+ ### Extra/Unneeded Work
73
+ - [List extras that weren't requested]
74
+ - [Or "None - nothing extra added"]
75
+
76
+ ### Misunderstandings
77
+ - [List any misinterpretations]
78
+ - [Or "None - requirements correctly understood"]
79
+
80
+ ### Verdict
81
+ ✅ Spec compliant - proceed to code quality review
82
+ OR
83
+ ❌ Issues found - implementer must fix before proceeding
84
+ ```
85
+ ```
86
+
87
+ ---
88
+
89
+ ## When to Use This Template
90
+
91
+ - After implementer reports task complete
92
+ - BEFORE code quality review (order matters)
93
+ - Verify what was built matches what was requested
94
+
95
+ ## Key Points
96
+
97
+ 1. **Don't trust the implementer's report** - Verify independently
98
+ 2. **Read actual code** - Not just claims about code
99
+ 3. **Check both directions** - Missing AND extra work
100
+ 4. **Spec compliance first** - Quality review only after spec passes
101
+ 5. **Clear verdict** - Either passes or needs fixes
102
+
103
+ ## If Issues Found
104
+
105
+ 1. Implementer fixes the specific issues
106
+ 2. Spec reviewer reviews again
107
+ 3. Repeat until spec compliant
108
+ 4. Only then proceed to code quality review
@@ -1,15 +1,26 @@
1
1
  ---
2
2
  name: clavix-implement
3
- description: Execute implementation tasks or saved prompts with progress tracking
3
+ description: Execute implementation tasks or saved prompts with progress tracking. Use when ready to build what was planned in PRD or improved prompts.
4
4
  license: Apache-2.0
5
5
  ---
6
-
7
6
  # Clavix Implement Skill
8
7
 
9
8
  Execute tasks from tasks.md or saved prompts with systematic progress tracking.
10
9
 
11
10
  ---
12
11
 
12
+ ## The Iron Law
13
+
14
+ ```
15
+ NO TASK MARKED COMPLETE WITHOUT VERIFICATION EVIDENCE
16
+ ```
17
+
18
+ If you haven't run the verification command in this message, you cannot claim it passes.
19
+
20
+ **Violating the letter of this rule is violating the spirit of this rule.**
21
+
22
+ ---
23
+
13
24
  ## State Assertion (REQUIRED)
14
25
 
15
26
  **Before ANY action, output this confirmation:**
@@ -142,16 +153,60 @@ For each task, follow this cycle:
142
153
  - Follow existing codebase patterns
143
154
  - Create/modify files as specified in task
144
155
 
145
- ### 4. Mark Complete
156
+ ### 4. Verification Gate (REQUIRED)
157
+
158
+ **BEFORE marking task complete:**
159
+
160
+ 1. **IDENTIFY**: What command proves this task works?
161
+ - Tests: `npm test`, `pytest`, etc.
162
+ - Build: `npm run build`, `tsc`, etc.
163
+ - Lint: `npm run lint`, `eslint`, etc.
164
+
165
+ 2. **RUN**: Execute the verification command (fresh, complete)
166
+ - Run the full command, not partial checks
167
+ - Don't rely on previous runs
168
+
169
+ 3. **READ**: Check full output
170
+ - Exit code (0 = success)
171
+ - Count failures/errors
172
+ - Read warnings
173
+
174
+ 4. **VERIFY**: Does output confirm success?
175
+ - If NO → Go to Fix Loop
176
+ - If YES → Mark complete WITH evidence
177
+
178
+ **Skip any step = lying, not verifying**
179
+
180
+ ### 5. Fix Loop (When Verification Fails)
181
+
182
+ ```
183
+ Verification failed
184
+
185
+
186
+ Analyze the failure
187
+
188
+
189
+ Implement fix
190
+
191
+
192
+ Re-run verification ◄───┐
193
+ │ │
194
+ ├── Still fails ─┘
195
+
196
+ ▼ (passes)
197
+ Continue to Mark Complete
198
+ ```
199
+
200
+ **NEVER skip the re-verification after fixes.**
201
+
202
+ If 3+ fix attempts fail: STOP and ask for help. Don't keep guessing.
203
+
204
+ ### 6. Mark Complete
146
205
  - Edit tasks.md directly
147
206
  - Change `- [ ]` to `- [x]`
207
+ - Include verification evidence in progress report
148
208
 
149
- ### 5. Verify
150
- - Run tests if available
151
- - Check acceptance criteria
152
- - If fails: present fix options
153
-
154
- ### 6. Next Task
209
+ ### 7. Next Task
155
210
  - Find next incomplete task (`- [ ]`)
156
211
  - Report progress
157
212
  - Continue cycle
@@ -198,16 +253,16 @@ After implementing each task:
198
253
  - Verify file paths match specification
199
254
 
200
255
  3. **If verification fails**:
201
- > "Tests are failing for this task. Let me see what's wrong...
202
- >
203
- > [Analyze and fix issues]
256
+ > "Tests are failing for this task. Analyzing the failure...
204
257
  >
205
- > Options:
206
- > 1. I'll try to fix this
207
- > 2. Skip verification for now
208
- > 3. Show you what needs attention
258
+ > **Failure**: [describe what failed]
259
+ > **Root cause**: [analysis of why]
209
260
  >
210
- > What would you prefer?"
261
+ > Implementing fix..."
262
+
263
+ Then fix and re-run verification. Repeat until passing.
264
+
265
+ **Do NOT offer to skip verification.** The Iron Law applies.
211
266
 
212
267
  ---
213
268
 
@@ -313,9 +368,41 @@ executed: false → executed: true
313
368
  - A tasks.md (from `/clavix-plan`) OR
314
369
  - A saved prompt (from `/clavix-improve`)
315
370
 
316
- **Next Steps**:
317
- - `/clavix-verify` - Verify implementation against PRD
318
- - `/clavix-archive` - Archive completed project
371
+ **After ALL tasks complete:**
372
+
373
+ **REQUIRED SUB-SKILL**: Use `clavix-verify` to audit implementation against PRD
374
+
375
+ Do NOT skip this step. Do NOT consider implementation complete without verification.
376
+
377
+ ```
378
+ All tasks marked complete
379
+
380
+
381
+ clavix-verify ◄────────────┐
382
+ │ │
383
+ ├── Issues found? ────►│
384
+ │ Fix them │
385
+ │ Re-verify ────┘
386
+
387
+ ▼ (all pass)
388
+ clavix-archive (optional)
389
+ ```
390
+
391
+ ---
392
+
393
+ ## Subagent Templates
394
+
395
+ For delegating implementation work to subagents, use these templates:
396
+
397
+ - `./implementer-prompt.md` - Dispatch implementer subagent
398
+ - `./spec-reviewer-prompt.md` - Dispatch spec compliance reviewer
399
+ - `./quality-reviewer-prompt.md` - Dispatch code quality reviewer
400
+
401
+ **Subagent workflow:**
402
+ 1. Implementer does work + self-review
403
+ 2. Spec reviewer verifies compliance (loop until passes)
404
+ 3. Quality reviewer verifies quality (loop until passes)
405
+ 4. Only then mark task complete
319
406
 
320
407
  ---
321
408
 
@@ -394,4 +481,4 @@ Progress: 1/8 tasks (12.5%)
394
481
  Task ID: phase-1-setup-02
395
482
 
396
483
  Continue? (y/n)
397
- ```
484
+ ```
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  name: clavix-plan
3
- description: Transform PRDs into actionable task breakdowns with dependencies
3
+ description: Transform PRD documents into actionable task breakdowns with dependencies. Use after creating a PRD to generate implementation tasks.
4
4
  license: Apache-2.0
5
5
  ---
6
-
7
6
  # Clavix Plan Skill
8
7
 
9
8
  Transform PRD documents into structured, actionable task lists with proper sequencing.
@@ -161,7 +160,7 @@ Implementation: BLOCKED - I will create the plan, not the code
161
160
 
162
161
  ---
163
162
 
164
- *Generated by Clavix /clavix:plan*
163
+ *Generated by Clavix /clavix-plan*
165
164
  ```
166
165
 
167
166
  ### Task ID Format
@@ -231,6 +230,15 @@ Present the plan and ask:
231
230
  >
232
231
  > Type `/clavix-implement` to start coding, or tell me what to adjust."
233
232
 
233
+ **REQUIRED SUB-SKILL**: The generated plan should include this header:
234
+
235
+ ```markdown
236
+ > **For Claude:** REQUIRED SUB-SKILL: Use clavix-implement to execute this plan task-by-task.
237
+ > After all tasks complete, use clavix-verify to audit implementation against PRD.
238
+ ```
239
+
240
+ This ensures the implementation chain is followed completely.
241
+
234
242
  ---
235
243
 
236
244
  ## Save Location
@@ -284,6 +292,21 @@ Tasks file: `.clavix/outputs/{project}/tasks.md`
284
292
  ## Next Steps
285
293
 
286
294
  After task generation, guide user to:
295
+
296
+ **REQUIRED SUB-SKILL**: Use `clavix-implement` to execute tasks
297
+
298
+ Do not skip directly to coding. Follow the skill chain:
299
+
300
+ ```
301
+ clavix-plan (you are here)
302
+
303
+ ▼ REQUIRED
304
+ clavix-implement
305
+
306
+ ▼ REQUIRED (after all tasks)
307
+ clavix-verify
308
+ ```
309
+
287
310
  - `/clavix-implement` - Start executing tasks
288
311
  - Review and adjust task priorities as needed
289
- - Manual edit of `.clavix/outputs/{project}/tasks.md` if needed
312
+ - Manual edit of `.clavix/outputs/{project}/tasks.md` if needed