myaidev-method 0.2.1 ā 0.2.3
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/mcp/mcp-config.json +93 -10
- package/.claude/mcp/sparc-orchestrator-server.js +607 -0
- package/DEV_WORKFLOW_GUIDE.md +1353 -0
- package/MCP_INTEGRATION.md +373 -0
- package/README.md +378 -21
- package/TECHNICAL_ARCHITECTURE.md +1868 -0
- package/bin/cli.js +44 -3
- package/dist/mcp/mcp-config.json +93 -10
- package/dist/mcp/sparc-orchestrator-server.js +607 -0
- package/package.json +24 -4
- package/src/lib/dev-workflow/agent-types.js +163 -0
- package/src/lib/dev-workflow/sparc-workflow.js +302 -0
- package/src/lib/dev-workflow/task-manager.js +313 -0
- package/src/scripts/dev-architect.js +99 -0
- package/src/scripts/dev-code.js +106 -0
- package/src/scripts/dev-docs.js +122 -0
- package/src/scripts/dev-review.js +117 -0
- package/src/scripts/dev-test.js +115 -0
- package/src/scripts/sparc-workflow.js +186 -0
- package/src/templates/claude/agents/dev-architect.md +436 -0
- package/src/templates/claude/agents/dev-coder.md +749 -0
- package/src/templates/claude/agents/dev-documenter.md +939 -0
- package/src/templates/claude/agents/dev-reviewer.md +1152 -0
- package/src/templates/claude/agents/dev-tester.md +600 -0
- package/src/templates/claude/commands/myai-dev-architect.md +80 -0
- package/src/templates/claude/commands/myai-dev-code.md +93 -0
- package/src/templates/claude/commands/myai-dev-docs.md +94 -0
- package/src/templates/claude/commands/myai-dev-review.md +96 -0
- package/src/templates/claude/commands/myai-dev-test.md +95 -0
- package/src/templates/claude/commands/myai-sparc-workflow.md +196 -0
package/bin/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ const __filename = fileURLToPath(import.meta.url);
|
|
|
12
12
|
const __dirname = path.dirname(__filename);
|
|
13
13
|
|
|
14
14
|
program
|
|
15
|
-
.version('0.2.
|
|
15
|
+
.version('0.2.2')
|
|
16
16
|
.description('AI CLI tools package with custom subagents and MCP integrations');
|
|
17
17
|
|
|
18
18
|
program
|
|
@@ -67,7 +67,15 @@ program
|
|
|
67
67
|
|
|
68
68
|
console.log('\n' + chalk.cyan('š You\'re all set! Here\'s how to get started:'));
|
|
69
69
|
if (cliType === 'claude') {
|
|
70
|
-
console.log(chalk.green('\n
|
|
70
|
+
console.log(chalk.green('\nšļø SPARC Development Workflow (Systematic Software Development):'));
|
|
71
|
+
console.log(chalk.gray(' ⢠Complete: /myai-sparc-workflow "Build authentication system"'));
|
|
72
|
+
console.log(chalk.gray(' ⢠Architecture: /myai-dev-architect "Design microservices"'));
|
|
73
|
+
console.log(chalk.gray(' ⢠Code: /myai-dev-code "Implement user service"'));
|
|
74
|
+
console.log(chalk.gray(' ⢠Test: /myai-dev-test "Test authentication"'));
|
|
75
|
+
console.log(chalk.gray(' ⢠Review: /myai-dev-review "Security audit"'));
|
|
76
|
+
console.log(chalk.gray(' ⢠Document: /myai-dev-docs "API documentation"'));
|
|
77
|
+
|
|
78
|
+
console.log(chalk.green('\n⨠Content creation:'));
|
|
71
79
|
console.log(chalk.gray(' /myai-content-writer "Your Article Topic"'));
|
|
72
80
|
|
|
73
81
|
console.log(chalk.yellow('\nš¤ Publish to multiple platforms:'));
|
|
@@ -86,13 +94,24 @@ program
|
|
|
86
94
|
|
|
87
95
|
console.log(chalk.magenta('\nš Documentation copied to your project:'));
|
|
88
96
|
console.log(chalk.gray(' ⢠USER_GUIDE.md - Getting started and customization'));
|
|
97
|
+
console.log(chalk.gray(' ⢠DEV_WORKFLOW_GUIDE.md - SPARC methodology guide'));
|
|
98
|
+
console.log(chalk.gray(' ⢠MCP_INTEGRATION.md - MCP server setup and usage'));
|
|
89
99
|
console.log(chalk.gray(' ⢠PUBLISHING_GUIDE.md - Multi-platform publishing'));
|
|
90
100
|
console.log(chalk.gray(' ⢠COOLIFY_DEPLOYMENT.md - Application deployment'));
|
|
91
101
|
console.log(chalk.gray(' ⢠WORDPRESS_ADMIN_SCRIPTS.md - WordPress utilities'));
|
|
102
|
+
console.log(chalk.gray(' ⢠TECHNICAL_ARCHITECTURE.md - Developer guide'));
|
|
103
|
+
|
|
104
|
+
console.log(chalk.magenta('\nš§ MCP Server Integration (Optional Advanced Features):'));
|
|
105
|
+
console.log(chalk.gray(' ⢠SPARC Orchestrator: Workflow automation with MCP tools'));
|
|
106
|
+
console.log(chalk.gray(' ⢠Chrome DevTools: Browser testing and debugging'));
|
|
107
|
+
console.log(chalk.gray(' ⢠WordPress MCP: Enhanced WordPress API operations'));
|
|
108
|
+
console.log(chalk.gray(' ⢠Add to Claude Code MCP settings to enable'));
|
|
92
109
|
|
|
93
110
|
console.log(chalk.magenta('\nš” Quick tips:'));
|
|
111
|
+
console.log(chalk.gray(' ⢠SPARC workflow: Architecture ā Code ā Test ā Review ā Docs'));
|
|
94
112
|
console.log(chalk.gray(' ⢠All platforms support draft/published workflows'));
|
|
95
113
|
console.log(chalk.gray(' ⢠Git-based platforms (Docusaurus, Mintlify, Astro) auto-commit'));
|
|
114
|
+
console.log(chalk.gray(' ⢠MCP servers provide advanced orchestration and testing'));
|
|
96
115
|
console.log(chalk.gray(' ⢠Visit: https://github.com/myaione/myaidev-method'));
|
|
97
116
|
}
|
|
98
117
|
console.log(chalk.cyan(`\nš Restart ${cliType} to load your new AI-powered commands!`));
|
|
@@ -165,6 +184,14 @@ This project uses the MyAIDev Method package for enhanced AI-assisted developmen
|
|
|
165
184
|
|
|
166
185
|
## Available Commands
|
|
167
186
|
|
|
187
|
+
### SPARC Development Workflow (Systematic Software Development)
|
|
188
|
+
- \`/myai-sparc-workflow\` - Complete 5-phase SPARC workflow
|
|
189
|
+
- \`/myai-dev-architect\` - Design system architecture (Phase 1)
|
|
190
|
+
- \`/myai-dev-code\` - Implement features with SOLID principles (Phase 2)
|
|
191
|
+
- \`/myai-dev-test\` - Create comprehensive tests (Phase 3)
|
|
192
|
+
- \`/myai-dev-review\` - Code quality and security review (Phase 4)
|
|
193
|
+
- \`/myai-dev-docs\` - Generate documentation (Phase 5)
|
|
194
|
+
|
|
168
195
|
### Content Creation
|
|
169
196
|
- \`/myai-content-writer\` - Create SEO-optimized content
|
|
170
197
|
|
|
@@ -184,12 +211,22 @@ This project uses the MyAIDev Method package for enhanced AI-assisted developmen
|
|
|
184
211
|
|
|
185
212
|
## Available Agents
|
|
186
213
|
|
|
214
|
+
### Development Agents (SPARC Methodology)
|
|
215
|
+
- \`dev-architect\` - System architecture and design agent
|
|
216
|
+
- \`dev-coder\` - Code implementation agent with SOLID principles
|
|
217
|
+
- \`dev-tester\` - Testing and quality assurance agent
|
|
218
|
+
- \`dev-reviewer\` - Code review and security analysis agent
|
|
219
|
+
- \`dev-documenter\` - Technical documentation agent
|
|
220
|
+
|
|
221
|
+
### Content & Publishing Agents
|
|
187
222
|
- \`content-writer\` - Professional content creation agent
|
|
188
223
|
- \`wordpress-admin\` - WordPress administration and security agent
|
|
189
224
|
- \`payloadcms-publish\` - PayloadCMS publishing agent
|
|
190
225
|
- \`docusaurus-publish\` - Docusaurus publishing agent
|
|
191
226
|
- \`mintlify-publish\` - Mintlify publishing agent
|
|
192
227
|
- \`astro-publish\` - Astro publishing agent
|
|
228
|
+
|
|
229
|
+
### Deployment Agents
|
|
193
230
|
- \`coolify-deploy\` - Coolify deployment agent
|
|
194
231
|
|
|
195
232
|
## Platform Configuration
|
|
@@ -227,6 +264,7 @@ COOLIFY_API_KEY=your-api-key
|
|
|
227
264
|
- **PUBLISHING_GUIDE.md** - Comprehensive multi-platform publishing guide
|
|
228
265
|
- **COOLIFY_DEPLOYMENT.md** - Application deployment guide
|
|
229
266
|
- **WORDPRESS_ADMIN_SCRIPTS.md** - WordPress admin utilities
|
|
267
|
+
- **TECHNICAL_ARCHITECTURE.md** - Developer and architecture guide
|
|
230
268
|
|
|
231
269
|
## Project Conventions
|
|
232
270
|
|
|
@@ -252,9 +290,12 @@ This configuration follows Claude Code's official standards for custom commands
|
|
|
252
290
|
// Copy documentation files to project root
|
|
253
291
|
const docsToMerge = [
|
|
254
292
|
'USER_GUIDE.md',
|
|
293
|
+
'DEV_WORKFLOW_GUIDE.md',
|
|
294
|
+
'MCP_INTEGRATION.md',
|
|
255
295
|
'PUBLISHING_GUIDE.md',
|
|
256
296
|
'COOLIFY_DEPLOYMENT.md',
|
|
257
|
-
'WORDPRESS_ADMIN_SCRIPTS.md'
|
|
297
|
+
'WORDPRESS_ADMIN_SCRIPTS.md',
|
|
298
|
+
'TECHNICAL_ARCHITECTURE.md'
|
|
258
299
|
];
|
|
259
300
|
|
|
260
301
|
for (const docFile of docsToMerge) {
|
package/dist/mcp/mcp-config.json
CHANGED
|
@@ -1,12 +1,91 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
"servers": [
|
|
3
|
+
{
|
|
4
|
+
"name": "myaidev-wordpress-mcp-server",
|
|
5
|
+
"version": "2.0.0",
|
|
6
|
+
"description": "Enhanced WordPress MCP Server with session management and memory persistence",
|
|
7
|
+
"mcpName": "io.github.myaione/myaidev-method-wordpress",
|
|
8
|
+
"transport": "stdio",
|
|
9
|
+
"command": "node .claude/mcp/wordpress-server.js"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "myaidev-sparc-orchestrator",
|
|
13
|
+
"version": "1.0.0",
|
|
14
|
+
"description": "SPARC workflow orchestration MCP server for systematic development",
|
|
15
|
+
"mcpName": "io.github.myaione/myaidev-method-sparc",
|
|
16
|
+
"transport": "stdio",
|
|
17
|
+
"command": "node .claude/mcp/sparc-orchestrator-server.js"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "chrome-devtools-mcp",
|
|
21
|
+
"version": "1.0.0",
|
|
22
|
+
"description": "Chrome DevTools Protocol MCP server for browser testing and debugging",
|
|
23
|
+
"mcpName": "chrome-devtools-mcp",
|
|
24
|
+
"transport": "stdio",
|
|
25
|
+
"command": "npx chrome-devtools-mcp"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"wordpress_server": {
|
|
29
|
+
"sparc_tools": [
|
|
30
|
+
{
|
|
31
|
+
"name": "sparc_orchestrate",
|
|
32
|
+
"description": "Orchestrate the complete 5-phase SPARC development workflow with intelligent task routing",
|
|
33
|
+
"category": "orchestration"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "sparc_status",
|
|
37
|
+
"description": "Get status of current SPARC workflow execution",
|
|
38
|
+
"category": "monitoring"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "sparc_phase_execute",
|
|
42
|
+
"description": "Execute a single SPARC phase with detailed configuration",
|
|
43
|
+
"category": "execution"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "sparc_workflow_history",
|
|
47
|
+
"description": "Get history of SPARC workflow executions",
|
|
48
|
+
"category": "monitoring"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "sparc_task_results",
|
|
52
|
+
"description": "Get detailed results from a completed SPARC workflow",
|
|
53
|
+
"category": "results"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"chrome_devtools_tools": [
|
|
57
|
+
{
|
|
58
|
+
"name": "cdp_connect",
|
|
59
|
+
"description": "Connect to Chrome DevTools Protocol for browser automation",
|
|
60
|
+
"category": "connection"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "cdp_navigate",
|
|
64
|
+
"description": "Navigate browser to a URL",
|
|
65
|
+
"category": "navigation"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "cdp_screenshot",
|
|
69
|
+
"description": "Take screenshot of current page",
|
|
70
|
+
"category": "testing"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "cdp_evaluate",
|
|
74
|
+
"description": "Execute JavaScript in browser context",
|
|
75
|
+
"category": "testing"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "cdp_network_monitor",
|
|
79
|
+
"description": "Monitor network requests and responses",
|
|
80
|
+
"category": "testing"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "cdp_console_logs",
|
|
84
|
+
"description": "Capture browser console logs",
|
|
85
|
+
"category": "debugging"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"wordpress_tools": [
|
|
10
89
|
{
|
|
11
90
|
"name": "wp_session_create",
|
|
12
91
|
"description": "Create a new session for tracking operations and maintaining context",
|
|
@@ -70,12 +149,16 @@
|
|
|
70
149
|
],
|
|
71
150
|
"capabilities": [
|
|
72
151
|
"session_management",
|
|
73
|
-
"memory_persistence",
|
|
152
|
+
"memory_persistence",
|
|
74
153
|
"health_monitoring",
|
|
75
154
|
"wordpress_integration",
|
|
76
155
|
"batch_operations",
|
|
77
156
|
"gutenberg_support",
|
|
78
|
-
"error_tracking"
|
|
157
|
+
"error_tracking",
|
|
158
|
+
"sparc_orchestration",
|
|
159
|
+
"workflow_management",
|
|
160
|
+
"browser_automation",
|
|
161
|
+
"devtools_integration"
|
|
79
162
|
],
|
|
80
163
|
"environment": {
|
|
81
164
|
"required": [
|