@meltstudio/meltctl 4.10.0 → 4.12.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 +1 -1
- package/dist/commands/init.js +52 -12
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/commands/init.js
CHANGED
|
@@ -7,43 +7,83 @@ import { fetchTemplates } from '../utils/templates.js';
|
|
|
7
7
|
const SKILL_FRONTMATTER = {
|
|
8
8
|
setup: `---
|
|
9
9
|
user-invocable: true
|
|
10
|
-
description:
|
|
10
|
+
description: >-
|
|
11
|
+
Analyze the project and customize AGENTS.md for this codebase.
|
|
12
|
+
Use when setting up a new project, after running meltctl init,
|
|
13
|
+
or when AGENTS.md has placeholder markers. Detects tech stack,
|
|
14
|
+
fills in project-specific sections, and merges existing standards.
|
|
11
15
|
---
|
|
12
16
|
|
|
13
17
|
`,
|
|
14
18
|
plan: `---
|
|
15
19
|
user-invocable: true
|
|
16
|
-
description:
|
|
20
|
+
description: >-
|
|
21
|
+
Design an implementation approach before writing code. Use when
|
|
22
|
+
starting a feature, tackling a complex task, or when the developer
|
|
23
|
+
says "plan this" or "how should we approach this". Gathers requirements,
|
|
24
|
+
explores codebase, and presents a step-by-step plan for approval.
|
|
17
25
|
---
|
|
18
26
|
|
|
19
27
|
`,
|
|
20
28
|
review: `---
|
|
21
29
|
user-invocable: true
|
|
22
|
-
description:
|
|
30
|
+
description: >-
|
|
31
|
+
Review code changes against project standards and address PR feedback.
|
|
32
|
+
Use when the developer asks to review changes, check code quality,
|
|
33
|
+
or respond to PR reviewer comments. Categorizes findings as must-fix,
|
|
34
|
+
should-fix, or suggestions.
|
|
23
35
|
---
|
|
24
36
|
|
|
25
37
|
`,
|
|
26
38
|
pr: `---
|
|
27
39
|
user-invocable: true
|
|
28
|
-
description:
|
|
40
|
+
description: >-
|
|
41
|
+
Create a well-structured pull request from current changes. Use when
|
|
42
|
+
the developer is ready to submit work, says "create a PR", or "open
|
|
43
|
+
a pull request". Analyzes changes, runs pre-flight checks, drafts
|
|
44
|
+
description, and creates the PR via gh CLI.
|
|
29
45
|
---
|
|
30
46
|
|
|
31
47
|
`,
|
|
32
48
|
debug: `---
|
|
33
49
|
user-invocable: true
|
|
34
|
-
description:
|
|
50
|
+
description: >-
|
|
51
|
+
Systematically investigate and fix bugs. Use when the developer
|
|
52
|
+
reports a bug, encounters an error, or says "debug this" or "why
|
|
53
|
+
is this failing". Reproduces the issue, isolates root cause, writes
|
|
54
|
+
regression test, and implements minimal fix.
|
|
35
55
|
---
|
|
36
56
|
|
|
37
57
|
`,
|
|
38
58
|
audit: `---
|
|
39
59
|
user-invocable: true
|
|
40
|
-
description:
|
|
60
|
+
description: >-
|
|
61
|
+
Run a comprehensive project compliance audit against team standards.
|
|
62
|
+
Use when the developer wants to assess project health, check compliance,
|
|
63
|
+
or says "audit this project". Checks 15 categories including documentation,
|
|
64
|
+
testing, CI/CD, security, and AI tool setup. Produces a structured
|
|
65
|
+
report with scores and actionable fixes.
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
`,
|
|
69
|
+
validate: `---
|
|
70
|
+
user-invocable: true
|
|
71
|
+
description: >-
|
|
72
|
+
Run the validation plan from the plan document after implementation.
|
|
73
|
+
Use when the developer says "validate this", "test the feature", or
|
|
74
|
+
after finishing implementation. Validates end-to-end using browser,
|
|
75
|
+
API, or CLI testing, suggests test coverage improvements, then prompts
|
|
76
|
+
the developer for mandatory manual sign-off.
|
|
41
77
|
---
|
|
42
78
|
|
|
43
79
|
`,
|
|
44
80
|
update: `---
|
|
45
81
|
user-invocable: true
|
|
46
|
-
description:
|
|
82
|
+
description: >-
|
|
83
|
+
Update Melt skills and standards to the latest version. Use when the
|
|
84
|
+
developer wants the latest skill templates, says "update melt", or
|
|
85
|
+
after a new meltctl version is released. Fetches latest templates,
|
|
86
|
+
preserves project customizations in AGENTS.md, and merges changes.
|
|
47
87
|
---
|
|
48
88
|
|
|
49
89
|
`,
|
|
@@ -146,7 +186,7 @@ export async function initCommand(options) {
|
|
|
146
186
|
console.log(chalk.bold('Initializing Melt development tools...'));
|
|
147
187
|
console.log();
|
|
148
188
|
const createdFiles = [];
|
|
149
|
-
const workflows = ['setup', 'plan', 'review', 'pr', 'debug', 'audit', 'update'];
|
|
189
|
+
const workflows = ['setup', 'plan', 'validate', 'review', 'pr', 'debug', 'audit', 'update'];
|
|
150
190
|
// Shared files (skip on re-init)
|
|
151
191
|
if (!isReInit) {
|
|
152
192
|
const agentsMd = templates['agents-md.md'];
|
|
@@ -178,7 +218,7 @@ export async function initCommand(options) {
|
|
|
178
218
|
await fs.writeFile(path.join(skillDir, 'SKILL.md'), skillContent, 'utf-8');
|
|
179
219
|
}
|
|
180
220
|
}
|
|
181
|
-
createdFiles.push('.claude/skills/melt-{setup,plan,review,pr,debug,audit,update}/SKILL.md');
|
|
221
|
+
createdFiles.push('.claude/skills/melt-{setup,plan,validate,review,pr,debug,audit,update}/SKILL.md');
|
|
182
222
|
}
|
|
183
223
|
// Cursor files
|
|
184
224
|
if (tools.cursor) {
|
|
@@ -189,7 +229,7 @@ export async function initCommand(options) {
|
|
|
189
229
|
await fs.writeFile(path.join(cwd, `.cursor/commands/melt-${name}.md`), workflowContent, 'utf-8');
|
|
190
230
|
}
|
|
191
231
|
}
|
|
192
|
-
createdFiles.push('.cursor/commands/melt-{setup,plan,review,pr,debug,audit,update}.md');
|
|
232
|
+
createdFiles.push('.cursor/commands/melt-{setup,plan,validate,review,pr,debug,audit,update}.md');
|
|
193
233
|
}
|
|
194
234
|
// Print summary
|
|
195
235
|
console.log(chalk.green('Created files:'));
|
|
@@ -202,11 +242,11 @@ export async function initCommand(options) {
|
|
|
202
242
|
console.log();
|
|
203
243
|
}
|
|
204
244
|
if (tools.claude) {
|
|
205
|
-
const skills = '/melt-setup, /melt-plan, /melt-review, /melt-pr, /melt-debug, /melt-audit, /melt-update';
|
|
245
|
+
const skills = '/melt-setup, /melt-plan, /melt-validate, /melt-review, /melt-pr, /melt-debug, /melt-audit, /melt-update';
|
|
206
246
|
console.log(chalk.dim(`Available skills: ${skills}`));
|
|
207
247
|
}
|
|
208
248
|
if (tools.cursor) {
|
|
209
|
-
console.log(chalk.dim('Available commands: melt-setup, melt-plan, melt-review, melt-pr, melt-debug, melt-audit, melt-update'));
|
|
249
|
+
console.log(chalk.dim('Available commands: melt-setup, melt-plan, melt-validate, melt-review, melt-pr, melt-debug, melt-audit, melt-update'));
|
|
210
250
|
}
|
|
211
251
|
if (tools.claude || tools.cursor) {
|
|
212
252
|
console.log();
|
package/package.json
CHANGED