myaidev-method 0.2.4 → 0.2.5
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/bin/cli.js +47 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -11,8 +11,48 @@ import inquirer from 'inquirer';
|
|
|
11
11
|
const __filename = fileURLToPath(import.meta.url);
|
|
12
12
|
const __dirname = path.dirname(__filename);
|
|
13
13
|
|
|
14
|
+
// ASCII Banner with gradient
|
|
15
|
+
function displayBanner() {
|
|
16
|
+
const grey = chalk.hex('#5A5A5A');
|
|
17
|
+
const lightGrey = chalk.hex('#9E9E9E');
|
|
18
|
+
const white = chalk.white;
|
|
19
|
+
const lightOrange = chalk.hex('#FF8C42');
|
|
20
|
+
const orange = chalk.hex('#FF6B35');
|
|
21
|
+
const brightOrange = chalk.hex('#FFA500');
|
|
22
|
+
|
|
23
|
+
console.log('');
|
|
24
|
+
console.log(grey(' ███╗ ███╗') + lightGrey('██╗ ██╗') + white(' █████╗ ') + lightOrange('██╗██████╗ ') + orange('███████╗') + brightOrange('██╗ ██╗'));
|
|
25
|
+
console.log(grey(' ████╗ ████║') + lightGrey('╚██╗ ██╔╝') + white('██╔══██╗') + lightOrange('██║██╔══██╗') + orange('██╔════╝') + brightOrange('██║ ██║'));
|
|
26
|
+
console.log(grey(' ██╔████╔██║') + lightGrey(' ╚████╔╝ ') + white('███████║') + lightOrange('██║██║ ██║') + orange('█████╗ ') + brightOrange('██║ ██║'));
|
|
27
|
+
console.log(grey(' ██║╚██╔╝██║') + lightGrey(' ╚██╔╝ ') + white('██╔══██║') + lightOrange('██║██║ ██║') + orange('██╔══╝ ') + brightOrange('╚██╗ ██╔╝'));
|
|
28
|
+
console.log(grey(' ██║ ╚═╝ ██║') + lightGrey(' ██║ ') + white('██║ ██║') + lightOrange('██║██████╔╝') + orange('███████╗') + brightOrange(' ╚████╔╝ '));
|
|
29
|
+
console.log(grey(' ╚═╝ ╚═╝') + lightGrey(' ╚═╝ ') + white('╚═╝ ╚═╝') + lightOrange('╚═╝╚═════╝ ') + orange('╚══════╝') + brightOrange(' ╚═══╝ '));
|
|
30
|
+
console.log('');
|
|
31
|
+
console.log(lightGrey(' ███╗ ███╗') + white('███████╗') + lightOrange('████████╗') + orange('██╗ ██╗') + brightOrange(' ██████╗ ██████╗ '));
|
|
32
|
+
console.log(lightGrey(' ████╗ ████║') + white('██╔════╝') + lightOrange('╚══██╔══╝') + orange('██║ ██║') + brightOrange('██╔═══██╗██╔══██╗'));
|
|
33
|
+
console.log(lightGrey(' ██╔████╔██║') + white('█████╗ ') + lightOrange(' ██║ ') + orange('███████║') + brightOrange('██║ ██║██║ ██║'));
|
|
34
|
+
console.log(lightGrey(' ██║╚██╔╝██║') + white('██╔══╝ ') + lightOrange(' ██║ ') + orange('██╔══██║') + brightOrange('██║ ██║██║ ██║'));
|
|
35
|
+
console.log(lightGrey(' ██║ ╚═╝ ██║') + white('███████╗') + lightOrange(' ██║ ') + orange('██║ ██║') + brightOrange('╚██████╔╝██████╔╝'));
|
|
36
|
+
console.log(lightGrey(' ╚═╝ ╚═╝') + white('╚══════╝') + lightOrange(' ╚═╝ ') + orange('╚═╝ ╚═╝') + brightOrange(' ╚═════╝ ╚═════╝ '));
|
|
37
|
+
console.log('');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// SPARC Methodology breakdown
|
|
41
|
+
function displaySPARC() {
|
|
42
|
+
console.log(chalk.cyan.bold(' 📋 SPARC Development Methodology'));
|
|
43
|
+
console.log('');
|
|
44
|
+
console.log(chalk.grey(' ┌─────────────────────────────────────────────────────────────────┐'));
|
|
45
|
+
console.log(chalk.grey(' │') + chalk.hex('#FF6B35').bold(' S ') + chalk.white('• Specification') + chalk.grey(' │ ') + chalk.gray('Define requirements & system boundaries'));
|
|
46
|
+
console.log(chalk.grey(' │') + chalk.hex('#FF8C42').bold(' P ') + chalk.white('• Pseudocode ') + chalk.grey(' │ ') + chalk.gray('Plan implementation approach'));
|
|
47
|
+
console.log(chalk.grey(' │') + chalk.hex('#FFA500').bold(' A ') + chalk.white('• Architecture ') + chalk.grey(' │ ') + chalk.gray('Design structure, APIs, data models'));
|
|
48
|
+
console.log(chalk.grey(' │') + chalk.hex('#FFB84D').bold(' R ') + chalk.white('• Refinement ') + chalk.grey(' │ ') + chalk.gray('Implement, test, review quality'));
|
|
49
|
+
console.log(chalk.grey(' │') + chalk.hex('#FFCC80').bold(' C ') + chalk.white('• Completion ') + chalk.grey(' │ ') + chalk.gray('Document & deliver production code'));
|
|
50
|
+
console.log(chalk.grey(' └─────────────────────────────────────────────────────────────────┘'));
|
|
51
|
+
console.log('');
|
|
52
|
+
}
|
|
53
|
+
|
|
14
54
|
program
|
|
15
|
-
.version('0.2.
|
|
55
|
+
.version('0.2.5')
|
|
16
56
|
.description('AI CLI tools package with custom subagents and MCP integrations');
|
|
17
57
|
|
|
18
58
|
program
|
|
@@ -64,8 +104,12 @@ program
|
|
|
64
104
|
}
|
|
65
105
|
|
|
66
106
|
spinner.succeed(chalk.green(`Successfully initialized ${cliType} configuration!`));
|
|
67
|
-
|
|
68
|
-
|
|
107
|
+
|
|
108
|
+
// Display ASCII banner and SPARC methodology
|
|
109
|
+
displayBanner();
|
|
110
|
+
displaySPARC();
|
|
111
|
+
|
|
112
|
+
console.log(chalk.cyan('🎉 You\'re all set! Here\'s how to get started:'));
|
|
69
113
|
if (cliType === 'claude') {
|
|
70
114
|
console.log(chalk.green('\n🏗️ SPARC Development Workflow (Systematic Software Development):'));
|
|
71
115
|
console.log(chalk.gray(' • Complete: /myai-sparc-workflow "Build authentication system"'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myaidev-method",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Comprehensive development framework with SPARC methodology for AI-assisted software development, multi-platform publishing (WordPress, PayloadCMS, Astro, Docusaurus, Mintlify), and Coolify deployment",
|
|
5
5
|
"mcpName": "io.github.myaione/myaidev-method",
|
|
6
6
|
"main": "src/index.js",
|