myaidev-method 0.2.3 โ†’ 0.2.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.
@@ -574,17 +574,17 @@ npm run dev:docs "Generate OpenAPI spec for API" --format openapi
574
574
  Execute the complete SPARC workflow with a single command:
575
575
 
576
576
  ```bash
577
- # CLI command
578
- npm run sparc "Build user authentication system with JWT and refresh tokens"
577
+ # Slash command (in Claude Code)
578
+ /myai-sparc-workflow "Build user authentication system with JWT and refresh tokens"
579
579
 
580
- # Slash command
581
- /myai-sparc-workflow "Create payment processing module"
580
+ # CLI command
581
+ npx myaidev-method sparc "Build user authentication system with JWT and refresh tokens"
582
582
 
583
583
  # With technology preferences
584
- npm run sparc "Build e-commerce checkout" --tech-stack "react,node,stripe,postgres"
584
+ npx myaidev-method sparc "Build e-commerce checkout" --tech-stack "react,node,stripe,postgres"
585
585
 
586
586
  # Run specific phases only
587
- npm run sparc "Refactor auth module" --phases "architecture,review,documentation"
587
+ npx myaidev-method sparc "Refactor auth module" --phases "architecture,review,documentation"
588
588
  ```
589
589
 
590
590
  ### Workflow Execution
@@ -673,13 +673,13 @@ npm run dev:docs "Create deployment guide" --type architecture
673
673
 
674
674
  ```bash
675
675
  # Run all 5 phases
676
- npm run sparc "Build feature X"
676
+ npx myaidev-method sparc "Build feature X"
677
677
 
678
678
  # Run specific phases
679
- npm run sparc "Improve feature Y" --phases "architecture,review,documentation"
679
+ npx myaidev-method sparc "Improve feature Y" --phases "architecture,review,documentation"
680
680
 
681
681
  # Skip specific phase (use with caution)
682
- npm run sparc "Build feature Z" --skip-phase testing
682
+ npx myaidev-method sparc "Build feature Z" --skip-phase testing
683
683
  ```
684
684
 
685
685
  ## Quality Standards
@@ -797,7 +797,7 @@ This comprehensive example demonstrates building a complete blog system using Ne
797
797
 
798
798
  ```bash
799
799
  # Execute complete SPARC workflow for the entire blog system
800
- npm run sparc "Build Next.js blog with PayloadCMS backend, including posts collection, user authentication, and content API" --tech-stack "nextjs,payloadcms,mongodb,typescript"
800
+ npx myaidev-method sparc "Build Next.js blog with PayloadCMS backend, including posts collection, user authentication, and content API" --tech-stack "nextjs,payloadcms,mongodb,typescript"
801
801
  ```
802
802
 
803
803
  #### Phase-by-Phase Implementation
@@ -1206,7 +1206,7 @@ npm run dev:code "Implement Next.js frontend with WordPress REST API"
1206
1206
 
1207
1207
  ```bash
1208
1208
  # Complete workflow
1209
- npm run sparc "Build JWT authentication with refresh tokens and role-based access control"
1209
+ npx myaidev-method sparc "Build JWT authentication with refresh tokens and role-based access control"
1210
1210
  ```
1211
1211
 
1212
1212
  **Expected Outputs**:
@@ -1346,7 +1346,7 @@ The MyAIDev Method's SPARC workflow provides a comprehensive, systematic approac
1346
1346
 
1347
1347
  **Next Steps**:
1348
1348
  1. Initialize MyAIDev Method: `npx myaidev-method init --claude`
1349
- 2. Run your first SPARC workflow: `npm run sparc "Build your feature"`
1349
+ 2. Run your first SPARC workflow: `npx myaidev-method sparc "Build your feature"`
1350
1350
  3. Review outputs in `.myaidev-method/sparc/`
1351
1351
  4. Iterate and improve based on review findings
1352
1352
 
@@ -234,16 +234,16 @@ The package includes convenient npm scripts for MCP servers:
234
234
 
235
235
  ```bash
236
236
  # Start SPARC Orchestrator MCP server
237
- npm run mcp:sparc
237
+ npx myaidev-sparc-orchestrator
238
238
 
239
239
  # Start WordPress MCP server
240
- npm run mcp:start
240
+ npx myaidev-mcp-server
241
241
 
242
- # Check MCP server health
243
- npm run mcp:health
244
-
245
- # Check MCP server status
246
- npm run mcp:status
242
+ # Or use npm scripts (from package root)
243
+ npm run mcp:sparc # SPARC Orchestrator
244
+ npm run mcp:start # WordPress MCP
245
+ npm run mcp:health # Health check
246
+ npm run mcp:status # Status check
247
247
  ```
