@ias-ai/zhima-spec 1.3.1 → 1.3.4
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 +8 -8
- package/dist/commands/feedback.js +2 -2
- package/dist/core/command-generation/adapters/amazon-q.d.ts +1 -1
- package/dist/core/command-generation/adapters/amazon-q.js +2 -2
- package/dist/core/command-generation/adapters/antigravity.d.ts +1 -1
- package/dist/core/command-generation/adapters/antigravity.js +2 -2
- package/dist/core/command-generation/adapters/auggie.d.ts +1 -1
- package/dist/core/command-generation/adapters/auggie.js +2 -2
- package/dist/core/command-generation/adapters/bob.d.ts +1 -1
- package/dist/core/command-generation/adapters/bob.js +2 -2
- package/dist/core/command-generation/adapters/claude.d.ts +1 -1
- package/dist/core/command-generation/adapters/claude.js +2 -2
- package/dist/core/command-generation/adapters/cline.d.ts +1 -1
- package/dist/core/command-generation/adapters/cline.js +2 -2
- package/dist/core/command-generation/adapters/codebuddy.d.ts +1 -1
- package/dist/core/command-generation/adapters/codebuddy.js +2 -2
- package/dist/core/command-generation/adapters/codex.d.ts +1 -1
- package/dist/core/command-generation/adapters/codex.js +2 -2
- package/dist/core/command-generation/adapters/continue.d.ts +1 -1
- package/dist/core/command-generation/adapters/continue.js +3 -3
- package/dist/core/command-generation/adapters/costrict.d.ts +1 -1
- package/dist/core/command-generation/adapters/costrict.js +2 -2
- package/dist/core/command-generation/adapters/crush.d.ts +1 -1
- package/dist/core/command-generation/adapters/crush.js +2 -2
- package/dist/core/command-generation/adapters/cursor.d.ts +2 -2
- package/dist/core/command-generation/adapters/cursor.js +5 -5
- package/dist/core/command-generation/adapters/factory.d.ts +1 -1
- package/dist/core/command-generation/adapters/factory.js +2 -2
- package/dist/core/command-generation/adapters/gemini.d.ts +1 -1
- package/dist/core/command-generation/adapters/gemini.js +2 -2
- package/dist/core/command-generation/adapters/github-copilot.d.ts +1 -1
- package/dist/core/command-generation/adapters/github-copilot.js +2 -2
- package/dist/core/command-generation/adapters/iflow.d.ts +1 -1
- package/dist/core/command-generation/adapters/iflow.js +4 -4
- package/dist/core/command-generation/adapters/junie.d.ts +1 -1
- package/dist/core/command-generation/adapters/junie.js +2 -2
- package/dist/core/command-generation/adapters/kilocode.d.ts +1 -1
- package/dist/core/command-generation/adapters/kilocode.js +2 -2
- package/dist/core/command-generation/adapters/kiro.d.ts +1 -1
- package/dist/core/command-generation/adapters/kiro.js +2 -2
- package/dist/core/command-generation/adapters/lingma.d.ts +1 -1
- package/dist/core/command-generation/adapters/lingma.js +2 -2
- package/dist/core/command-generation/adapters/opencode.d.ts +1 -1
- package/dist/core/command-generation/adapters/opencode.js +2 -2
- package/dist/core/command-generation/adapters/pi.d.ts +3 -3
- package/dist/core/command-generation/adapters/pi.js +5 -5
- package/dist/core/command-generation/adapters/qoder.d.ts +1 -1
- package/dist/core/command-generation/adapters/qoder.js +2 -2
- package/dist/core/command-generation/adapters/qwen.d.ts +1 -1
- package/dist/core/command-generation/adapters/qwen.js +2 -2
- package/dist/core/command-generation/adapters/roocode.d.ts +1 -1
- package/dist/core/command-generation/adapters/roocode.js +2 -2
- package/dist/core/command-generation/adapters/vjsp.d.ts +1 -1
- package/dist/core/command-generation/adapters/vjsp.js +2 -2
- package/dist/core/command-generation/adapters/windsurf.d.ts +1 -1
- package/dist/core/command-generation/adapters/windsurf.js +2 -2
- package/dist/core/command-generation/types.d.ts +1 -1
- package/dist/core/init.js +2 -2
- package/dist/core/legacy-cleanup.js +2 -2
- package/dist/core/migration.js +1 -1
- package/dist/core/shared/skill-generation.d.ts +2 -2
- package/dist/core/shared/skill-generation.js +13 -13
- package/dist/core/templates/skill-templates.d.ts +11 -11
- package/dist/core/templates/skill-templates.js +11 -11
- package/dist/core/templates/workflows/apply-change.d.ts +1 -1
- package/dist/core/templates/workflows/apply-change.js +2 -2
- package/dist/core/templates/workflows/archive-change.d.ts +1 -1
- package/dist/core/templates/workflows/archive-change.js +2 -2
- package/dist/core/templates/workflows/bulk-archive-change.d.ts +1 -1
- package/dist/core/templates/workflows/bulk-archive-change.js +2 -2
- package/dist/core/templates/workflows/continue-change.d.ts +1 -1
- package/dist/core/templates/workflows/continue-change.js +2 -2
- package/dist/core/templates/workflows/explore.d.ts +1 -1
- package/dist/core/templates/workflows/explore.js +2 -2
- package/dist/core/templates/workflows/ff-change.d.ts +1 -1
- package/dist/core/templates/workflows/ff-change.js +2 -2
- package/dist/core/templates/workflows/new-change.d.ts +1 -1
- package/dist/core/templates/workflows/new-change.js +3 -3
- package/dist/core/templates/workflows/onboard.d.ts +1 -1
- package/dist/core/templates/workflows/onboard.js +2 -2
- package/dist/core/templates/workflows/propose.d.ts +2 -2
- package/dist/core/templates/workflows/propose.js +3 -3
- package/dist/core/templates/workflows/sync-specs.d.ts +1 -1
- package/dist/core/templates/workflows/sync-specs.js +2 -2
- package/dist/core/templates/workflows/verify-change.d.ts +1 -1
- package/dist/core/templates/workflows/verify-change.js +2 -2
- package/dist/core/update.js +2 -2
- package/dist/utils/command-references.d.ts +3 -3
- package/dist/utils/command-references.js +4 -4
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { ToolCommandAdapter } from '../types.js';
|
|
7
7
|
/**
|
|
8
8
|
* OpenCode adapter for command generation.
|
|
9
|
-
* File path: .opencode/commands/
|
|
9
|
+
* File path: .opencode/commands/zm-<id>.md
|
|
10
10
|
* Frontmatter: description
|
|
11
11
|
*/
|
|
12
12
|
export declare const opencodeAdapter: ToolCommandAdapter;
|
|
@@ -7,13 +7,13 @@ import path from 'path';
|
|
|
7
7
|
import { transformToHyphenCommands } from '../../../utils/command-references.js';
|
|
8
8
|
/**
|
|
9
9
|
* OpenCode adapter for command generation.
|
|
10
|
-
* File path: .opencode/commands/
|
|
10
|
+
* File path: .opencode/commands/zm-<id>.md
|
|
11
11
|
* Frontmatter: description
|
|
12
12
|
*/
|
|
13
13
|
export const opencodeAdapter = {
|
|
14
14
|
toolId: 'opencode',
|
|
15
15
|
getFilePath(commandId) {
|
|
16
|
-
return path.join('.opencode', 'commands', `
|
|
16
|
+
return path.join('.opencode', 'commands', `zm-${commandId}.md`);
|
|
17
17
|
},
|
|
18
18
|
formatFile(content) {
|
|
19
19
|
// Transform command references from colon to hyphen format for OpenCode
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
import type { ToolCommandAdapter } from '../types.js';
|
|
8
8
|
/**
|
|
9
9
|
* Pi adapter for prompt template generation.
|
|
10
|
-
* File path: .pi/prompts/
|
|
10
|
+
* File path: .pi/prompts/zm-<id>.md
|
|
11
11
|
* Frontmatter: description
|
|
12
12
|
*
|
|
13
13
|
* Pi uses the filename (minus .md) as the slash command name, so
|
|
14
|
-
*
|
|
15
|
-
* are transformed from /zm: to /
|
|
14
|
+
* zm-propose.md → /zm-propose. Command references in the body
|
|
15
|
+
* are transformed from /zm: to /zm- for consistency.
|
|
16
16
|
*/
|
|
17
17
|
export declare const piAdapter: ToolCommandAdapter;
|
|
18
18
|
//# sourceMappingURL=pi.d.ts.map
|
|
@@ -29,20 +29,20 @@ function escapeYamlValue(value) {
|
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Pi adapter for prompt template generation.
|
|
32
|
-
* File path: .pi/prompts/
|
|
32
|
+
* File path: .pi/prompts/zm-<id>.md
|
|
33
33
|
* Frontmatter: description
|
|
34
34
|
*
|
|
35
35
|
* Pi uses the filename (minus .md) as the slash command name, so
|
|
36
|
-
*
|
|
37
|
-
* are transformed from /zm: to /
|
|
36
|
+
* zm-propose.md → /zm-propose. Command references in the body
|
|
37
|
+
* are transformed from /zm: to /zm- for consistency.
|
|
38
38
|
*/
|
|
39
39
|
export const piAdapter = {
|
|
40
40
|
toolId: 'pi',
|
|
41
41
|
getFilePath(commandId) {
|
|
42
|
-
return path.join('.pi', 'prompts', `
|
|
42
|
+
return path.join('.pi', 'prompts', `zm-${commandId}.md`);
|
|
43
43
|
},
|
|
44
44
|
formatFile(content) {
|
|
45
|
-
// Transform /zm: references to /
|
|
45
|
+
// Transform /zm: references to /zm- and inject $@ for template args
|
|
46
46
|
const transformedBody = transformToHyphenCommands(content.body);
|
|
47
47
|
return `---
|
|
48
48
|
description: ${escapeYamlValue(content.description)}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { ToolCommandAdapter } from '../types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Qoder adapter for command generation.
|
|
9
|
-
* File path: .qoder/commands/
|
|
9
|
+
* File path: .qoder/commands/zm/<id>.md
|
|
10
10
|
* Frontmatter: name, description, category, tags
|
|
11
11
|
*/
|
|
12
12
|
export declare const qoderAdapter: ToolCommandAdapter;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
import path from 'path';
|
|
7
7
|
/**
|
|
8
8
|
* Qoder adapter for command generation.
|
|
9
|
-
* File path: .qoder/commands/
|
|
9
|
+
* File path: .qoder/commands/zm/<id>.md
|
|
10
10
|
* Frontmatter: name, description, category, tags
|
|
11
11
|
*/
|
|
12
12
|
export const qoderAdapter = {
|
|
13
13
|
toolId: 'qoder',
|
|
14
14
|
getFilePath(commandId) {
|
|
15
|
-
return path.join('.qoder', 'commands', '
|
|
15
|
+
return path.join('.qoder', 'commands', 'zm', `${commandId}.md`);
|
|
16
16
|
},
|
|
17
17
|
formatFile(content) {
|
|
18
18
|
const tagsStr = content.tags.join(', ');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { ToolCommandAdapter } from '../types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Qwen adapter for command generation.
|
|
9
|
-
* File path: .qwen/commands/
|
|
9
|
+
* File path: .qwen/commands/zm-<id>.toml
|
|
10
10
|
* Format: TOML with description and prompt fields
|
|
11
11
|
*/
|
|
12
12
|
export declare const qwenAdapter: ToolCommandAdapter;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
import path from 'path';
|
|
7
7
|
/**
|
|
8
8
|
* Qwen adapter for command generation.
|
|
9
|
-
* File path: .qwen/commands/
|
|
9
|
+
* File path: .qwen/commands/zm-<id>.toml
|
|
10
10
|
* Format: TOML with description and prompt fields
|
|
11
11
|
*/
|
|
12
12
|
export const qwenAdapter = {
|
|
13
13
|
toolId: 'qwen',
|
|
14
14
|
getFilePath(commandId) {
|
|
15
|
-
return path.join('.qwen', 'commands', `
|
|
15
|
+
return path.join('.qwen', 'commands', `zm-${commandId}.toml`);
|
|
16
16
|
},
|
|
17
17
|
formatFile(content) {
|
|
18
18
|
return `description = "${content.description}"
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import type { ToolCommandAdapter } from '../types.js';
|
|
8
8
|
/**
|
|
9
9
|
* RooCode adapter for command generation.
|
|
10
|
-
* File path: .roo/commands/
|
|
10
|
+
* File path: .roo/commands/zm-<id>.md
|
|
11
11
|
* Format: Markdown header with description
|
|
12
12
|
*/
|
|
13
13
|
export declare const roocodeAdapter: ToolCommandAdapter;
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
import path from 'path';
|
|
8
8
|
/**
|
|
9
9
|
* RooCode adapter for command generation.
|
|
10
|
-
* File path: .roo/commands/
|
|
10
|
+
* File path: .roo/commands/zm-<id>.md
|
|
11
11
|
* Format: Markdown header with description
|
|
12
12
|
*/
|
|
13
13
|
export const roocodeAdapter = {
|
|
14
14
|
toolId: 'roocode',
|
|
15
15
|
getFilePath(commandId) {
|
|
16
|
-
return path.join('.roo', 'commands', `
|
|
16
|
+
return path.join('.roo', 'commands', `zm-${commandId}.md`);
|
|
17
17
|
},
|
|
18
18
|
formatFile(content) {
|
|
19
19
|
return `# ${content.name}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { ToolCommandAdapter } from '../types.js';
|
|
7
7
|
/**
|
|
8
8
|
* VJSP adapter for command generation.
|
|
9
|
-
* File path: .vjsp/commands/
|
|
9
|
+
* File path: .vjsp/commands/zm-<id>.md
|
|
10
10
|
* Format: Markdown with frontmatter (name, description)
|
|
11
11
|
*/
|
|
12
12
|
export declare const vjspAdapter: ToolCommandAdapter;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
import path from 'path';
|
|
7
7
|
/**
|
|
8
8
|
* VJSP adapter for command generation.
|
|
9
|
-
* File path: .vjsp/commands/
|
|
9
|
+
* File path: .vjsp/commands/zm-<id>.md
|
|
10
10
|
* Format: Markdown with frontmatter (name, description)
|
|
11
11
|
*/
|
|
12
12
|
export const vjspAdapter = {
|
|
13
13
|
toolId: 'vjsp',
|
|
14
14
|
getFilePath(commandId) {
|
|
15
|
-
return path.join('.vjsp', 'commands', `
|
|
15
|
+
return path.join('.vjsp', 'commands', `zm-${commandId}.md`);
|
|
16
16
|
},
|
|
17
17
|
formatFile(content) {
|
|
18
18
|
return `---
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import type { ToolCommandAdapter } from '../types.js';
|
|
8
8
|
/**
|
|
9
9
|
* Windsurf adapter for command generation.
|
|
10
|
-
* File path: .windsurf/workflows/
|
|
10
|
+
* File path: .windsurf/workflows/zm-<id>.md
|
|
11
11
|
* Frontmatter: name, description, category, tags
|
|
12
12
|
*/
|
|
13
13
|
export declare const windsurfAdapter: ToolCommandAdapter;
|
|
@@ -28,13 +28,13 @@ function formatTagsArray(tags) {
|
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Windsurf adapter for command generation.
|
|
31
|
-
* File path: .windsurf/workflows/
|
|
31
|
+
* File path: .windsurf/workflows/zm-<id>.md
|
|
32
32
|
* Frontmatter: name, description, category, tags
|
|
33
33
|
*/
|
|
34
34
|
export const windsurfAdapter = {
|
|
35
35
|
toolId: 'windsurf',
|
|
36
36
|
getFilePath(commandId) {
|
|
37
|
-
return path.join('.windsurf', 'workflows', `
|
|
37
|
+
return path.join('.windsurf', 'workflows', `zm-${commandId}.md`);
|
|
38
38
|
},
|
|
39
39
|
formatFile(content) {
|
|
40
40
|
return `---
|
|
@@ -33,7 +33,7 @@ export interface ToolCommandAdapter {
|
|
|
33
33
|
/**
|
|
34
34
|
* Returns the file path for a command.
|
|
35
35
|
* @param commandId - The command identifier (e.g., 'explore')
|
|
36
|
-
* @returns Path from project root (e.g., '.claude/commands/
|
|
36
|
+
* @returns Path from project root (e.g., '.claude/commands/zm/explore.md').
|
|
37
37
|
* May be absolute for tools with global-scoped prompts (e.g., Codex).
|
|
38
38
|
*/
|
|
39
39
|
getFilePath(commandId: string): string;
|
package/dist/core/init.js
CHANGED
|
@@ -533,8 +533,8 @@ export class InitCommand {
|
|
|
533
533
|
}
|
|
534
534
|
// Links
|
|
535
535
|
console.log();
|
|
536
|
-
console.log(`Learn more: ${chalk.cyan('https://
|
|
537
|
-
console.log(`Feedback: ${chalk.cyan('https://
|
|
536
|
+
console.log(`Learn more: ${chalk.cyan('https://gitlab.oneberry.cc:2083/zhima-agent/ias-workflow')}`);
|
|
537
|
+
console.log(`Feedback: ${chalk.cyan('https://gitlab.oneberry.cc:2083/zhima-agent/ias-workflow/issues')}`);
|
|
538
538
|
// Restart instruction if any tools were configured
|
|
539
539
|
if (results.createdTools.length > 0 || results.refreshedTools.length > 0) {
|
|
540
540
|
console.log();
|
|
@@ -45,11 +45,11 @@ export const LEGACY_SLASH_COMMAND_PATHS = {
|
|
|
45
45
|
'roocode': { type: 'files', pattern: '.roo/commands/zhima-*.md' },
|
|
46
46
|
'auggie': { type: 'files', pattern: '.augment/commands/zhima-*.md' },
|
|
47
47
|
'factory': { type: 'files', pattern: '.factory/commands/zhima-*.md' },
|
|
48
|
-
'opencode': { type: 'files', pattern: ['.opencode/command/
|
|
48
|
+
'opencode': { type: 'files', pattern: ['.opencode/command/zm-*.md', '.opencode/command/zhima-*.md'] },
|
|
49
49
|
'continue': { type: 'files', pattern: '.continue/prompts/zhima-*.prompt' },
|
|
50
50
|
'antigravity': { type: 'files', pattern: '.agent/workflows/zhima-*.md' },
|
|
51
51
|
'iflow': { type: 'files', pattern: '.iflow/commands/zhima-*.md' },
|
|
52
|
-
'junie': { type: 'files', pattern: ['.junie/commands/
|
|
52
|
+
'junie': { type: 'files', pattern: ['.junie/commands/zm-*.md', '.junie/commands/zhima-*.md'] },
|
|
53
53
|
'qwen': { type: 'files', pattern: '.qwen/commands/zhima-*.toml' },
|
|
54
54
|
'codex': { type: 'files', pattern: '.codex/prompts/zhima-*.md' },
|
|
55
55
|
};
|
package/dist/core/migration.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared utilities for generating skill and command files.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { getZmExploreCommandTemplate, type SkillTemplate } from '../templates/skill-templates.js';
|
|
7
7
|
import type { CommandContent } from '../command-generation/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Skill template with directory name and workflow ID mapping.
|
|
@@ -17,7 +17,7 @@ export interface SkillTemplateEntry {
|
|
|
17
17
|
* Command template with ID mapping.
|
|
18
18
|
*/
|
|
19
19
|
export interface CommandTemplateEntry {
|
|
20
|
-
template: ReturnType<typeof
|
|
20
|
+
template: ReturnType<typeof getZmExploreCommandTemplate>;
|
|
21
21
|
id: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared utilities for generating skill and command files.
|
|
5
5
|
*/
|
|
6
|
-
import { getExploreSkillTemplate, getNewChangeSkillTemplate, getContinueChangeSkillTemplate, getApplyChangeSkillTemplate, getFfChangeSkillTemplate, getSyncSpecsSkillTemplate, getArchiveChangeSkillTemplate, getBulkArchiveChangeSkillTemplate, getVerifyChangeSkillTemplate, getOnboardSkillTemplate,
|
|
6
|
+
import { getExploreSkillTemplate, getNewChangeSkillTemplate, getContinueChangeSkillTemplate, getApplyChangeSkillTemplate, getFfChangeSkillTemplate, getSyncSpecsSkillTemplate, getArchiveChangeSkillTemplate, getBulkArchiveChangeSkillTemplate, getVerifyChangeSkillTemplate, getOnboardSkillTemplate, getZmProposeSkillTemplate, getZmExploreCommandTemplate, getZmNewCommandTemplate, getZmContinueCommandTemplate, getZmApplyCommandTemplate, getZmFfCommandTemplate, getZmSyncCommandTemplate, getZmArchiveCommandTemplate, getZmBulkArchiveCommandTemplate, getZmVerifyCommandTemplate, getZmOnboardCommandTemplate, getZmProposeCommandTemplate, } from '../templates/skill-templates.js';
|
|
7
7
|
/**
|
|
8
8
|
* Gets skill templates with their directory names, optionally filtered by workflow IDs.
|
|
9
9
|
*
|
|
@@ -21,7 +21,7 @@ export function getSkillTemplates(workflowFilter) {
|
|
|
21
21
|
{ template: getBulkArchiveChangeSkillTemplate(), dirName: 'zhima-bulk-archive-change', workflowId: 'bulk-archive' },
|
|
22
22
|
{ template: getVerifyChangeSkillTemplate(), dirName: 'zhima-verify-change', workflowId: 'verify' },
|
|
23
23
|
{ template: getOnboardSkillTemplate(), dirName: 'zhima-onboard', workflowId: 'onboard' },
|
|
24
|
-
{ template:
|
|
24
|
+
{ template: getZmProposeSkillTemplate(), dirName: 'zhima-propose', workflowId: 'propose' },
|
|
25
25
|
];
|
|
26
26
|
if (!workflowFilter)
|
|
27
27
|
return all;
|
|
@@ -35,17 +35,17 @@ export function getSkillTemplates(workflowFilter) {
|
|
|
35
35
|
*/
|
|
36
36
|
export function getCommandTemplates(workflowFilter) {
|
|
37
37
|
const all = [
|
|
38
|
-
{ template:
|
|
39
|
-
{ template:
|
|
40
|
-
{ template:
|
|
41
|
-
{ template:
|
|
42
|
-
{ template:
|
|
43
|
-
{ template:
|
|
44
|
-
{ template:
|
|
45
|
-
{ template:
|
|
46
|
-
{ template:
|
|
47
|
-
{ template:
|
|
48
|
-
{ template:
|
|
38
|
+
{ template: getZmExploreCommandTemplate(), id: 'explore' },
|
|
39
|
+
{ template: getZmNewCommandTemplate(), id: 'new' },
|
|
40
|
+
{ template: getZmContinueCommandTemplate(), id: 'continue' },
|
|
41
|
+
{ template: getZmApplyCommandTemplate(), id: 'apply' },
|
|
42
|
+
{ template: getZmFfCommandTemplate(), id: 'ff' },
|
|
43
|
+
{ template: getZmSyncCommandTemplate(), id: 'sync' },
|
|
44
|
+
{ template: getZmArchiveCommandTemplate(), id: 'archive' },
|
|
45
|
+
{ template: getZmBulkArchiveCommandTemplate(), id: 'bulk-archive' },
|
|
46
|
+
{ template: getZmVerifyCommandTemplate(), id: 'verify' },
|
|
47
|
+
{ template: getZmOnboardCommandTemplate(), id: 'onboard' },
|
|
48
|
+
{ template: getZmProposeCommandTemplate(), id: 'propose' },
|
|
49
49
|
];
|
|
50
50
|
if (!workflowFilter)
|
|
51
51
|
return all;
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* Compatibility facade that re-exports split workflow template modules.
|
|
5
5
|
*/
|
|
6
6
|
export type { SkillTemplate, CommandTemplate } from './types.js';
|
|
7
|
-
export { getExploreSkillTemplate,
|
|
8
|
-
export { getNewChangeSkillTemplate,
|
|
9
|
-
export { getContinueChangeSkillTemplate,
|
|
10
|
-
export { getApplyChangeSkillTemplate,
|
|
11
|
-
export { getFfChangeSkillTemplate,
|
|
12
|
-
export { getSyncSpecsSkillTemplate,
|
|
13
|
-
export { getArchiveChangeSkillTemplate,
|
|
14
|
-
export { getBulkArchiveChangeSkillTemplate,
|
|
15
|
-
export { getVerifyChangeSkillTemplate,
|
|
16
|
-
export { getOnboardSkillTemplate,
|
|
17
|
-
export {
|
|
7
|
+
export { getExploreSkillTemplate, getZmExploreCommandTemplate } from './workflows/explore.js';
|
|
8
|
+
export { getNewChangeSkillTemplate, getZmNewCommandTemplate } from './workflows/new-change.js';
|
|
9
|
+
export { getContinueChangeSkillTemplate, getZmContinueCommandTemplate } from './workflows/continue-change.js';
|
|
10
|
+
export { getApplyChangeSkillTemplate, getZmApplyCommandTemplate } from './workflows/apply-change.js';
|
|
11
|
+
export { getFfChangeSkillTemplate, getZmFfCommandTemplate } from './workflows/ff-change.js';
|
|
12
|
+
export { getSyncSpecsSkillTemplate, getZmSyncCommandTemplate } from './workflows/sync-specs.js';
|
|
13
|
+
export { getArchiveChangeSkillTemplate, getZmArchiveCommandTemplate } from './workflows/archive-change.js';
|
|
14
|
+
export { getBulkArchiveChangeSkillTemplate, getZmBulkArchiveCommandTemplate } from './workflows/bulk-archive-change.js';
|
|
15
|
+
export { getVerifyChangeSkillTemplate, getZmVerifyCommandTemplate } from './workflows/verify-change.js';
|
|
16
|
+
export { getOnboardSkillTemplate, getZmOnboardCommandTemplate } from './workflows/onboard.js';
|
|
17
|
+
export { getZmProposeSkillTemplate, getZmProposeCommandTemplate } from './workflows/propose.js';
|
|
18
18
|
export { getFeedbackSkillTemplate } from './workflows/feedback.js';
|
|
19
19
|
//# sourceMappingURL=skill-templates.d.ts.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Compatibility facade that re-exports split workflow template modules.
|
|
5
5
|
*/
|
|
6
|
-
export { getExploreSkillTemplate,
|
|
7
|
-
export { getNewChangeSkillTemplate,
|
|
8
|
-
export { getContinueChangeSkillTemplate,
|
|
9
|
-
export { getApplyChangeSkillTemplate,
|
|
10
|
-
export { getFfChangeSkillTemplate,
|
|
11
|
-
export { getSyncSpecsSkillTemplate,
|
|
12
|
-
export { getArchiveChangeSkillTemplate,
|
|
13
|
-
export { getBulkArchiveChangeSkillTemplate,
|
|
14
|
-
export { getVerifyChangeSkillTemplate,
|
|
15
|
-
export { getOnboardSkillTemplate,
|
|
16
|
-
export {
|
|
6
|
+
export { getExploreSkillTemplate, getZmExploreCommandTemplate } from './workflows/explore.js';
|
|
7
|
+
export { getNewChangeSkillTemplate, getZmNewCommandTemplate } from './workflows/new-change.js';
|
|
8
|
+
export { getContinueChangeSkillTemplate, getZmContinueCommandTemplate } from './workflows/continue-change.js';
|
|
9
|
+
export { getApplyChangeSkillTemplate, getZmApplyCommandTemplate } from './workflows/apply-change.js';
|
|
10
|
+
export { getFfChangeSkillTemplate, getZmFfCommandTemplate } from './workflows/ff-change.js';
|
|
11
|
+
export { getSyncSpecsSkillTemplate, getZmSyncCommandTemplate } from './workflows/sync-specs.js';
|
|
12
|
+
export { getArchiveChangeSkillTemplate, getZmArchiveCommandTemplate } from './workflows/archive-change.js';
|
|
13
|
+
export { getBulkArchiveChangeSkillTemplate, getZmBulkArchiveCommandTemplate } from './workflows/bulk-archive-change.js';
|
|
14
|
+
export { getVerifyChangeSkillTemplate, getZmVerifyCommandTemplate } from './workflows/verify-change.js';
|
|
15
|
+
export { getOnboardSkillTemplate, getZmOnboardCommandTemplate } from './workflows/onboard.js';
|
|
16
|
+
export { getZmProposeSkillTemplate, getZmProposeCommandTemplate } from './workflows/propose.js';
|
|
17
17
|
export { getFeedbackSkillTemplate } from './workflows/feedback.js';
|
|
18
18
|
//# sourceMappingURL=skill-templates.js.map
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getApplyChangeSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmApplyCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=apply-change.d.ts.map
|
|
@@ -155,9 +155,9 @@ This skill supports the "actions on a change" model:
|
|
|
155
155
|
metadata: { author: 'zhima', version: '1.0' },
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
export function
|
|
158
|
+
export function getZmApplyCommandTemplate() {
|
|
159
159
|
return {
|
|
160
|
-
name: '
|
|
160
|
+
name: 'ZM: Apply',
|
|
161
161
|
description: 'Implement tasks from an ZhiMa change (Experimental)',
|
|
162
162
|
category: 'Workflow',
|
|
163
163
|
tags: ['workflow', 'artifacts', 'experimental'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getArchiveChangeSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmArchiveCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=archive-change.d.ts.map
|
|
@@ -113,9 +113,9 @@ All artifacts complete. All tasks complete.
|
|
|
113
113
|
metadata: { author: 'zhima', version: '1.0' },
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
export function
|
|
116
|
+
export function getZmArchiveCommandTemplate() {
|
|
117
117
|
return {
|
|
118
|
-
name: '
|
|
118
|
+
name: 'ZM: Archive',
|
|
119
119
|
description: 'Archive a completed change in the experimental workflow',
|
|
120
120
|
category: 'Workflow',
|
|
121
121
|
tags: ['workflow', 'archive', 'experimental'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getBulkArchiveChangeSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmBulkArchiveCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=bulk-archive-change.d.ts.map
|
|
@@ -244,9 +244,9 @@ No active changes found. Create a new change to get started.
|
|
|
244
244
|
metadata: { author: 'zhima', version: '1.0' },
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
|
-
export function
|
|
247
|
+
export function getZmBulkArchiveCommandTemplate() {
|
|
248
248
|
return {
|
|
249
|
-
name: '
|
|
249
|
+
name: 'ZM: Bulk Archive',
|
|
250
250
|
description: 'Archive multiple completed changes at once',
|
|
251
251
|
category: 'Workflow',
|
|
252
252
|
tags: ['workflow', 'archive', 'experimental', 'bulk'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getContinueChangeSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmContinueCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=continue-change.d.ts.map
|
|
@@ -115,9 +115,9 @@ For other schemas, follow the \`instruction\` field from the CLI output.
|
|
|
115
115
|
metadata: { author: 'zhima', version: '1.0' },
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
export function
|
|
118
|
+
export function getZmContinueCommandTemplate() {
|
|
119
119
|
return {
|
|
120
|
-
name: '
|
|
120
|
+
name: 'ZM: Continue',
|
|
121
121
|
description: 'Continue working on a change - create the next artifact (Experimental)',
|
|
122
122
|
category: 'Workflow',
|
|
123
123
|
tags: ['workflow', 'artifacts', 'experimental'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getExploreSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmExploreCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=explore.d.ts.map
|
|
@@ -283,9 +283,9 @@ But this summary is optional. Sometimes the thinking IS the value.
|
|
|
283
283
|
metadata: { author: 'zhima', version: '1.0' },
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
-
export function
|
|
286
|
+
export function getZmExploreCommandTemplate() {
|
|
287
287
|
return {
|
|
288
|
-
name: '
|
|
288
|
+
name: 'ZM: Explore',
|
|
289
289
|
description: 'Enter explore mode - think through ideas, investigate problems, clarify requirements',
|
|
290
290
|
category: 'Workflow',
|
|
291
291
|
tags: ['workflow', 'explore', 'experimental', 'thinking'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getFfChangeSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmFfCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=ff-change.d.ts.map
|
|
@@ -98,9 +98,9 @@ After completing all artifacts, summarize:
|
|
|
98
98
|
metadata: { author: 'zhima', version: '1.0' },
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
export function
|
|
101
|
+
export function getZmFfCommandTemplate() {
|
|
102
102
|
return {
|
|
103
|
-
name: '
|
|
103
|
+
name: 'ZM: Fast Forward',
|
|
104
104
|
description: 'Create a change and generate all artifacts needed for implementation in one go',
|
|
105
105
|
category: 'Workflow',
|
|
106
106
|
tags: ['workflow', 'artifacts', 'experimental'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getNewChangeSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmNewCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=new-change.d.ts.map
|
|
@@ -70,10 +70,10 @@ After completing the steps, summarize:
|
|
|
70
70
|
metadata: { author: 'zhima', version: '1.0' },
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
export function
|
|
73
|
+
export function getZmNewCommandTemplate() {
|
|
74
74
|
return {
|
|
75
|
-
name: '
|
|
76
|
-
description: 'Start a new change using the experimental artifact workflow (
|
|
75
|
+
name: 'ZM: New',
|
|
76
|
+
description: 'Start a new change using the experimental artifact workflow (ZM)',
|
|
77
77
|
category: 'Workflow',
|
|
78
78
|
tags: ['workflow', 'artifacts', 'experimental'],
|
|
79
79
|
content: `Start a new change using the experimental artifact-driven approach.
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getOnboardSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmOnboardCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=onboard.d.ts.map
|
|
@@ -551,9 +551,9 @@ Exit gracefully.
|
|
|
551
551
|
- **Use real codebase tasks**—don't simulate or use fake examples
|
|
552
552
|
- **Adjust scope gently**—guide toward smaller tasks but respect user choice`;
|
|
553
553
|
}
|
|
554
|
-
export function
|
|
554
|
+
export function getZmOnboardCommandTemplate() {
|
|
555
555
|
return {
|
|
556
|
-
name: '
|
|
556
|
+
name: 'ZM: Onboard',
|
|
557
557
|
description: 'Guided onboarding - walk through a complete ZhiMa workflow cycle with narration',
|
|
558
558
|
category: 'Workflow',
|
|
559
559
|
tags: ['workflow', 'onboarding', 'tutorial', 'learning'],
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* templates file into workflow-focused modules.
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
|
-
export declare function
|
|
9
|
-
export declare function
|
|
8
|
+
export declare function getZmProposeSkillTemplate(): SkillTemplate;
|
|
9
|
+
export declare function getZmProposeCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=propose.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function getZmProposeSkillTemplate() {
|
|
2
2
|
return {
|
|
3
3
|
name: 'zhima-propose',
|
|
4
4
|
description: 'Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.',
|
|
@@ -107,9 +107,9 @@ After completing all artifacts, summarize:
|
|
|
107
107
|
metadata: { author: 'zhima', version: '1.0' },
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
export function
|
|
110
|
+
export function getZmProposeCommandTemplate() {
|
|
111
111
|
return {
|
|
112
|
-
name: '
|
|
112
|
+
name: 'ZM: Propose',
|
|
113
113
|
description: 'Propose a new change - create it and generate all artifacts in one step',
|
|
114
114
|
category: 'Workflow',
|
|
115
115
|
tags: ['workflow', 'artifacts', 'experimental'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getSyncSpecsSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmSyncCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=sync-specs.d.ts.map
|
|
@@ -143,9 +143,9 @@ Main specs are now updated. The change remains active - archive when implementat
|
|
|
143
143
|
metadata: { author: 'zhima', version: '1.0' },
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
export function
|
|
146
|
+
export function getZmSyncCommandTemplate() {
|
|
147
147
|
return {
|
|
148
|
-
name: '
|
|
148
|
+
name: 'ZM: Sync',
|
|
149
149
|
description: 'Sync delta specs from a change to main specs',
|
|
150
150
|
category: 'Workflow',
|
|
151
151
|
tags: ['workflow', 'specs', 'experimental'],
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SkillTemplate, CommandTemplate } from '../types.js';
|
|
8
8
|
export declare function getVerifyChangeSkillTemplate(): SkillTemplate;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function getZmVerifyCommandTemplate(): CommandTemplate;
|
|
10
10
|
//# sourceMappingURL=verify-change.d.ts.map
|