claude-flow-novice 2.10.9 ā 2.11.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/.claude/commands/README.md +157 -0
- package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
- package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
- package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +7 -21
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +312 -0
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +480 -115
- package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
- package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
- package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- package/dist/cli/config-manager.js +109 -91
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +3 -2
- package/scripts/init-project.js +38 -3
- package/claude-assets/commands/agents/README.md +0 -10
- package/claude-assets/commands/agents/agent-capabilities.md +0 -21
- package/claude-assets/commands/agents/agent-coordination.md +0 -28
- package/claude-assets/commands/agents/agent-spawning.md +0 -28
- package/claude-assets/commands/agents/agent-types.md +0 -26
- package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/claude-assets/commands/analysis/README.md +0 -9
- package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
- package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
- package/claude-assets/commands/analysis/performance-report.md +0 -25
- package/claude-assets/commands/analysis/token-efficiency.md +0 -45
- package/claude-assets/commands/analysis/token-usage.md +0 -25
- package/claude-assets/commands/automation/README.md +0 -9
- package/claude-assets/commands/automation/auto-agent.md +0 -122
- package/claude-assets/commands/automation/self-healing.md +0 -106
- package/claude-assets/commands/automation/session-memory.md +0 -90
- package/claude-assets/commands/automation/smart-agents.md +0 -73
- package/claude-assets/commands/automation/smart-spawn.md +0 -25
- package/claude-assets/commands/automation/workflow-select.md +0 -25
- package/claude-assets/commands/claude-md.js +0 -237
- package/claude-assets/commands/claude-soul.js +0 -28
- package/claude-assets/commands/cli-integration.js +0 -216
- package/claude-assets/commands/coordination/README.md +0 -9
- package/claude-assets/commands/coordination/agent-spawn.md +0 -25
- package/claude-assets/commands/coordination/coordination-system.md +0 -88
- package/claude-assets/commands/coordination/init.md +0 -44
- package/claude-assets/commands/coordination/orchestrate.md +0 -43
- package/claude-assets/commands/coordination/spawn.md +0 -45
- package/claude-assets/commands/coordination/swarm-init.md +0 -85
- package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
- package/claude-assets/commands/github/README.md +0 -11
- package/claude-assets/commands/github/code-review-swarm.md +0 -514
- package/claude-assets/commands/github/code-review.md +0 -25
- package/claude-assets/commands/github/github-modes.md +0 -147
- package/claude-assets/commands/github/github-swarm.md +0 -121
- package/claude-assets/commands/github/issue-tracker.md +0 -292
- package/claude-assets/commands/github/issue-triage.md +0 -25
- package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
- package/claude-assets/commands/github/pr-enhance.md +0 -26
- package/claude-assets/commands/github/pr-manager.md +0 -170
- package/claude-assets/commands/github/project-board-sync.md +0 -471
- package/claude-assets/commands/github/release-manager.md +0 -338
- package/claude-assets/commands/github/release-swarm.md +0 -544
- package/claude-assets/commands/github/repo-analyze.md +0 -25
- package/claude-assets/commands/github/repo-architect.md +0 -367
- package/claude-assets/commands/github/swarm-issue.md +0 -482
- package/claude-assets/commands/github/swarm-pr.md +0 -285
- package/claude-assets/commands/github/sync-coordinator.md +0 -301
- package/claude-assets/commands/github/workflow-automation.md +0 -442
- package/claude-assets/commands/github.js +0 -638
- package/claude-assets/commands/hive-mind/README.md +0 -17
- package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
- package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
- package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
- package/claude-assets/commands/hooks/README.md +0 -11
- package/claude-assets/commands/hooks/overview.md +0 -58
- package/claude-assets/commands/hooks/post-edit.md +0 -117
- package/claude-assets/commands/hooks/post-task.md +0 -112
- package/claude-assets/commands/hooks/pre-edit.md +0 -113
- package/claude-assets/commands/hooks/pre-task.md +0 -111
- package/claude-assets/commands/hooks/session-end.md +0 -118
- package/claude-assets/commands/hooks/session-start.md +0 -9
- package/claude-assets/commands/hooks/setup.md +0 -103
- package/claude-assets/commands/hooks.js +0 -651
- package/claude-assets/commands/index.js +0 -119
- package/claude-assets/commands/memory/README.md +0 -9
- package/claude-assets/commands/memory/memory-bank.md +0 -58
- package/claude-assets/commands/memory/memory-persist.md +0 -25
- package/claude-assets/commands/memory/memory-search.md +0 -25
- package/claude-assets/commands/memory/memory-usage.md +0 -25
- package/claude-assets/commands/memory/neural.md +0 -47
- package/claude-assets/commands/memory/usage.md +0 -46
- package/claude-assets/commands/monitoring/README.md +0 -9
- package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
- package/claude-assets/commands/monitoring/agents.md +0 -44
- package/claude-assets/commands/monitoring/real-time-view.md +0 -25
- package/claude-assets/commands/monitoring/status.md +0 -46
- package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
- package/claude-assets/commands/neural.js +0 -572
- package/claude-assets/commands/optimization/README.md +0 -9
- package/claude-assets/commands/optimization/auto-topology.md +0 -62
- package/claude-assets/commands/optimization/cache-manage.md +0 -25
- package/claude-assets/commands/optimization/parallel-execute.md +0 -25
- package/claude-assets/commands/optimization/parallel-execution.md +0 -50
- package/claude-assets/commands/optimization/topology-optimize.md +0 -25
- package/claude-assets/commands/pair/README.md +0 -261
- package/claude-assets/commands/pair/commands.md +0 -546
- package/claude-assets/commands/pair/config.md +0 -510
- package/claude-assets/commands/pair/examples.md +0 -512
- package/claude-assets/commands/pair/modes.md +0 -348
- package/claude-assets/commands/pair/session.md +0 -407
- package/claude-assets/commands/pair/start.md +0 -209
- package/claude-assets/commands/parse-epic.js +0 -180
- package/claude-assets/commands/performance.js +0 -582
- package/claude-assets/commands/register-all-commands.js +0 -320
- package/claude-assets/commands/register-claude-md.js +0 -82
- package/claude-assets/commands/register-claude-soul.js +0 -80
- package/claude-assets/commands/sparc/analyzer.md +0 -52
- package/claude-assets/commands/sparc/architect.md +0 -53
- package/claude-assets/commands/sparc/batch-executor.md +0 -54
- package/claude-assets/commands/sparc/coder.md +0 -54
- package/claude-assets/commands/sparc/debugger.md +0 -54
- package/claude-assets/commands/sparc/designer.md +0 -53
- package/claude-assets/commands/sparc/documenter.md +0 -54
- package/claude-assets/commands/sparc/innovator.md +0 -54
- package/claude-assets/commands/sparc/memory-manager.md +0 -54
- package/claude-assets/commands/sparc/optimizer.md +0 -54
- package/claude-assets/commands/sparc/orchestrator.md +0 -132
- package/claude-assets/commands/sparc/researcher.md +0 -54
- package/claude-assets/commands/sparc/reviewer.md +0 -54
- package/claude-assets/commands/sparc/sparc-modes.md +0 -174
- package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
- package/claude-assets/commands/sparc/tdd.md +0 -54
- package/claude-assets/commands/sparc/tester.md +0 -54
- package/claude-assets/commands/sparc/workflow-manager.md +0 -54
- package/claude-assets/commands/sparc.js +0 -110
- package/claude-assets/commands/stream-chain/pipeline.md +0 -121
- package/claude-assets/commands/stream-chain/run.md +0 -70
- package/claude-assets/commands/swarm/README.md +0 -15
- package/claude-assets/commands/swarm/analysis.md +0 -95
- package/claude-assets/commands/swarm/development.md +0 -96
- package/claude-assets/commands/swarm/examples.md +0 -168
- package/claude-assets/commands/swarm/maintenance.md +0 -102
- package/claude-assets/commands/swarm/optimization.md +0 -117
- package/claude-assets/commands/swarm/research.md +0 -136
- package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
- package/claude-assets/commands/swarm/swarm-background.md +0 -8
- package/claude-assets/commands/swarm/swarm-init.md +0 -19
- package/claude-assets/commands/swarm/swarm-modes.md +0 -8
- package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
- package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
- package/claude-assets/commands/swarm/swarm-status.md +0 -8
- package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
- package/claude-assets/commands/swarm/swarm.md +0 -27
- package/claude-assets/commands/swarm/testing.md +0 -131
- package/claude-assets/commands/swarm.js +0 -423
- package/claude-assets/commands/testing/playwright-e2e.md +0 -288
- package/claude-assets/commands/training/README.md +0 -9
- package/claude-assets/commands/training/model-update.md +0 -25
- package/claude-assets/commands/training/neural-patterns.md +0 -74
- package/claude-assets/commands/training/neural-train.md +0 -25
- package/claude-assets/commands/training/pattern-learn.md +0 -25
- package/claude-assets/commands/training/specialization.md +0 -63
- package/claude-assets/commands/truth/start.md +0 -143
- package/claude-assets/commands/validate-commands.js +0 -223
- package/claude-assets/commands/verify/check.md +0 -50
- package/claude-assets/commands/verify/start.md +0 -128
- package/claude-assets/commands/workflow.js +0 -606
- package/claude-assets/commands/workflows/README.md +0 -9
- package/claude-assets/commands/workflows/development.md +0 -78
- package/claude-assets/commands/workflows/research.md +0 -63
- package/claude-assets/commands/workflows/workflow-create.md +0 -25
- package/claude-assets/commands/workflows/workflow-execute.md +0 -25
- package/claude-assets/commands/workflows/workflow-export.md +0 -25
- package/claude-assets/hooks/post-edit.config.json +0 -23
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Parse Epic Slash Command
|
|
5
|
-
* Converts natural language epic markdown files to structured JSON
|
|
6
|
-
*
|
|
7
|
-
* Usage: /parse-epic <epic-directory> [--output <file>] [--validate]
|
|
8
|
-
*
|
|
9
|
-
* Fixed: Direct import from compiled dist to avoid CLI module resolution issues
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { promises as fs } from 'fs';
|
|
13
|
-
import * as path from 'path';
|
|
14
|
-
import { fileURLToPath } from 'url';
|
|
15
|
-
import chalk from 'chalk';
|
|
16
|
-
|
|
17
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
18
|
-
const projectRoot = path.resolve(__dirname, '../..');
|
|
19
|
-
|
|
20
|
-
const args = process.argv.slice(2);
|
|
21
|
-
|
|
22
|
-
if (args.length === 0 || args[0] === '--help' || args[0] === '-h') {
|
|
23
|
-
console.log(`
|
|
24
|
-
š /parse-epic - Epic Document Parser
|
|
25
|
-
|
|
26
|
-
**Description**:
|
|
27
|
-
Parses natural language epic markdown documents (EPIC_OVERVIEW.md, phase-*.md)
|
|
28
|
-
into structured JSON configuration for project management and automation.
|
|
29
|
-
|
|
30
|
-
**Usage**:
|
|
31
|
-
/parse-epic <epic-directory> [options]
|
|
32
|
-
|
|
33
|
-
**Arguments**:
|
|
34
|
-
<epic-directory> Path to epic directory containing EPIC_OVERVIEW.md and phase files
|
|
35
|
-
|
|
36
|
-
**Options**:
|
|
37
|
-
--output, -o <file> Output JSON file path (default: epic-config.json in epic directory)
|
|
38
|
-
--validate, -v Validate epic config against schema
|
|
39
|
-
--overview <file> Custom overview file path (default: EPIC_OVERVIEW.md)
|
|
40
|
-
|
|
41
|
-
**Examples**:
|
|
42
|
-
/parse-epic planning/example-epic
|
|
43
|
-
/parse-epic planning/auth-system --output config/auth-epic.json
|
|
44
|
-
/parse-epic planning/my-epic --validate
|
|
45
|
-
/parse-epic planning/custom --overview planning/custom/OVERVIEW.md
|
|
46
|
-
`);
|
|
47
|
-
process.exit(0);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Parse epic directly using compiled epic-parser
|
|
52
|
-
*/
|
|
53
|
-
async function parseEpic() {
|
|
54
|
-
try {
|
|
55
|
-
// Parse arguments
|
|
56
|
-
const epicDir = path.resolve(args[0]);
|
|
57
|
-
const outputFlag = args.indexOf('--output') >= 0 ? args.indexOf('--output') : args.indexOf('-o');
|
|
58
|
-
const validateFlag = args.includes('--validate') || args.includes('-v');
|
|
59
|
-
const overviewFlag = args.indexOf('--overview');
|
|
60
|
-
|
|
61
|
-
const outputFile = outputFlag >= 0 ? path.resolve(args[outputFlag + 1]) : path.join(epicDir, 'epic-config.json');
|
|
62
|
-
const overviewFile = overviewFlag >= 0 ? path.resolve(args[overviewFlag + 1]) : undefined;
|
|
63
|
-
|
|
64
|
-
console.log(chalk.cyan('š Epic Parser - Natural Language to Structured JSON\n'));
|
|
65
|
-
console.log(chalk.gray(`Epic directory: ${epicDir}`));
|
|
66
|
-
console.log(chalk.gray(`Output file: ${outputFile}`));
|
|
67
|
-
if (overviewFile) {
|
|
68
|
-
console.log(chalk.gray(`Overview file: ${overviewFile}`));
|
|
69
|
-
}
|
|
70
|
-
console.log('');
|
|
71
|
-
|
|
72
|
-
// Validate epic directory exists
|
|
73
|
-
try {
|
|
74
|
-
await fs.access(epicDir);
|
|
75
|
-
} catch (err) {
|
|
76
|
-
console.error(chalk.red(`ā Epic directory not found: ${epicDir}`));
|
|
77
|
-
process.exit(1);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// Dynamic import of compiled epic-parser
|
|
81
|
-
const distPath = path.join(projectRoot, '.claude-flow-novice/dist/src/parsers/epic-parser.js');
|
|
82
|
-
|
|
83
|
-
try {
|
|
84
|
-
await fs.access(distPath);
|
|
85
|
-
} catch (err) {
|
|
86
|
-
console.error(chalk.red(`ā Epic parser not found. Please build the project first:`));
|
|
87
|
-
console.error(chalk.yellow(` npm run build`));
|
|
88
|
-
process.exit(1);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
const { EpicParser } = await import(distPath);
|
|
92
|
-
|
|
93
|
-
// Parse epic
|
|
94
|
-
console.log(chalk.cyan('š Parsing epic markdown files...'));
|
|
95
|
-
|
|
96
|
-
const parserOptions = {
|
|
97
|
-
epicDirectory: epicDir
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
if (overviewFile) {
|
|
101
|
-
parserOptions.overviewFile = overviewFile;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
const parser = new EpicParser(parserOptions);
|
|
105
|
-
const config = parser.parse();
|
|
106
|
-
const validation = parser.getValidationResult();
|
|
107
|
-
|
|
108
|
-
// Display validation results
|
|
109
|
-
if (validation.errors && validation.errors.length > 0) {
|
|
110
|
-
console.error(chalk.red(`\nā Parsing errors (${validation.errors.length}):`));
|
|
111
|
-
validation.errors.forEach(err => {
|
|
112
|
-
const location = err.location ? chalk.gray(` (${err.location.file})`) : '';
|
|
113
|
-
console.error(chalk.red(` - [${err.type}] ${err.message}${location}`));
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
if (validation.warnings && validation.warnings.length > 0) {
|
|
118
|
-
console.warn(chalk.yellow(`\nā ļø Warnings (${validation.warnings.length}):`));
|
|
119
|
-
validation.warnings.forEach(warn => {
|
|
120
|
-
const location = warn.location ? chalk.gray(` (${warn.location.file})`) : '';
|
|
121
|
-
console.warn(chalk.yellow(` - [${warn.type}] ${warn.message}${location}`));
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Display statistics
|
|
126
|
-
if (validation.stats) {
|
|
127
|
-
console.log(chalk.green('\nš Epic Statistics:'));
|
|
128
|
-
console.log(chalk.cyan(` Epic ID: ${config.epicId}`));
|
|
129
|
-
console.log(chalk.cyan(` Name: ${config.name}`));
|
|
130
|
-
console.log(chalk.cyan(` Status: ${config.status}`));
|
|
131
|
-
console.log(chalk.cyan(` Phases: ${validation.stats.totalPhases}`));
|
|
132
|
-
console.log(chalk.cyan(` Sprints: ${validation.stats.totalSprints}`));
|
|
133
|
-
console.log(chalk.cyan(` Completed: ${validation.stats.completedSprints}/${validation.stats.totalSprints}`));
|
|
134
|
-
console.log(chalk.cyan(` Dependencies: ${validation.stats.dependencyCount}`));
|
|
135
|
-
|
|
136
|
-
if (validation.stats.cyclesDetected > 0) {
|
|
137
|
-
console.log(chalk.red(` Dependency Cycles: ${validation.stats.cyclesDetected}`));
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// Save output
|
|
142
|
-
await fs.writeFile(outputFile, JSON.stringify(config, null, 2), 'utf-8');
|
|
143
|
-
console.log(chalk.green(`\nā
Epic config saved: ${outputFile}`));
|
|
144
|
-
|
|
145
|
-
// Validate if requested
|
|
146
|
-
if (validateFlag) {
|
|
147
|
-
console.log(chalk.cyan('\nš Running schema validation...'));
|
|
148
|
-
const { default: validateEpicConfig } = await import(path.join(projectRoot, '.claude-flow-novice/dist/src/validators/epic-config-schema.js'));
|
|
149
|
-
|
|
150
|
-
const schemaValidation = EpicParser.validate(config);
|
|
151
|
-
|
|
152
|
-
if (schemaValidation.valid) {
|
|
153
|
-
console.log(chalk.green('ā
Epic config passes schema validation'));
|
|
154
|
-
} else {
|
|
155
|
-
console.error(chalk.red(`\nā Schema validation failed (${schemaValidation.errors.length} errors):`));
|
|
156
|
-
schemaValidation.errors.forEach(err => {
|
|
157
|
-
console.error(chalk.red(` - ${err}`));
|
|
158
|
-
});
|
|
159
|
-
process.exit(1);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
console.log(chalk.green('\nā
Epic parsing complete!'));
|
|
164
|
-
process.exit(0);
|
|
165
|
-
|
|
166
|
-
} catch (error) {
|
|
167
|
-
console.error(chalk.red('\nā Epic parsing failed:'));
|
|
168
|
-
console.error(chalk.red(error.message));
|
|
169
|
-
|
|
170
|
-
if (error.stack) {
|
|
171
|
-
console.error(chalk.gray('\nStack trace:'));
|
|
172
|
-
console.error(chalk.gray(error.stack));
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
process.exit(1);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
// Execute
|
|
180
|
-
parseEpic();
|