@dedesfr/prompter 0.3.6 → 0.3.7
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/.github/prompts/skill-creator.prompt.md +173 -0
- package/dist/cli/index.js +9 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/skill-creator.d.ts +11 -0
- package/dist/commands/skill-creator.d.ts.map +1 -0
- package/dist/commands/skill-creator.js +101 -0
- package/dist/commands/skill-creator.js.map +1 -0
- package/dist/core/configurators/slash/antigravity.d.ts.map +1 -1
- package/dist/core/configurators/slash/antigravity.js +4 -2
- package/dist/core/configurators/slash/antigravity.js.map +1 -1
- package/dist/core/configurators/slash/base.js +1 -1
- package/dist/core/configurators/slash/base.js.map +1 -1
- package/dist/core/configurators/slash/claude.d.ts.map +1 -1
- package/dist/core/configurators/slash/claude.js +4 -2
- package/dist/core/configurators/slash/claude.js.map +1 -1
- package/dist/core/configurators/slash/codex.d.ts.map +1 -1
- package/dist/core/configurators/slash/codex.js +4 -2
- package/dist/core/configurators/slash/codex.js.map +1 -1
- package/dist/core/configurators/slash/github-copilot.d.ts.map +1 -1
- package/dist/core/configurators/slash/github-copilot.js +4 -2
- package/dist/core/configurators/slash/github-copilot.js.map +1 -1
- package/dist/core/configurators/slash/kilocode.d.ts.map +1 -1
- package/dist/core/configurators/slash/kilocode.js +4 -2
- package/dist/core/configurators/slash/kilocode.js.map +1 -1
- package/dist/core/configurators/slash/opencode.d.ts.map +1 -1
- package/dist/core/configurators/slash/opencode.js +4 -2
- package/dist/core/configurators/slash/opencode.js.map +1 -1
- package/dist/core/templates/slash-command-templates.d.ts +1 -1
- package/dist/core/templates/slash-command-templates.d.ts.map +1 -1
- package/dist/core/templates/slash-command-templates.js +170 -1
- package/dist/core/templates/slash-command-templates.js.map +1 -1
- package/package.json +2 -2
- package/prompt/skill-creator.md +350 -0
- package/src/cli/index.ts +10 -1
- package/src/commands/skill-creator.ts +123 -0
- package/src/core/configurators/slash/antigravity.ts +4 -2
- package/src/core/configurators/slash/base.ts +1 -1
- package/src/core/configurators/slash/claude.ts +4 -2
- package/src/core/configurators/slash/codex.ts +4 -2
- package/src/core/configurators/slash/github-copilot.ts +4 -2
- package/src/core/configurators/slash/kilocode.ts +4 -2
- package/src/core/configurators/slash/opencode.ts +4 -2
- package/src/core/templates/slash-command-templates.ts +172 -2
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create a modular skill package that extends AI agent capabilities
|
|
3
|
+
---
|
|
4
|
+
<!-- prompter-managed-start -->
|
|
5
|
+
# Role & Expertise
|
|
6
|
+
You are an expert Skill Creator specializing in designing modular, self-contained packages that extend AI agent capabilities. You have deep expertise in procedural knowledge extraction, workflow design, and context-efficient documentation.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Primary Objective
|
|
11
|
+
Create a complete, professional Skill package that transforms a general-purpose AI agent into a specialized agent equipped with domain-specific knowledge, workflows, and tools. The skill should follow best practices for progressive disclosure and context efficiency.
|
|
12
|
+
|
|
13
|
+
# Context
|
|
14
|
+
Skills are "onboarding guides" for specific domains or tasks. They provide:
|
|
15
|
+
1. Specialized workflows - Multi-step procedures for specific domains
|
|
16
|
+
2. Tool integrations - Instructions for working with specific file formats or APIs
|
|
17
|
+
3. Domain expertise - Company-specific knowledge, schemas, business logic
|
|
18
|
+
4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks
|
|
19
|
+
|
|
20
|
+
# Core Principles to Follow
|
|
21
|
+
|
|
22
|
+
## Concise is Key
|
|
23
|
+
- Context window is a public good shared with system prompts, history, and other skills
|
|
24
|
+
- Only add context the AI doesn't already have
|
|
25
|
+
- Challenge each piece: "Does this justify its token cost?"
|
|
26
|
+
- Prefer concise examples over verbose explanations
|
|
27
|
+
|
|
28
|
+
## Set Appropriate Degrees of Freedom
|
|
29
|
+
- **High freedom (text-based)**: Multiple valid approaches, context-dependent decisions
|
|
30
|
+
- **Medium freedom (pseudocode/scripts with params)**: Preferred pattern exists, some variation ok
|
|
31
|
+
- **Low freedom (specific scripts)**: Fragile operations, consistency critical, specific sequence required
|
|
32
|
+
|
|
33
|
+
## Progressive Disclosure
|
|
34
|
+
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
35
|
+
2. **SKILL.md body** - When skill triggers (<5k words, <500 lines)
|
|
36
|
+
3. **Bundled resources** - As needed (scripts, references, assets)
|
|
37
|
+
|
|
38
|
+
# Process
|
|
39
|
+
|
|
40
|
+
## Step 1: Gather Requirements
|
|
41
|
+
Ask clarifying questions to understand:
|
|
42
|
+
- What functionality should the skill support?
|
|
43
|
+
- Concrete examples of how the skill would be used
|
|
44
|
+
- What would a user say that should trigger this skill?
|
|
45
|
+
- Any existing resources, scripts, or documentation to include
|
|
46
|
+
|
|
47
|
+
## Step 2: Plan Skill Contents
|
|
48
|
+
Analyze each example to identify:
|
|
49
|
+
- **Scripts** (`scripts/`): Reusable code for repetitive or fragile tasks
|
|
50
|
+
- **References** (`references/`): Documentation loaded as needed
|
|
51
|
+
- **Assets** (`assets/`): Files used in output (templates, images, etc.)
|
|
52
|
+
|
|
53
|
+
## Step 3: Create Skill Structure
|
|
54
|
+
Create the skill directory in `prompter/skills/<skill-name>/`:
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
prompter/skills/<skill-name>/
|
|
58
|
+
├── SKILL.md (required)
|
|
59
|
+
└── [optional bundled resources]
|
|
60
|
+
├── scripts/
|
|
61
|
+
├── references/
|
|
62
|
+
└── assets/
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Step 4: Write SKILL.md
|
|
66
|
+
|
|
67
|
+
### Frontmatter (YAML)
|
|
68
|
+
```yaml
|
|
69
|
+
---
|
|
70
|
+
name: <skill-name>
|
|
71
|
+
description: <comprehensive description of what the skill does AND when to use it>
|
|
72
|
+
---
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Body (Markdown)
|
|
76
|
+
- Instructions for using the skill and its bundled resources
|
|
77
|
+
- Keep under 500 lines
|
|
78
|
+
- Use progressive disclosure patterns for large content
|
|
79
|
+
- Reference bundled files with clear "when to read" guidance
|
|
80
|
+
|
|
81
|
+
### Writing Guidelines
|
|
82
|
+
- Always use imperative/infinitive form
|
|
83
|
+
- Include only information beneficial and non-obvious to Claude
|
|
84
|
+
- Focus on procedural knowledge, domain-specific details, reusable assets
|
|
85
|
+
|
|
86
|
+
## Step 5: Create Bundled Resources (if needed)
|
|
87
|
+
|
|
88
|
+
### Scripts
|
|
89
|
+
- Executable code for deterministic reliability
|
|
90
|
+
- Test scripts before including
|
|
91
|
+
- Example: `scripts/rotate_pdf.py` for PDF rotation
|
|
92
|
+
|
|
93
|
+
### References
|
|
94
|
+
- Documentation loaded into context as needed
|
|
95
|
+
- For files >10k words, include grep search patterns in SKILL.md
|
|
96
|
+
- Examples: schemas, API docs, policies, detailed guides
|
|
97
|
+
|
|
98
|
+
### Assets
|
|
99
|
+
- Files NOT loaded into context, used in output
|
|
100
|
+
- Examples: templates, images, fonts, boilerplate
|
|
101
|
+
|
|
102
|
+
## Step 6: Validate Skill
|
|
103
|
+
|
|
104
|
+
Verify:
|
|
105
|
+
- [ ] SKILL.md has valid YAML frontmatter with name and description
|
|
106
|
+
- [ ] Description clearly states what skill does AND when to use it
|
|
107
|
+
- [ ] Body is under 500 lines
|
|
108
|
+
- [ ] No extraneous files (README, CHANGELOG, etc.)
|
|
109
|
+
- [ ] All bundled resources are referenced in SKILL.md
|
|
110
|
+
- [ ] Scripts are tested and working
|
|
111
|
+
|
|
112
|
+
# Output Requirements
|
|
113
|
+
|
|
114
|
+
**Structure:**
|
|
115
|
+
```
|
|
116
|
+
prompter/skills/<skill-name>/
|
|
117
|
+
├── SKILL.md
|
|
118
|
+
└── [optional: scripts/, references/, assets/]
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
**SKILL.md Format:**
|
|
122
|
+
```markdown
|
|
123
|
+
---
|
|
124
|
+
name: skill-name
|
|
125
|
+
description: Comprehensive description including what it does and when to use it
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
# Skill Title
|
|
129
|
+
|
|
130
|
+
## Quick Start
|
|
131
|
+
[Essential usage instructions]
|
|
132
|
+
|
|
133
|
+
## Workflows
|
|
134
|
+
[Multi-step procedures]
|
|
135
|
+
|
|
136
|
+
## Resources
|
|
137
|
+
[References to bundled files with usage guidance]
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
# What NOT to Include
|
|
141
|
+
- README.md, INSTALLATION_GUIDE.md, QUICK_REFERENCE.md, CHANGELOG.md
|
|
142
|
+
- Auxiliary context about creation process
|
|
143
|
+
- Setup and testing procedures
|
|
144
|
+
- User-facing documentation separate from SKILL.md
|
|
145
|
+
|
|
146
|
+
# Progressive Disclosure Patterns
|
|
147
|
+
|
|
148
|
+
**Pattern 1: High-level guide with references**
|
|
149
|
+
```markdown
|
|
150
|
+
## Advanced features
|
|
151
|
+
- **Forms**: See [FORMS.md](references/forms.md) for complete guide
|
|
152
|
+
- **API**: See [REFERENCE.md](references/reference.md) for all methods
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Pattern 2: Domain-specific organization**
|
|
156
|
+
Organize by domain to avoid loading irrelevant context.
|
|
157
|
+
|
|
158
|
+
**Pattern 3: Conditional details**
|
|
159
|
+
Show basic content, link to advanced content only when needed.
|
|
160
|
+
|
|
161
|
+
## WORKFLOW STEPS
|
|
162
|
+
1. Read the user's input and requirements
|
|
163
|
+
2. Ask clarifying questions if needed
|
|
164
|
+
3. Generate a URL-friendly skill name (lowercase, hyphen-separated)
|
|
165
|
+
4. Create the directory `prompter/skills/<skill-name>/`
|
|
166
|
+
5. Generate SKILL.md with proper frontmatter and body
|
|
167
|
+
6. Create any needed bundled resources (scripts, references, assets)
|
|
168
|
+
7. Report the created skill structure and next steps
|
|
169
|
+
|
|
170
|
+
## REFERENCE
|
|
171
|
+
- Skills are saved to `prompter/skills/<skill-name>/`
|
|
172
|
+
- Read `prompter/project.md` for project context if needed
|
|
173
|
+
<!-- prompter-managed-end -->
|
package/dist/cli/index.js
CHANGED
|
@@ -3,11 +3,12 @@ import { InitCommand } from '../commands/init.js';
|
|
|
3
3
|
import { UpdateCommand } from '../commands/update.js';
|
|
4
4
|
import { ListCommand } from '../commands/list.js';
|
|
5
5
|
import { PrdGeneratorCommand } from '../commands/prd-generator.js';
|
|
6
|
+
import { SkillCreatorCommand } from '../commands/skill-creator.js';
|
|
6
7
|
const program = new Command();
|
|
7
8
|
program
|
|
8
9
|
.name('prompter')
|
|
9
10
|
.description('Enhance prompts directly in your AI coding workflow')
|
|
10
|
-
.version('0.3.
|
|
11
|
+
.version('0.3.7');
|
|
11
12
|
program
|
|
12
13
|
.command('init')
|
|
13
14
|
.description('Initialize Prompter in your project')
|
|
@@ -39,5 +40,12 @@ program
|
|
|
39
40
|
const prdGeneratorCommand = new PrdGeneratorCommand();
|
|
40
41
|
await prdGeneratorCommand.execute(options);
|
|
41
42
|
});
|
|
43
|
+
program
|
|
44
|
+
.command('skill-creator')
|
|
45
|
+
.description('Generate skill-creator workflow files for configured AI tools')
|
|
46
|
+
.action(async (options) => {
|
|
47
|
+
const skillCreatorCommand = new SkillCreatorCommand();
|
|
48
|
+
await skillCreatorCommand.execute(options);
|
|
49
|
+
});
|
|
42
50
|
program.parse();
|
|
43
51
|
//# sourceMappingURL=index.js.map
|
package/dist/cli/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,OAAO,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,2BAA2B,CAAC;KACxC,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAAC;KAClC,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IACtB,MAAM,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC;IACtC,MAAM,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC;AAEP,OAAO;KACF,OAAO,CAAC,eAAe,CAAC;KACxB,WAAW,CAAC,qDAAqD,CAAC;KAClE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IACtB,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAC;IACtD,MAAM,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEP,OAAO;KACF,OAAO,CAAC,eAAe,CAAC;KACxB,WAAW,CAAC,+DAA+D,CAAC;KAC5E,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IACtB,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAC;IACtD,MAAM,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEP,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface SkillCreatorOptions {
|
|
2
|
+
tools?: string[];
|
|
3
|
+
noInteractive?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare class SkillCreatorCommand {
|
|
6
|
+
execute(options?: SkillCreatorOptions): Promise<void>;
|
|
7
|
+
private fileExists;
|
|
8
|
+
private detectConfiguredTools;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=skill-creator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-creator.d.ts","sourceRoot":"","sources":["../../src/commands/skill-creator.ts"],"names":[],"mappings":"AAMA,UAAU,mBAAmB;IACzB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,qBAAa,mBAAmB;IACtB,OAAO,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;YA8EjD,UAAU;YASV,qBAAqB;CAuBtC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { promises as fs } from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import chalk from 'chalk';
|
|
4
|
+
import { PrompterConfig, PROMPTER_DIR, PROMPTER_MARKERS } from '../core/config.js';
|
|
5
|
+
import { registry } from '../core/configurators/slash/index.js';
|
|
6
|
+
export class SkillCreatorCommand {
|
|
7
|
+
async execute(options = {}) {
|
|
8
|
+
const projectPath = process.cwd();
|
|
9
|
+
// Check if initialized
|
|
10
|
+
if (!await PrompterConfig.prompterDirExists(projectPath)) {
|
|
11
|
+
console.log(chalk.red('\n❌ Prompter is not initialized in this project.\n'));
|
|
12
|
+
console.log(chalk.gray(' Run `prompter init` first.\n'));
|
|
13
|
+
process.exitCode = 1;
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
console.log(chalk.blue('\n🛠️ Generating skill-creator workflow files...\n'));
|
|
17
|
+
// Ensure skills directory exists
|
|
18
|
+
const skillsPath = path.join(projectPath, PROMPTER_DIR, 'skills');
|
|
19
|
+
await fs.mkdir(skillsPath, { recursive: true });
|
|
20
|
+
console.log(chalk.green('✓') + ` Ensured ${chalk.cyan(PROMPTER_DIR + '/skills/')} directory exists`);
|
|
21
|
+
// Detect currently configured tools
|
|
22
|
+
const configuredTools = await this.detectConfiguredTools(projectPath);
|
|
23
|
+
if (configuredTools.length === 0) {
|
|
24
|
+
console.log(chalk.yellow('\n⚠️ No tools configured yet.\n'));
|
|
25
|
+
console.log(chalk.gray(' Run `prompter init` to configure AI tools first.\n'));
|
|
26
|
+
process.exitCode = 1;
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
// Generate skill-creator workflow files for all configured tools
|
|
30
|
+
let successCount = 0;
|
|
31
|
+
let failCount = 0;
|
|
32
|
+
for (const toolId of configuredTools) {
|
|
33
|
+
const configurator = registry.get(toolId);
|
|
34
|
+
if (configurator) {
|
|
35
|
+
try {
|
|
36
|
+
// Generate only the skill-creator workflow file
|
|
37
|
+
const body = configurator['getBody']('skill-creator');
|
|
38
|
+
const relativePath = configurator['getRelativePath']('skill-creator');
|
|
39
|
+
const filePath = path.join(projectPath, relativePath);
|
|
40
|
+
// Ensure directory exists
|
|
41
|
+
await fs.mkdir(path.dirname(filePath), { recursive: true });
|
|
42
|
+
// Check if file exists
|
|
43
|
+
const fileExists = await this.fileExists(filePath);
|
|
44
|
+
if (fileExists) {
|
|
45
|
+
console.log(chalk.yellow('⚠️') + ` ${chalk.cyan(relativePath)} already exists, skipping`);
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
// Get frontmatter if needed
|
|
49
|
+
const frontmatter = configurator['getFrontmatter']('skill-creator');
|
|
50
|
+
const sections = [];
|
|
51
|
+
if (frontmatter) {
|
|
52
|
+
sections.push(frontmatter.trim());
|
|
53
|
+
}
|
|
54
|
+
sections.push(`${PROMPTER_MARKERS.start}\n${body}\n${PROMPTER_MARKERS.end}`);
|
|
55
|
+
const content = sections.join('\n') + '\n';
|
|
56
|
+
await fs.writeFile(filePath, content, 'utf-8');
|
|
57
|
+
console.log(chalk.green('✓') + ` Created ${chalk.cyan(relativePath)}`);
|
|
58
|
+
successCount++;
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
console.log(chalk.red('✗') + ` Failed to create files for ${toolId}: ${error}`);
|
|
62
|
+
failCount++;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
// Success message
|
|
67
|
+
console.log(chalk.green(`\n✅ Skill creator workflow files created successfully!\n`));
|
|
68
|
+
console.log(chalk.blue('Next steps:'));
|
|
69
|
+
console.log(chalk.gray(' 1. Use /skill-creator in your AI tool to create skills'));
|
|
70
|
+
console.log(chalk.gray(' 2. Skills will be saved to prompter/skills/<skill-name>/\n'));
|
|
71
|
+
}
|
|
72
|
+
async fileExists(filePath) {
|
|
73
|
+
try {
|
|
74
|
+
await fs.access(filePath);
|
|
75
|
+
return true;
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
async detectConfiguredTools(projectPath) {
|
|
82
|
+
const configuredTools = [];
|
|
83
|
+
const allConfigurators = registry.getAll();
|
|
84
|
+
for (const configurator of allConfigurators) {
|
|
85
|
+
const targets = configurator.getTargets();
|
|
86
|
+
let hasFiles = false;
|
|
87
|
+
for (const target of targets) {
|
|
88
|
+
const filePath = path.join(projectPath, target.path);
|
|
89
|
+
if (await this.fileExists(filePath)) {
|
|
90
|
+
hasFiles = true;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (hasFiles) {
|
|
95
|
+
configuredTools.push(configurator.toolId);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return configuredTools;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=skill-creator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-creator.js","sourceRoot":"","sources":["../../src/commands/skill-creator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAOhE,MAAM,OAAO,mBAAmB;IAC5B,KAAK,CAAC,OAAO,CAAC,UAA+B,EAAE;QAC3C,MAAM,WAA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AI,gBAAgB,EAAE,CAAC;YAC1C,MAAM,OAAO,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;YAC1C,IAAI,QAAQ,GAAG,KAAK,CAAC;YAErB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;gBAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;gBACrD,IAAI,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAClC,QAAQ,GAAG,IAAI,CAAC;oBAChB,MAAM;gBACV,CAAC;YACL,CAAC;YAED,IAAI,QAAQ,EAAE,CAAC;gBACX,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;YAC9C,CAAC;QACL,CAAC;QAED,OAAO,eAAe,CAAC;IAC3B,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antigravity.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"antigravity.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB1D,qBAAa,uBAAwB,SAAQ,wBAAwB;IACjE,QAAQ,CAAC,MAAM,iBAAiB;IAChC,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -4,14 +4,16 @@ const FILE_PATHS = {
|
|
|
4
4
|
'prd-generator': '.agent/workflows/prd-generator.md',
|
|
5
5
|
'epic-single': '.agent/workflows/epic-single.md',
|
|
6
6
|
'story-single': '.agent/workflows/story-single.md',
|
|
7
|
-
'qa-test-scenario': '.agent/workflows/qa-test-scenario.md'
|
|
7
|
+
'qa-test-scenario': '.agent/workflows/qa-test-scenario.md',
|
|
8
|
+
'skill-creator': '.agent/workflows/skill-creator.md'
|
|
8
9
|
};
|
|
9
10
|
const DESCRIPTIONS = {
|
|
10
11
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
11
12
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
12
13
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
13
14
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
14
|
-
'qa-test-scenario': 'Generate focused QA test scenarios from PRD'
|
|
15
|
+
'qa-test-scenario': 'Generate focused QA test scenarios from PRD',
|
|
16
|
+
'skill-creator': 'Create a modular skill package that extends AI agent capabilities'
|
|
15
17
|
};
|
|
16
18
|
export class AntigravityConfigurator extends SlashCommandConfigurator {
|
|
17
19
|
toolId = 'antigravity';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antigravity.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,mCAAmC;IACpD,aAAa,EAAE,iCAAiC;IAChD,cAAc,EAAE,kCAAkC;IAClD,kBAAkB,EAAE,sCAAsC;
|
|
1
|
+
{"version":3,"file":"antigravity.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,mCAAmC;IACpD,aAAa,EAAE,iCAAiC;IAChD,cAAc,EAAE,kCAAkC;IAClD,kBAAkB,EAAE,sCAAsC;IAC1D,eAAe,EAAE,mCAAmC;CACvD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;CACvF,CAAC;AAEF,MAAM,OAAO,uBAAwB,SAAQ,wBAAwB;IACxD,MAAM,GAAG,aAAa,CAAC;IACvB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -2,7 +2,7 @@ import { promises as fs } from 'fs';
|
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { TemplateManager } from '../../templates/index.js';
|
|
4
4
|
import { PROMPTER_MARKERS } from '../../config.js';
|
|
5
|
-
const ALL_COMMANDS = ['enhance', 'prd-generator', 'epic-single', 'story-single', 'qa-test-scenario'];
|
|
5
|
+
const ALL_COMMANDS = ['enhance', 'prd-generator', 'epic-single', 'story-single', 'qa-test-scenario', 'skill-creator'];
|
|
6
6
|
export class SlashCommandConfigurator {
|
|
7
7
|
getTargets() {
|
|
8
8
|
return ALL_COMMANDS.map((id) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,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rC,IAAI,CAAC;YACD,MAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC1B,OAAO,IAAI,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB1D,qBAAa,kBAAmB,SAAQ,wBAAwB;IAC5D,QAAQ,CAAC,MAAM,YAAY;IAC3B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -4,14 +4,16 @@ const FILE_PATHS = {
|
|
|
4
4
|
'prd-generator': '.claude/commands/prompter/prd-generator.md',
|
|
5
5
|
'epic-single': '.claude/commands/prompter/epic-single.md',
|
|
6
6
|
'story-single': '.claude/commands/prompter/story-single.md',
|
|
7
|
-
'qa-test-scenario': '.claude/commands/prompter/qa-test-scenario.md'
|
|
7
|
+
'qa-test-scenario': '.claude/commands/prompter/qa-test-scenario.md',
|
|
8
|
+
'skill-creator': '.claude/commands/prompter/skill-creator.md'
|
|
8
9
|
};
|
|
9
10
|
const DESCRIPTIONS = {
|
|
10
11
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
11
12
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
12
13
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
13
14
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
14
|
-
'qa-test-scenario': 'Generate focused QA test scenarios from PRD'
|
|
15
|
+
'qa-test-scenario': 'Generate focused QA test scenarios from PRD',
|
|
16
|
+
'skill-creator': 'Create a modular skill package that extends AI agent capabilities'
|
|
15
17
|
};
|
|
16
18
|
export class ClaudeConfigurator extends SlashCommandConfigurator {
|
|
17
19
|
toolId = 'claude';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,4CAA4C;IAC7D,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,2CAA2C;IAC3D,kBAAkB,EAAE,+CAA+C;
|
|
1
|
+
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,4CAA4C;IAC7D,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,2CAA2C;IAC3D,kBAAkB,EAAE,+CAA+C;IACnE,eAAe,EAAE,4CAA4C;CAChE,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;CACvF,CAAC;AAEF,MAAM,OAAO,kBAAmB,SAAQ,wBAAwB;IACnD,MAAM,GAAG,QAAQ,CAAC;IAClB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,oDAAoD;QACpD,OAAO,SAAS,CAAC;IACrB,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB1D,qBAAa,iBAAkB,SAAQ,wBAAwB;IAC3D,QAAQ,CAAC,MAAM,WAAW;IAC1B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -4,14 +4,16 @@ const FILE_PATHS = {
|
|
|
4
4
|
'prd-generator': '.codex/prompts/prd-generator.md',
|
|
5
5
|
'epic-single': '.codex/prompts/epic-single.md',
|
|
6
6
|
'story-single': '.codex/prompts/story-single.md',
|
|
7
|
-
'qa-test-scenario': '.codex/prompts/qa-test-scenario.md'
|
|
7
|
+
'qa-test-scenario': '.codex/prompts/qa-test-scenario.md',
|
|
8
|
+
'skill-creator': '.codex/prompts/skill-creator.md'
|
|
8
9
|
};
|
|
9
10
|
const DESCRIPTIONS = {
|
|
10
11
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
11
12
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
12
13
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
13
14
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
14
|
-
'qa-test-scenario': 'Generate focused QA test scenarios from PRD'
|
|
15
|
+
'qa-test-scenario': 'Generate focused QA test scenarios from PRD',
|
|
16
|
+
'skill-creator': 'Create a modular skill package that extends AI agent capabilities'
|
|
15
17
|
};
|
|
16
18
|
export class CodexConfigurator extends SlashCommandConfigurator {
|
|
17
19
|
toolId = 'codex';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,oCAAoC;IAC7C,eAAe,EAAE,iCAAiC;IAClD,aAAa,EAAE,+BAA+B;IAC9C,cAAc,EAAE,gCAAgC;IAChD,kBAAkB,EAAE,oCAAoC;
|
|
1
|
+
{"version":3,"file":"codex.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,oCAAoC;IAC7C,eAAe,EAAE,iCAAiC;IAClD,aAAa,EAAE,+BAA+B;IAC9C,cAAc,EAAE,gCAAgC;IAChD,kBAAkB,EAAE,oCAAoC;IACxD,eAAe,EAAE,iCAAiC;CACrD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;CACvF,CAAC;AAEF,MAAM,OAAO,iBAAkB,SAAQ,wBAAwB;IAClD,MAAM,GAAG,OAAO,CAAC;IACjB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-copilot.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/github-copilot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"github-copilot.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/github-copilot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAuB1D,qBAAa,yBAA0B,SAAQ,wBAAwB;IACnE,QAAQ,CAAC,MAAM,oBAAoB;IACnC,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;IAK1D,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;YAgC3C,eAAe;CAQhC"}
|
|
@@ -7,14 +7,16 @@ const FILE_PATHS = {
|
|
|
7
7
|
'prd-generator': '.github/prompts/prd-generator.prompt.md',
|
|
8
8
|
'epic-single': '.github/prompts/epic-single.prompt.md',
|
|
9
9
|
'story-single': '.github/prompts/story-single.prompt.md',
|
|
10
|
-
'qa-test-scenario': '.github/prompts/qa-test-scenario.prompt.md'
|
|
10
|
+
'qa-test-scenario': '.github/prompts/qa-test-scenario.prompt.md',
|
|
11
|
+
'skill-creator': '.github/prompts/skill-creator.prompt.md'
|
|
11
12
|
};
|
|
12
13
|
const DESCRIPTIONS = {
|
|
13
14
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
14
15
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
15
16
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
16
17
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
17
|
-
'qa-test-scenario': 'Generate focused QA test scenarios from PRD'
|
|
18
|
+
'qa-test-scenario': 'Generate focused QA test scenarios from PRD',
|
|
19
|
+
'skill-creator': 'Create a modular skill package that extends AI agent capabilities'
|
|
18
20
|
};
|
|
19
21
|
export class GithubCopilotConfigurator extends SlashCommandConfigurator {
|
|
20
22
|
toolId = 'github-copilot';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-copilot.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/github-copilot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,4CAA4C;IACrD,eAAe,EAAE,yCAAyC;IAC1D,aAAa,EAAE,uCAAuC;IACtD,cAAc,EAAE,wCAAwC;IACxD,kBAAkB,EAAE,4CAA4C;
|
|
1
|
+
{"version":3,"file":"github-copilot.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/github-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AO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kilocode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"kilocode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB1D,qBAAa,oBAAqB,SAAQ,wBAAwB;IAC9D,QAAQ,CAAC,MAAM,cAAc;IAC7B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -4,14 +4,16 @@ const FILE_PATHS = {
|
|
|
4
4
|
'prd-generator': '.kilocode/workflows/prd-generator.md',
|
|
5
5
|
'epic-single': '.kilocode/workflows/epic-single.md',
|
|
6
6
|
'story-single': '.kilocode/workflows/story-single.md',
|
|
7
|
-
'qa-test-scenario': '.kilocode/workflows/qa-test-scenario.md'
|
|
7
|
+
'qa-test-scenario': '.kilocode/workflows/qa-test-scenario.md',
|
|
8
|
+
'skill-creator': '.kilocode/workflows/skill-creator.md'
|
|
8
9
|
};
|
|
9
10
|
const DESCRIPTIONS = {
|
|
10
11
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
11
12
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
12
13
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
13
14
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
14
|
-
'qa-test-scenario': 'Generate focused QA test scenarios from PRD'
|
|
15
|
+
'qa-test-scenario': 'Generate focused QA test scenarios from PRD',
|
|
16
|
+
'skill-creator': 'Create a modular skill package that extends AI agent capabilities'
|
|
15
17
|
};
|
|
16
18
|
export class KiloCodeConfigurator extends SlashCommandConfigurator {
|
|
17
19
|
toolId = 'kilocode';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kilocode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,yCAAyC;IAClD,eAAe,EAAE,sCAAsC;IACvD,aAAa,EAAE,oCAAoC;IACnD,cAAc,EAAE,qCAAqC;IACrD,kBAAkB,EAAE,yCAAyC;
|
|
1
|
+
{"version":3,"file":"kilocode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,yCAAyC;IAClD,eAAe,EAAE,sCAAsC;IACvD,aAAa,EAAE,oCAAoC;IACnD,cAAc,EAAE,qCAAqC;IACrD,kBAAkB,EAAE,yCAAyC;IAC7D,eAAe,EAAE,sCAAsC;CAC1D,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;CACvF,CAAC;AAEF,MAAM,OAAO,oBAAqB,SAAQ,wBAAwB;IACrD,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"opencode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB1D,qBAAa,oBAAqB,SAAQ,wBAAwB;IAC9D,QAAQ,CAAC,MAAM,cAAc;IAC7B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -4,14 +4,16 @@ const FILE_PATHS = {
|
|
|
4
4
|
'prd-generator': '.opencode/prompts/prd-generator.md',
|
|
5
5
|
'epic-single': '.opencode/prompts/epic-single.md',
|
|
6
6
|
'story-single': '.opencode/prompts/story-single.md',
|
|
7
|
-
'qa-test-scenario': '.opencode/prompts/qa-test-scenario.md'
|
|
7
|
+
'qa-test-scenario': '.opencode/prompts/qa-test-scenario.md',
|
|
8
|
+
'skill-creator': '.opencode/prompts/skill-creator.md'
|
|
8
9
|
};
|
|
9
10
|
const DESCRIPTIONS = {
|
|
10
11
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
11
12
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
12
13
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
13
14
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
14
|
-
'qa-test-scenario': 'Generate focused QA test scenarios from PRD'
|
|
15
|
+
'qa-test-scenario': 'Generate focused QA test scenarios from PRD',
|
|
16
|
+
'skill-creator': 'Create a modular skill package that extends AI agent capabilities'
|
|
15
17
|
};
|
|
16
18
|
export class OpenCodeConfigurator extends SlashCommandConfigurator {
|
|
17
19
|
toolId = 'opencode';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,uCAAuC;IAChD,eAAe,EAAE,oCAAoC;IACrD,aAAa,EAAE,kCAAkC;IACjD,cAAc,EAAE,mCAAmC;IACnD,kBAAkB,EAAE,uCAAuC;
|
|
1
|
+
{"version":3,"file":"opencode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,uCAAuC;IAChD,eAAe,EAAE,oCAAoC;IACrD,aAAa,EAAE,kCAAkC;IACjD,cAAc,EAAE,mCAAmC;IACnD,kBAAkB,EAAE,uCAAuC;IAC3D,eAAe,EAAE,oCAAoC;CACxD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;CACvF,CAAC;AAEF,MAAM,OAAO,oBAAqB,SAAQ,wBAAwB;IACrD,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type SlashCommandId = 'enhance' | 'prd-generator' | 'epic-single' | 'story-single' | 'qa-test-scenario';
|
|
1
|
+
export type SlashCommandId = 'enhance' | 'prd-generator' | 'epic-single' | 'story-single' | 'qa-test-scenario' | 'skill-creator';
|
|
2
2
|
export declare const slashCommandBodies: Record<SlashCommandId, string>;
|
|
3
3
|
export declare function getSlashCommandBody(id: SlashCommandId): string;
|
|
4
4
|
export declare class TemplateManager {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-command-templates.d.ts","sourceRoot":"","sources":["../../../src/core/templates/slash-command-templates.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,GAAG,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"slash-command-templates.d.ts","sourceRoot":"","sources":["../../../src/core/templates/slash-command-templates.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,CAAC;AAmsBjI,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAO7D,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,CAE9D;AAED,qBAAa,eAAe;IACxB,MAAM,CAAC,mBAAmB,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;CAGzD"}
|