248
248
 
249
249
  ## Advanced Features
package/README.md CHANGED
@@ -214,14 +214,14 @@ Phase 5: ๐Ÿ“š DOCUMENTATION
214
214
  Run the entire SPARC workflow with a single command:
215
215
 
216
216
  ```bash
217
- # Execute all 5 phases sequentially
218
- npm run sparc "Build user authentication system with JWT"
217
+ # Slash command (in Claude Code)
218
+ /myai-sparc-workflow "Build user authentication system with JWT"
219
219
 
220
- # Or use the slash command
221
- /myai-sparc-workflow "Create payment processing module"
220
+ # CLI command
221
+ npx myaidev-method sparc "Build user authentication system with JWT"
222
222
 
223
223
  # With technology preferences
224
- npm run sparc "Build e-commerce checkout" --tech-stack "react,node,stripe,postgres"
224
+ npx myaidev-method sparc "Build e-commerce checkout" --tech-stack "react,node,stripe,postgres"
225
225
  ```
226
226
 
227
227
  ### Workflow Output Structure
@@ -272,19 +272,19 @@ This framework is inspired by [GitHub's Spec-Kit](https://github.com/github/spec
272
272
  You can also run individual phases:
273
273
 
274
274
  ```bash
275
- # CLI commands
276
- npm run dev:architect "Design real-time chat app"
277
- npm run dev:code "Implement WebSocket server"
278
- npm run dev:test "Test chat functionality" --integration
279
- npm run dev:review "Review chat implementation" --security
280
- npm run dev:docs "Document chat API"
281
-
282
275
  # Slash commands (in Claude Code)
283
- /myai-dev-architect "Design microservices architecture"
284
- /myai-dev-code "Implement user service" --test-driven
285
- /myai-dev-test "Test user service" --coverage
286
- /myai-dev-review "Security audit for user service"
287
- /myai-dev-docs "Document user service API"
276
+ /myai-dev-architect "Design real-time chat app"
277
+ /myai-dev-code "Implement WebSocket server"
278
+ /myai-dev-test "Test chat functionality" --integration
279
+ /myai-dev-review "Review chat implementation" --security
280
+ /myai-dev-docs "Document chat API"
281
+
282
+ # CLI commands
283
+ npx myaidev-method dev:architect "Design microservices architecture"
284
+ npx myaidev-method dev:code "Implement user service" --test-driven
285
+ npx myaidev-method dev:test "Test user service" --coverage
286
+ npx myaidev-method dev:review "Security audit for user service"
287
+ npx myaidev-method dev:docs "Document user service API"
288
288
  ```
289
289
 
290
290
  ## ๐Ÿค– Development Agents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myaidev-method",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
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",
@@ -7,8 +7,8 @@
7
7
  * create API specifications, and plan technology stack.
8
8
  *
9
9
  * Usage:
10
- * npm run dev:architect "Design authentication system"
11
- * npm run dev:architect "Create e-commerce platform" --tech-stack "node,postgres,redis"
10
+ * npx myaidev-method dev:architect "Design authentication system"
11
+ * npx myaidev-method dev:architect "Create e-commerce platform" --tech-stack "node,postgres,redis"
12
12
  */
13
13
 
14
14
  import { SparcWorkflow } from '../lib/dev-workflow/sparc-workflow.js';
@@ -22,8 +22,8 @@ async function main() {
22
22
  ๐Ÿ—๏ธ MyAIDev Method - Architecture Design
23
23
 
24
24
  Usage:
25
- npm run dev:architect "Design authentication system"
26
- npm run dev:architect "Create API endpoints" --tech-stack "node,express"
25
+ npx myaidev-method dev:architect "Design authentication system"
26
+ npx myaidev-method dev:architect "Create API endpoints" --tech-stack "node,express"
27
27
 
28
28
  Options:
29
29
  --tech-stack <stack> Preferred technology stack (comma-separated)
@@ -32,16 +32,16 @@ Options:
32
32
  --help, -h Show this help message
33
33
 
34
34
  Examples:
35
- npm run dev:architect "Design real-time chat app"
36
- npm run dev:architect "Review current architecture" --existing-code
37
- npm run dev:architect "Design microservices" --tech-stack "node,kubernetes,mongodb"
35
+ npx myaidev-method dev:architect "Design real-time chat app"
36
+ npx myaidev-method dev:architect "Review current architecture" --existing-code
37
+ npx myaidev-method dev:architect "Design microservices" --tech-stack "node,kubernetes,mongodb"
38
38
 
39
39
  Output:
40
40
  .myaidev-method/sparc/architecture.md
41
41
 
42
42
  Next Phase:
43
43
  After architecture is complete, run:
44
- npm run dev:code "Implement [feature]"
44
+ npx myaidev-method dev:code "Implement [feature]"
45
45
  `);
46
46
  process.exit(0);
47
47
  }
@@ -87,7 +87,7 @@ Next Phase:
87
87
  console.log('');
88
88
  console.log('๐Ÿ“Œ Next Steps:');
89
89
  console.log(' 1. Review architecture.md in .myaidev-method/sparc/');
90
- console.log(' 2. Run: npm run dev:code "Implement [feature]"');
90
+ console.log(' 2. Run: npx myaidev-method dev:code "Implement [feature]"');
91
91
  console.log('');
92
92
 
93
93
  } catch (error) {
@@ -7,8 +7,8 @@
7
7
  * architecture specifications using SOLID principles and best practices.
8
8
  *
9
9
  * Usage:
10
- * npm run dev:code "Implement user authentication"
11
- * npm run dev:code "Build payment processing" --test-driven
10
+ * npx myaidev-method dev:code "Implement user authentication"
11
+ * npx myaidev-method dev:code "Build payment processing" --test-driven
12
12
  */
13
13
 
14
14
  import { SparcWorkflow } from '../lib/dev-workflow/sparc-workflow.js';
@@ -22,8 +22,8 @@ async function main() {
22
22
  ๐Ÿ’ป MyAIDev Method - Code Implementation
23
23
 
24
24
  Usage:
25
- npm run dev:code "Implement authentication"
26
- npm run dev:code "Build API endpoints" --test-driven
25
+ npx myaidev-method dev:code "Implement authentication"
26
+ npx myaidev-method dev:code "Build API endpoints" --test-driven
27
27
 
28
28
  Options:
29
29
  --architecture <file> Path to architecture spec (default: .myaidev-method/sparc/architecture.md)
@@ -32,9 +32,9 @@ Options:
32
32
  --help, -h Show this help message
33
33
 
34
34
  Examples:
35
- npm run dev:code "Implement JWT authentication"
36
- npm run dev:code "Create REST API for users" --test-driven
37
- npm run dev:code "Refactor database queries" --architecture custom-arch.md
35
+ npx myaidev-method dev:code "Implement JWT authentication"
36
+ npx myaidev-method dev:code "Create REST API for users" --test-driven
37
+ npx myaidev-method dev:code "Refactor database queries" --architecture custom-arch.md
38
38
 
39
39
  Code Quality Standards:
40
40
  - SOLID Principles (Single Responsibility, DRY, KISS)
@@ -48,7 +48,7 @@ Output:
48
48
 
49
49
  Next Phase:
50
50
  After implementation, run:
51
- npm run dev:test "Test [feature]"
51
+ npx myaidev-method dev:test "Test [feature]"
52
52
  `);
53
53
  process.exit(0);
54
54
  }
