clavix 3.0.1 → 3.2.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 +22 -64
- package/dist/cli/commands/init.js +4 -0
- package/dist/core/adapters/llxprt-adapter.d.ts +27 -0
- package/dist/core/adapters/llxprt-adapter.js +54 -0
- package/dist/core/agent-manager.js +2 -0
- package/dist/core/intelligence/index.js +1 -1
- package/dist/core/intelligence/types.js +1 -1
- package/dist/core/intelligence/universal-optimizer.d.ts +1 -1
- package/dist/core/intelligence/universal-optimizer.js +1 -1
- package/dist/templates/agents/agents.md +1 -1
- package/dist/templates/agents/copilot-instructions.md +2 -2
- package/dist/templates/agents/octo.md +1 -1
- package/dist/templates/slash-commands/_canonical/deep.md +3 -3
- package/dist/templates/slash-commands/_canonical/fast.md +3 -3
- package/dist/templates/slash-commands/_canonical/prd.md +1 -1
- package/dist/templates/slash-commands/_canonical/start.md +2 -2
- package/dist/templates/slash-commands/_canonical/summarize.md +3 -3
- package/dist/types/agent.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Clavix
|
|
2
|
-
>
|
|
2
|
+
> **Clavix Intelligence™** for AI coding. Transform rough ideas into production-ready prompts with automatic quality optimization—no framework to learn.
|
|
3
3
|
|
|
4
4
|
## Table of contents
|
|
5
5
|
- [Why Clavix?](#why-clavix)
|
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
- [Quickstart](#quickstart)
|
|
9
9
|
- [Full documentation](#full-documentation)
|
|
10
10
|
|
|
11
|
+
## Release Notes
|
|
12
|
+
|
|
13
|
+
| Version | Highlights | Details |
|
|
14
|
+
| --- | --- | --- |
|
|
15
|
+
| **v3.1.0** (Latest) | Clavix Intelligence™ brand evolution | [Changelog](CHANGELOG.md#310---2025-11-23) |
|
|
16
|
+
| **v3.0.1** | Enhanced intent detection (95%+ accuracy) | [Changelog](CHANGELOG.md#301---2025-11-22) |
|
|
17
|
+
| **v2.8.0** | Pure ESM package (breaking change) | [Changelog](CHANGELOG.md#280---2025-11-17) |
|
|
18
|
+
| **v2.7.0** | Prompt lifecycle management | [Changelog](CHANGELOG.md#270---2025-11-15) |
|
|
19
|
+
|
|
20
|
+
**Requirements:** Node.js ≥ 16.0.0 (ESM support required)
|
|
21
|
+
|
|
11
22
|
## Why Clavix?
|
|
12
23
|
Better prompts lead to better code. Clavix automatically detects what you're trying to do and applies the right optimization patterns—no framework to learn, no methodology to master. Just describe what you want, and Clavix makes it AI-ready.
|
|
13
24
|
|
|
@@ -20,7 +31,7 @@ Better prompts lead to better code. Clavix automatically detects what you're try
|
|
|
20
31
|
Learn more in [docs/why-clavix.md](docs/why-clavix.md).
|
|
21
32
|
|
|
22
33
|
## How It Works
|
|
23
|
-
Clavix uses **
|
|
34
|
+
Clavix uses **Clavix Intelligence™** (v3.0+) to automatically:
|
|
24
35
|
- **Detect intent** - 95%+ accuracy with weighted scoring, phrase detection, and context analysis
|
|
25
36
|
- **Assess quality** - Evaluates across 5 dimensions: Clarity, Efficiency, Structure, Completeness, Actionability
|
|
26
37
|
- **Apply patterns** - 6 optimization patterns automatically selected and prioritized for your specific need
|
|
@@ -40,8 +51,6 @@ Provider paths and argument placeholders are listed in [docs/providers.md](docs/
|
|
|
40
51
|
|
|
41
52
|
## Quickstart
|
|
42
53
|
|
|
43
|
-
> **⚠️ v2.8.0 Breaking Change**: Clavix is now a pure ESM package. Requires **Node.js ≥ 16.0.0**. See [CHANGELOG.md](CHANGELOG.md#280---2025-11-17) for migration details.
|
|
44
|
-
|
|
45
54
|
### For AI Agents (Recommended)
|
|
46
55
|
|
|
47
56
|
Most Clavix users work through AI coding assistants:
|
|
@@ -62,61 +71,18 @@ clavix init
|
|
|
62
71
|
/clavix:deep "Build an API for user management"
|
|
63
72
|
/clavix:prd # Full PRD workflow
|
|
64
73
|
|
|
65
|
-
# 3.
|
|
66
|
-
/clavix:execute #
|
|
74
|
+
# 3. Manage saved prompts
|
|
75
|
+
/clavix:execute # Execute saved prompts
|
|
67
76
|
/clavix:prompts # Manage prompt lifecycle
|
|
68
77
|
|
|
69
|
-
# 4. Implement with task tracking
|
|
78
|
+
# 4. Implement with task tracking
|
|
70
79
|
clavix plan # Generate tasks from PRD
|
|
71
80
|
clavix implement # Start implementation workflow
|
|
72
81
|
clavix task-complete <taskId> # Mark tasks done with auto-commit
|
|
73
|
-
|
|
74
|
-
# Or via CLI
|
|
75
|
-
clavix execute --latest
|
|
76
|
-
clavix prompts list
|
|
77
|
-
clavix prompts clear --executed
|
|
78
82
|
```
|
|
79
83
|
|
|
80
84
|
**Supported agents**: Claude Code, Cursor, Windsurf, and [15+ more providers](docs/providers.md)
|
|
81
85
|
|
|
82
|
-
### Prompt Lifecycle Management (v2.7+)
|
|
83
|
-
|
|
84
|
-
Clavix now automatically saves prompts from fast/deep optimization, allowing you to:
|
|
85
|
-
- 💾 **Review** saved prompts before execution
|
|
86
|
-
- ⚡ **Execute** prompts when ready
|
|
87
|
-
- 📊 **Track** prompt lifecycle (NEW → EXECUTED → STALE)
|
|
88
|
-
- 🧹 **Clean up** old prompts with safety checks
|
|
89
|
-
|
|
90
|
-
**Complete workflow:**
|
|
91
|
-
1. **Optimize**: `/clavix:fast` or `/clavix:deep` → Auto-saved to `.clavix/outputs/prompts/`
|
|
92
|
-
2. **Review**: `/clavix:prompts` or `clavix prompts list` → View all saved prompts with status
|
|
93
|
-
3. **Execute**: `/clavix:execute` or `clavix execute --latest` → Implement when ready
|
|
94
|
-
4. **Cleanup**: `clavix prompts clear --executed` → Remove completed prompts
|
|
95
|
-
|
|
96
|
-
**Prompt Saving Modes (v2.8.1 clarification):**
|
|
97
|
-
|
|
98
|
-
**CLI Usage (Auto-Save)**:
|
|
99
|
-
```bash
|
|
100
|
-
clavix fast "prompt" # Automatically saves to .clavix/outputs/prompts/fast/
|
|
101
|
-
clavix deep "prompt" # Automatically saves to .clavix/outputs/prompts/deep/
|
|
102
|
-
```
|
|
103
|
-
CLI has direct file system access – saving is automatic.
|
|
104
|
-
|
|
105
|
-
**Slash Command Usage (Agent Manual Save)**:
|
|
106
|
-
```bash
|
|
107
|
-
/clavix:fast "prompt" # Agent must follow template saving instructions
|
|
108
|
-
/clavix:deep "prompt" # Agent must follow template saving instructions
|
|
109
|
-
```
|
|
110
|
-
Slash commands run through AI agent that must use tools per template.
|
|
111
|
-
|
|
112
|
-
**Why the difference?** CLI runs directly in Node.js with file access, while slash commands require agent execution of Write tool.
|
|
113
|
-
|
|
114
|
-
**Storage hygiene:**
|
|
115
|
-
- Age warnings: >7 days = OLD, >30 days = STALE
|
|
116
|
-
- Safety confirmations before deletion
|
|
117
|
-
- Smart recommendations for cleanup
|
|
118
|
-
- Keep <20 active prompts recommended
|
|
119
|
-
|
|
120
86
|
Learn more: [Complete prompt lifecycle documentation](docs/commands/execute.md)
|
|
121
87
|
|
|
122
88
|
### Direct CLI Usage (Alternative)
|
|
@@ -130,32 +96,24 @@ clavix deep "Build an API for user management"
|
|
|
130
96
|
clavix prd
|
|
131
97
|
```
|
|
132
98
|
|
|
133
|
-
**Note**: CLI usage is primarily for initialization and state management. AI agents handle the workflow orchestration via slash commands.
|
|
134
|
-
|
|
135
99
|
## Full documentation
|
|
136
|
-
- Overview & navigation: [docs/
|
|
100
|
+
- Overview & navigation: [docs/README.md](docs/README.md)
|
|
137
101
|
- Command reference: [docs/commands/](docs/commands/README.md)
|
|
138
102
|
- Providers: [docs/providers.md](docs/providers.md)
|
|
139
|
-
-
|
|
103
|
+
- Clavix Intelligence: [docs/clavix-intelligence.md](docs/clavix-intelligence.md)
|
|
140
104
|
- Guides: [docs/guides/](docs/guides/workflows.md)
|
|
141
105
|
|
|
142
106
|
## Requirements
|
|
143
107
|
|
|
144
108
|
### For End Users
|
|
145
|
-
- **Node.js ≥ 16.0.0** (
|
|
109
|
+
- **Node.js ≥ 16.0.0** (ESM support required)
|
|
146
110
|
- npm or yarn package manager
|
|
147
111
|
|
|
148
112
|
### For Contributors
|
|
149
|
-
- **Node.js ≥ 16.0.0**
|
|
150
|
-
- Run tests: `npm test`
|
|
113
|
+
- **Node.js ≥ 16.0.0**
|
|
114
|
+
- Run tests: `npm test`
|
|
151
115
|
- Lint: `npm run lint`
|
|
152
|
-
- Build: `npm run build`
|
|
153
|
-
|
|
154
|
-
**ESM Migration (v2.8.0+):**
|
|
155
|
-
- All source code uses ES modules (`import`/`export`)
|
|
156
|
-
- TypeScript configured with `NodeNext` module resolution
|
|
157
|
-
- All imports require `.js` file extensions
|
|
158
|
-
- See [ESM_MIGRATION_NOTES.md](ESM_MIGRATION_NOTES.md) for details
|
|
116
|
+
- Build: `npm run build`
|
|
159
117
|
|
|
160
118
|
## License
|
|
161
119
|
MIT
|
|
@@ -103,6 +103,10 @@ export default class Init extends Command {
|
|
|
103
103
|
name: 'Kilocode (.kilocode/workflows/)',
|
|
104
104
|
value: 'kilocode',
|
|
105
105
|
},
|
|
106
|
+
{
|
|
107
|
+
name: 'LLXPRT (.llxprt/commands/clavix/)',
|
|
108
|
+
value: 'llxprt',
|
|
109
|
+
},
|
|
106
110
|
{
|
|
107
111
|
name: 'Roocode (.roo/commands/)',
|
|
108
112
|
value: 'roocode',
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseAdapter } from './base-adapter.js';
|
|
2
|
+
import { CommandTemplate } from '../../types/agent.js';
|
|
3
|
+
/**
|
|
4
|
+
* LLXPRT adapter
|
|
5
|
+
* Commands stored as TOML files under .llxprt/commands/clavix by default
|
|
6
|
+
*/
|
|
7
|
+
export declare class LlxprtAdapter extends BaseAdapter {
|
|
8
|
+
private readonly options;
|
|
9
|
+
readonly name = "llxprt";
|
|
10
|
+
readonly displayName = "LLXPRT";
|
|
11
|
+
readonly fileExtension = ".toml";
|
|
12
|
+
readonly features: {
|
|
13
|
+
supportsSubdirectories: boolean;
|
|
14
|
+
supportsFrontmatter: boolean;
|
|
15
|
+
argumentPlaceholder: string;
|
|
16
|
+
};
|
|
17
|
+
constructor(options?: {
|
|
18
|
+
useNamespace?: boolean;
|
|
19
|
+
});
|
|
20
|
+
get directory(): string;
|
|
21
|
+
detectProject(): Promise<boolean>;
|
|
22
|
+
getCommandPath(): string;
|
|
23
|
+
getTargetFilename(name: string): string;
|
|
24
|
+
protected formatCommand(template: CommandTemplate): string;
|
|
25
|
+
private getHomeDir;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=llxprt-adapter.d.ts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as os from 'os';
|
|
2
|
+
import * as path from 'path';
|
|
3
|
+
import { BaseAdapter } from './base-adapter.js';
|
|
4
|
+
import { FileSystem } from '../../utils/file-system.js';
|
|
5
|
+
/**
|
|
6
|
+
* LLXPRT adapter
|
|
7
|
+
* Commands stored as TOML files under .llxprt/commands/clavix by default
|
|
8
|
+
*/
|
|
9
|
+
export class LlxprtAdapter extends BaseAdapter {
|
|
10
|
+
options;
|
|
11
|
+
name = 'llxprt';
|
|
12
|
+
displayName = 'LLXPRT';
|
|
13
|
+
fileExtension = '.toml';
|
|
14
|
+
features = {
|
|
15
|
+
supportsSubdirectories: true,
|
|
16
|
+
supportsFrontmatter: false,
|
|
17
|
+
argumentPlaceholder: '{{args}}',
|
|
18
|
+
};
|
|
19
|
+
constructor(options = {}) {
|
|
20
|
+
super();
|
|
21
|
+
this.options = options;
|
|
22
|
+
}
|
|
23
|
+
get directory() {
|
|
24
|
+
const useNamespace = this.options.useNamespace ?? true;
|
|
25
|
+
return useNamespace ? path.join('.llxprt', 'commands', 'clavix') : path.join('.llxprt', 'commands');
|
|
26
|
+
}
|
|
27
|
+
async detectProject() {
|
|
28
|
+
if (await FileSystem.exists('.llxprt')) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
const homePath = path.join(this.getHomeDir(), '.llxprt');
|
|
32
|
+
return await FileSystem.exists(homePath);
|
|
33
|
+
}
|
|
34
|
+
getCommandPath() {
|
|
35
|
+
return this.directory;
|
|
36
|
+
}
|
|
37
|
+
getTargetFilename(name) {
|
|
38
|
+
const commandPath = this.getCommandPath();
|
|
39
|
+
const namespaced = commandPath.endsWith(path.join('commands', 'clavix'));
|
|
40
|
+
const baseName = namespaced ? name : `clavix-${name}`;
|
|
41
|
+
return `${baseName}${this.fileExtension}`;
|
|
42
|
+
}
|
|
43
|
+
formatCommand(template) {
|
|
44
|
+
const description = template.description.trim().length > 0
|
|
45
|
+
? `description = ${JSON.stringify(template.description)}\n\n`
|
|
46
|
+
: '';
|
|
47
|
+
const content = template.content.replace(/\{\{ARGS\}\}/g, '{{args}}');
|
|
48
|
+
return `${description}prompt = """\n${content}\n"""\n`;
|
|
49
|
+
}
|
|
50
|
+
getHomeDir() {
|
|
51
|
+
return process.env.CLAVIX_HOME_OVERRIDE || os.homedir();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=llxprt-adapter.js.map
|
|
@@ -14,6 +14,7 @@ import { GeminiAdapter } from './adapters/gemini-adapter.js';
|
|
|
14
14
|
import { QwenAdapter } from './adapters/qwen-adapter.js';
|
|
15
15
|
import { CodexAdapter } from './adapters/codex-adapter.js';
|
|
16
16
|
import { AugmentAdapter } from './adapters/augment-adapter.js';
|
|
17
|
+
import { LlxprtAdapter } from './adapters/llxprt-adapter.js';
|
|
17
18
|
/**
|
|
18
19
|
* Agent Manager - handles agent detection and registration
|
|
19
20
|
*/
|
|
@@ -29,6 +30,7 @@ export class AgentManager {
|
|
|
29
30
|
this.registerAdapter(new CrushAdapter());
|
|
30
31
|
this.registerAdapter(new WindsurfAdapter());
|
|
31
32
|
this.registerAdapter(new KilocodeAdapter());
|
|
33
|
+
this.registerAdapter(new LlxprtAdapter());
|
|
32
34
|
this.registerAdapter(new ClineAdapter());
|
|
33
35
|
this.registerAdapter(new RoocodeAdapter());
|
|
34
36
|
this.registerAdapter(new AugmentAdapter());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Main exports for the
|
|
1
|
+
// Main exports for the Clavix Intelligence system
|
|
2
2
|
export { UniversalOptimizer } from './universal-optimizer.js';
|
|
3
3
|
export { IntentDetector } from './intent-detector.js';
|
|
4
4
|
export { PatternLibrary } from './pattern-library.js';
|
|
@@ -8,7 +8,7 @@ export declare class UniversalOptimizer {
|
|
|
8
8
|
private qualityAssessor;
|
|
9
9
|
constructor(intentDetector?: IntentDetector, patternLibrary?: PatternLibrary, qualityAssessor?: QualityAssessor);
|
|
10
10
|
/**
|
|
11
|
-
* Optimize a prompt using
|
|
11
|
+
* Optimize a prompt using Clavix Intelligence
|
|
12
12
|
*/
|
|
13
13
|
optimize(prompt: string, mode: OptimizationMode): Promise<OptimizationResult>;
|
|
14
14
|
/**
|
|
@@ -11,7 +11,7 @@ export class UniversalOptimizer {
|
|
|
11
11
|
this.qualityAssessor = qualityAssessor || new QualityAssessor();
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* Optimize a prompt using
|
|
14
|
+
* Optimize a prompt using Clavix Intelligence
|
|
15
15
|
*/
|
|
16
16
|
async optimize(prompt, mode) {
|
|
17
17
|
const startTime = Date.now();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Clavix Workflows for GitHub Copilot
|
|
2
2
|
|
|
3
|
-
These instructions enhance GitHub Copilot's understanding of
|
|
3
|
+
These instructions enhance GitHub Copilot's understanding of Clavix Intelligence™ and workflow commands available in this project.
|
|
4
4
|
|
|
5
5
|
## About Clavix
|
|
6
6
|
|
|
7
|
-
Clavix
|
|
7
|
+
Clavix provides **Clavix Intelligence™** that helps improve prompts, generate PRDs, and manage implementation workflows. It automatically detects intent and applies quality-based optimization patterns without requiring users to learn any specific framework.
|
|
8
8
|
|
|
9
9
|
## Available Commands
|
|
10
10
|
|
|
@@ -358,7 +358,7 @@ When starting implementation with `clavix implement`:
|
|
|
358
358
|
|
|
359
359
|
Your goal is to help users:
|
|
360
360
|
- Create clear, comprehensive PRDs through guided questioning
|
|
361
|
-
- Improve prompts using
|
|
361
|
+
- Improve prompts using Clavix Intelligence™ principles
|
|
362
362
|
- Think through requirements systematically
|
|
363
363
|
- Execute implementation plans efficiently
|
|
364
364
|
- Archive completed work properly
|
|
@@ -3,13 +3,13 @@ name: "Clavix: Deep"
|
|
|
3
3
|
description: Comprehensive analysis with alternatives, edge cases, and validation
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Clavix Deep Mode -
|
|
6
|
+
# Clavix Deep Mode - Clavix Intelligence™
|
|
7
7
|
|
|
8
|
-
You are helping the user perform comprehensive deep analysis using Clavix
|
|
8
|
+
You are helping the user perform comprehensive deep analysis using Clavix Intelligence™ with full exploration features (alternatives, edge cases, validation checklists).
|
|
9
9
|
|
|
10
10
|
## What is Deep Mode?
|
|
11
11
|
|
|
12
|
-
Deep mode provides **comprehensive
|
|
12
|
+
Deep mode provides **Clavix Intelligence™** with comprehensive analysis that goes beyond quick optimization:
|
|
13
13
|
|
|
14
14
|
**Deep Mode Features:**
|
|
15
15
|
- **Intent Detection**: Identifies what you're trying to achieve
|
|
@@ -3,13 +3,13 @@ name: "Clavix: Fast"
|
|
|
3
3
|
description: Quick prompt improvements with smart quality assessment and triage
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Clavix Fast Mode -
|
|
6
|
+
# Clavix Fast Mode - Clavix Intelligence™
|
|
7
7
|
|
|
8
|
-
You are helping the user improve their prompt using Clavix's fast mode, which applies
|
|
8
|
+
You are helping the user improve their prompt using Clavix's fast mode, which applies Clavix Intelligence™ with smart quality assessment and triage.
|
|
9
9
|
|
|
10
10
|
## What is Clavix?
|
|
11
11
|
|
|
12
|
-
Clavix provides **
|
|
12
|
+
Clavix provides **Clavix Intelligence™** that automatically detects intent and applies the right optimization patterns. No frameworks to learn—just better prompts, instantly.
|
|
13
13
|
|
|
14
14
|
**Fast Mode Features:**
|
|
15
15
|
- **Intent Detection**: Automatically identifies what you're trying to achieve
|
|
@@ -5,7 +5,7 @@ description: Clavix Planning Mode - Transform ideas into structured PRDs through
|
|
|
5
5
|
|
|
6
6
|
# Clavix Planning Mode
|
|
7
7
|
|
|
8
|
-
You are helping the user create a Product Requirements Document (PRD) using Clavix Planning Mode's Socratic questioning approach. **Generated PRDs are automatically validated using
|
|
8
|
+
You are helping the user create a Product Requirements Document (PRD) using Clavix Planning Mode's Socratic questioning approach. **Generated PRDs are automatically validated using Clavix Intelligence™** for AI consumption quality.
|
|
9
9
|
|
|
10
10
|
## What is Clavix Planning Mode?
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ description: Start conversational mode for iterative prompt development
|
|
|
5
5
|
|
|
6
6
|
# Clavix Conversational Mode
|
|
7
7
|
|
|
8
|
-
You are starting a Clavix conversational session for iterative prompt and requirements development. **When complete, use `/clavix:summarize` to extract and optimize requirements** using
|
|
8
|
+
You are starting a Clavix conversational session for iterative prompt and requirements development. **When complete, use `/clavix:summarize` to extract and optimize requirements** using Clavix Intelligence™.
|
|
9
9
|
|
|
10
10
|
## Instructions
|
|
11
11
|
|
|
@@ -67,7 +67,7 @@ You are starting a Clavix conversational session for iterative prompt and requir
|
|
|
67
67
|
|
|
68
68
|
After the conversational session, `/clavix:summarize` will:
|
|
69
69
|
- Extract requirements from the conversation
|
|
70
|
-
- Apply
|
|
70
|
+
- Apply Clavix Intelligence™ optimization
|
|
71
71
|
- Analyze intent and assess quality (Clarity, Efficiency, Structure, Completeness, Actionability)
|
|
72
72
|
- Generate both original extraction and optimized version
|
|
73
73
|
- Display quality scores and improvements
|
|
@@ -5,7 +5,7 @@ description: Extract and optimize requirements from conversation
|
|
|
5
5
|
|
|
6
6
|
# Clavix Conversation Summarization
|
|
7
7
|
|
|
8
|
-
You are analyzing the conversation history and extracting optimized requirements. **Extracted prompts are automatically enhanced using
|
|
8
|
+
You are analyzing the conversation history and extracting optimized requirements. **Extracted prompts are automatically enhanced using Clavix Intelligence™** for optimal AI consumption.
|
|
9
9
|
|
|
10
10
|
## Instructions
|
|
11
11
|
|
|
@@ -72,8 +72,8 @@ You are analyzing the conversation history and extracting optimized requirements
|
|
|
72
72
|
[Success criteria and any important context]
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
3. **
|
|
76
|
-
- After extracting the prompt, analyze using
|
|
75
|
+
3. **Clavix Intelligence™ Optimization** (automatic with labeled improvements):
|
|
76
|
+
- After extracting the prompt, analyze using Clavix Intelligence™
|
|
77
77
|
- Apply optimizations for Clarity, Efficiency, Structure, Completeness, and Actionability
|
|
78
78
|
- **Label all improvements** with quality dimension tags:
|
|
79
79
|
- **[Efficiency]**: "Removed 12 conversational words, reduced from 45 to 28 words"
|
package/dist/types/agent.d.ts
CHANGED
|
@@ -37,5 +37,5 @@ export interface ManagedBlock {
|
|
|
37
37
|
content: string;
|
|
38
38
|
targetFile: string;
|
|
39
39
|
}
|
|
40
|
-
export type AgentType = 'agents-md' | 'amp' | 'augment' | 'claude-code' | 'cline' | 'codex' | 'codebuddy' | 'copilot-instructions' | 'crush' | 'cursor' | 'custom' | 'droid' | 'gemini' | 'kilocode' | 'octo-md' | 'opencode' | 'qwen' | 'roocode' | 'windsurf';
|
|
40
|
+
export type AgentType = 'agents-md' | 'amp' | 'augment' | 'claude-code' | 'cline' | 'codex' | 'codebuddy' | 'copilot-instructions' | 'crush' | 'cursor' | 'custom' | 'droid' | 'gemini' | 'kilocode' | 'llxprt' | 'octo-md' | 'opencode' | 'qwen' | 'roocode' | 'windsurf';
|
|
41
41
|
//# sourceMappingURL=agent.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavix",
|
|
3
|
-
"version": "3.0
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.2.0",
|
|
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",
|
|
7
7
|
"types": "dist/index.d.ts",
|