myaidev-method 0.0.2 → 0.0.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/bin/cli.js CHANGED
@@ -65,15 +65,26 @@ program
65
65
 
66
66
  spinner.succeed(chalk.green(`Successfully initialized ${cliType} configuration!`));
67
67
 
68
- console.log('\n' + chalk.cyan('Next steps:'));
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.gray('1. Review the commands in .claude/commands/'));
71
- console.log(chalk.gray('2. Review the agents in .claude/agents/'));
72
- console.log(chalk.gray('3. Configure WordPress settings by creating a .env file'));
73
- console.log(chalk.gray('4. Use /myai-content-writer in Claude Code to create content'));
74
- console.log(chalk.gray('5. Use /myai-wordpress-publish to publish to WordPress'));
70
+ console.log(chalk.green('\n✨ Start creating content immediately:'));
71
+ console.log(chalk.gray(' /myai-content-writer "Your Article Topic"'));
72
+
73
+ console.log(chalk.yellow('\nšŸŽØ Customize your content writer (optional):'));
74
+ console.log(chalk.gray(' • Edit .claude/agents/content-writer.md to match your style'));
75
+ console.log(chalk.gray(' • Read USER_GUIDE.md for step-by-step customization tips'));
76
+ console.log(chalk.gray(' • Use /myai-configure agents to manage your agents safely'));
77
+
78
+ console.log(chalk.blue('\nšŸ”Œ Add WordPress integration (optional):'));
79
+ console.log(chalk.gray(' • Run /myai-configure wordpress for guided setup'));
80
+ console.log(chalk.gray(' • No manual .env file creation needed!'));
81
+ console.log(chalk.gray(' • Publish content with /myai-wordpress-publish filename.md'));
82
+
83
+ console.log(chalk.magenta('\nšŸ“š Need help?'));
84
+ console.log(chalk.gray(' • Check USER_GUIDE.md for detailed instructions'));
85
+ console.log(chalk.gray(' • Visit: https://github.com/myaione/myaidev-method'));
75
86
  }
76
- console.log(chalk.gray(`\nRestart your ${cliType} CLI to load the new configuration`));
87
+ console.log(chalk.cyan(`\nšŸ”„ Restart ${cliType} to load your new AI-powered commands!`));
77
88
 
78
89
  } catch (error) {
79
90
  spinner.fail(chalk.red('Failed to initialize configuration'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myaidev-method",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "AI CLI tools package with custom subagents and MCP integrations for Claude Code, Gemini CLI, and more",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -9,11 +9,50 @@ Configure MyAI Method settings based on the parameter: $ARGUMENTS
9
9
  ## Available Configurations
10
10
 
11
11
  ### wordpress
12
- Set up WordPress connection:
13
- 1. Prompt for WordPress site URL
14
- 2. Prompt for username
15
- 3. Guide through Application Password creation
16
- 4. Save to `.env` file in project root
12
+ Interactive WordPress setup - no manual .env file creation needed!
13
+
14
+ **Process:**
15
+ 1. **Collect WordPress site URL**
16
+ - Prompt: "Enter your WordPress site URL (e.g., https://yoursite.com):"
17
+ - Validate URL format and accessibility
18
+ - Test basic connectivity
19
+
20
+ 2. **Get WordPress username**
21
+ - Prompt: "Enter your WordPress admin username:"
22
+ - Validate username format
23
+
24
+ 3. **Guide through Application Password creation**
25
+ - Show step-by-step instructions:
26
+ * "Go to your WordPress Admin → Users → Your Profile"
27
+ * "Scroll down to 'Application Passwords' section"
28
+ * "Enter a name like 'MyAI Dev Method' and click 'Add New'"
29
+ * "Copy the generated password (it looks like: xxxx xxxx xxxx xxxx)"
30
+ - Prompt: "Paste your Application Password here:"
31
+ - Validate password format
32
+
33
+ 4. **Test connection**
34
+ - Verify credentials by making test API call
35
+ - Show success/failure message with troubleshooting tips
36
+
37
+ 5. **Save configuration**
38
+ - Create/update `.env` file automatically
39
+ - Set proper file permissions (600)
40
+ - Show confirmation of saved settings
41
+
42
+ 6. **Optional SSH setup**
43
+ - Ask: "Do you want to set up SSH for advanced WordPress administration? (y/n)"
44
+ - If yes, prompt for SSH details:
45
+ * SSH host/IP
46
+ * SSH username
47
+ * SSH key path (optional)
48
+ - Test SSH connection if credentials provided
49
+
50
+ **Success message:**
51
+ "āœ… WordPress integration configured successfully!
52
+ - Site: [URL]
53
+ - User: [username]
54
+ - Connection: āœ… Verified
55
+ - Available commands: /myai-wordpress-admin, /myai-wordpress-publish"
17
56
 
18
57
  ### defaults
19
58
  Configure default content settings:
@@ -40,6 +79,47 @@ List and manage available agents:
40
79
  4. Save to appropriate location (.env or .claude/config/)
41
80
  5. Confirm successful configuration
42
81
 
82
+ ## WordPress Setup Example
83
+
84
+ ```bash
85
+ # User runs the command
86
+ /myai-configure wordpress
87
+
88
+ # System prompts and responses:
89
+ ? Enter your WordPress site URL: https://myblog.com
90
+ āœ“ URL format valid, testing connection...
91
+ āœ“ WordPress site accessible
92
+
93
+ ? Enter your WordPress admin username: john_admin
94
+ āœ“ Username format valid
95
+
96
+ # System shows instructions
97
+ šŸ“ Create Application Password:
98
+ 1. Go to https://myblog.com/wp-admin/profile.php
99
+ 2. Scroll to "Application Passwords"
100
+ 3. Enter name: "MyAI Dev Method"
101
+ 4. Click "Add New"
102
+ 5. Copy the generated password
103
+
104
+ ? Paste your Application Password: abcd efgh ijkl mnop
105
+ āœ“ Password format valid, testing connection...
106
+ āœ“ WordPress API connection successful!
107
+
108
+ ? Set up SSH for advanced features? (y/n): y
109
+ ? SSH host/IP: myblog.com
110
+ ? SSH username: john
111
+ ? SSH key path (press enter for default): /home/user/.ssh/id_rsa
112
+ āœ“ SSH connection tested successfully
113
+
114
+ āœ… Configuration saved to .env
115
+ āœ… File permissions set to 600 (secure)
116
+
117
+ WordPress integration ready! Available commands:
118
+ • /myai-wordpress-admin health-check
119
+ • /myai-wordpress-publish filename.md
120
+ • /myai-content-writer "topic" --publish_to_wordpress true
121
+ ```
122
+
43
123
  ## Agent Management Examples
44
124
 
45
125
  ```bash