@@ -94,7 +94,7 @@ Next Phase:
94
94
  console.log('');
95
95
  console.log('๐Ÿ“Œ Next Steps:');
96
96
  console.log(' 1. Review code in .myaidev-method/sparc/code-output/');
97
- console.log(' 2. Run: npm run dev:test "Test [feature]"');
97
+ console.log(' 2. Run: npx myaidev-method dev:test "Test [feature]"');
98
98
  console.log('');
99
99
 
100
100
  } catch (error) {
@@ -7,8 +7,8 @@
7
7
  * API documentation, user guides, and technical specifications.
8
8
  *
9
9
  * Usage:
10
- * npm run dev:docs "Document authentication API"
11
- * npm run dev:docs "Create user guide" --type user-guide
10
+ * npx myaidev-method dev:docs "Document authentication API"
11
+ * npx myaidev-method dev:docs "Create user guide" --type user-guide
12
12
  */
13
13
 
14
14
  import { SparcWorkflow } from '../lib/dev-workflow/sparc-workflow.js';
@@ -22,8 +22,8 @@ async function main() {
22
22
  ๐Ÿ“š MyAIDev Method - Documentation
23
23
 
24
24
  Usage:
25
- npm run dev:docs "Document authentication API"
26
- npm run dev:docs "Create user guide" --type user-guide --format html
25
+ npx myaidev-method dev:docs "Document authentication API"
26
+ npx myaidev-method dev:docs "Create user guide" --type user-guide --format html
27
27
 
28
28
  Options:
29
29
  --type <type> Documentation type: api, user-guide, architecture, technical
@@ -32,10 +32,10 @@ Options:
32
32
  --help, -h Show this help message
33
33
 
34
34
  Examples:
35
- npm run dev:docs "Document REST API endpoints"
36
- npm run dev:docs "Create user guide for checkout flow" --type user-guide
37
- npm run dev:docs "Generate OpenAPI spec" --format openapi
38
- npm run dev:docs "Document system architecture" --type architecture
35
+ npx myaidev-method dev:docs "Document REST API endpoints"
36
+ npx myaidev-method dev:docs "Create user guide for checkout flow" --type user-guide
37
+ npx myaidev-method dev:docs "Generate OpenAPI spec" --format openapi
38
+ npx myaidev-method dev:docs "Document system architecture" --type architecture
39
39
 
40
40
  Documentation Standards:
41
41
  - Clarity: Simple language, clear examples, visual aids
@@ -7,8 +7,8 @@
7
7
  * performance, and best practices compliance.
8
8
  *
9
9
  * Usage:
10
- * npm run dev:review "Review authentication module"
11
- * npm run dev:review "Security audit for payments" --security
10
+ * npx myaidev-method dev:review "Review authentication module"
11
+ * npx myaidev-method dev:review "Security audit for payments" --security
12
12
  */
13
13
 
14
14
  import { SparcWorkflow } from '../lib/dev-workflow/sparc-workflow.js';
@@ -22,8 +22,8 @@ async function main() {
22
22
  ๐Ÿ‘๏ธ MyAIDev Method - Code Review
23
23
 
24
24
  Usage:
25
- npm run dev:review "Review authentication"
26
- npm run dev:review "Audit payment module" --security --performance
25
+ npx myaidev-method dev:review "Review authentication"
26
+ npx myaidev-method dev:review "Audit payment module" --security --performance
27
27
 
28
28
  Options:
29
29
  --security Focus on security analysis (OWASP Top 10)
@@ -32,9 +32,9 @@ Options:
32
32
  --help, -h Show this help message
33
33
 
34
34
  Examples:
35
- npm run dev:review "Review user authentication module"
36
- npm run dev:review "Security audit for payment processing" --security
37
- npm run dev:review "Performance review of database queries" --performance
35
+ npx myaidev-method dev:review "Review user authentication module"
36
+ npx myaidev-method dev:review "Security audit for payment processing" --security
37
+ npx myaidev-method dev:review "Performance review of database queries" --performance
38
38
 
39
39
  Review Standards:
40
40
  - Code Quality: Complexity, readability, maintainability
@@ -48,7 +48,7 @@ Output:
48
48
 
49
49
  Next Phase:
50
50
  After review, run:
51
- npm run dev:docs "Document [feature]"
51
+ npx myaidev-method dev:docs "Document [feature]"
52
52
  `);
53
53
  process.exit(0);
54
54
  }
@@ -105,7 +105,7 @@ Next Phase:
105
105
  console.log('๐Ÿ“Œ Next Steps:');
106
106
  console.log(' 1. Review report in .myaidev-method/sparc/review-report.md');
107
107
  console.log(' 2. Address critical and high-priority issues');
108
- console.log(' 3. Run: npm run dev:docs "Document [feature]"');
108
+ console.log(' 3. Run: npx myaidev-method dev:docs "Document [feature]"');
109
109
  console.log('');
110
110
 
111
111
  } catch (error) {
@@ -7,8 +7,8 @@
7
7
  * generate coverage reports, and validate quality gates.
8
8
  *
9
9
  * Usage:
10
- * npm run dev:test "Test authentication system"
11
- * npm run dev:test "Integration tests for checkout" --integration
10
+ * npx myaidev-method dev:test "Test authentication system"
11
+ * npx myaidev-method dev:test "Integration tests for checkout" --integration
12
12
  */
13
13
 
14
14
  import { SparcWorkflow } from '../lib/dev-workflow/sparc-workflow.js';
@@ -22,8 +22,8 @@ async function main() {
22
22
  ๐Ÿงช MyAIDev Method - Testing
23
23
 
24
24
  Usage:
25
- npm run dev:test "Test authentication"
26
- npm run dev:test "Test checkout flow" --integration --coverage
25
+ npx myaidev-method dev:test "Test authentication"
26
+ npx myaidev-method dev:test "Test checkout flow" --integration --coverage
27
27
 
28
28
  Options:
29
29
  --coverage Generate coverage report
@@ -33,9 +33,9 @@ Options:
33
33
  --help, -h Show this help message
34
34
 
35
35
  Examples:
36
- npm run dev:test "Test user authentication"
37
- npm run dev:test "Integration tests for API" --integration --coverage
38
- npm run dev:test "Test payment module" --framework jest
36
+ npx myaidev-method dev:test "Test user authentication"
37
+ npx myaidev-method dev:test "Integration tests for API" --integration --coverage
38
+ npx myaidev-method dev:test "Test payment module" --framework jest
39
39
 
40
40
  Testing Standards:
41
41
  - 80%+ coverage for critical paths
@@ -49,7 +49,7 @@ Output:
49
49
 
50
50
  Next Phase:
51
51
  After testing, run:
52
- npm run dev:review "Review [feature]"
52
+ npx myaidev-method dev:review "Review [feature]"
53
53
  `);
54
54
  process.exit(0);
55
55
  }
@@ -103,7 +103,7 @@ Next Phase:
103
103
  console.log('');
104
104
  console.log('๐Ÿ“Œ Next Steps:');
105
105
  console.log(' 1. Review test results in .myaidev-method/sparc/test-results/');
106
- console.log(' 2. Run: npm run dev:review "Review [feature]"');
106
+ console.log(' 2. Run: npx myaidev-method dev:review "Review [feature]"');
107
107
  console.log('');
108
108
 
109
109
  } catch (error) {
@@ -7,8 +7,9 @@
7
7
  * Architecture โ†’ Implementation โ†’ Testing โ†’ Review โ†’ Documentation
8
8
  *
9
9
  * Usage:
10
- * npm run sparc "Build user authentication system"
11
- * npm run sparc "Create payment module" --tech-stack "node,stripe,postgres"
10
+ * npx myaidev-method sparc "Build user authentication system"
11
+ * npx myaidev-method sparc "Create payment module" --tech-stack "node,stripe,postgres"
12
+ * npm run sparc "Build feature" (from package root)
12
13
  */
13
14
 
14
15
  import { SparcWorkflow } from '../lib/dev-workflow/sparc-workflow.js';
@@ -29,8 +30,8 @@ Execute the complete 5-phase systematic development workflow:
29
30
  5. Documentation - Generate complete docs
30
31
 
31
32
  Usage:
32
- npm run sparc "Build authentication system"
33
- npm run sparc "Create payment module" --tech-stack "node,stripe,postgres"
33
+ npx myaidev-method sparc "Build authentication system"
34
+ npx myaidev-method sparc "Create payment module" --tech-stack "node,stripe,postgres"
34
35
 
35
36
  Options:
36
37
  --phases <phases> Run specific phases (comma-separated)
@@ -41,9 +42,9 @@ Options:
41
42
  --help, -h Show this help message
42
43
 
43
44
  Examples:
44
- npm run sparc "Build JWT authentication with refresh tokens"
45
- npm run sparc "Create e-commerce checkout" --tech-stack "react,node,stripe"
46
- npm run sparc "Refactor payment module" --phases "architecture,review,documentation"
45
+ npx myaidev-method sparc "Build JWT authentication with refresh tokens"
46
+ npx myaidev-method sparc "Create e-commerce checkout" --tech-stack "react,node,stripe"
47
+ npx myaidev-method sparc "Refactor payment module" --phases "architecture,review,documentation"
47
48
 
48
49
  Workflow Phases:
49
50
  1. ๐Ÿ—๏ธ Architecture - System design, API specs, data modeling