myaidev-method 0.0.1

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/README.md ADDED
@@ -0,0 +1,744 @@
1
+ # MyAIDev Method
2
+
3
+ > **🚀 The easiest way to supercharge your AI CLI with professional agents and WordPress integration**
4
+
5
+ A comprehensive package for AI CLI tools (Claude Code, Gemini CLI, Codex CLI) that provides custom subagents and MCP integrations for enhanced development workflows. **Zero setup required** - just run one command and start creating professional content!
6
+
7
+ **✨ What makes this special:**
8
+ - **Instant setup**: One `npx` command and you're ready
9
+ - **Professional agents**: Content writer and WordPress admin out-of-the-box
10
+ - **Claude Code native**: Follows official standards for maximum compatibility
11
+ - **No dependencies**: Works standalone, WordPress integration is optional
12
+
13
+ ## 📋 Table of Contents
14
+
15
+ - [Features](#features)
16
+ - [Installation](#installation)
17
+ - [Quick Start](#quick-start)
18
+ - [Available Agents](#available-agents)
19
+ - [Slash Commands](#slash-commands)
20
+ - [Configuration](#configuration)
21
+ - [WordPress Integration](#wordpress-integration)
22
+ - [SSH Integration](#ssh-integration)
23
+ - [Customizing Agents](#customizing-agents)
24
+ - [Project Structure](#project-structure)
25
+ - [Environment Variables](#environment-variables)
26
+ - [Examples](#examples)
27
+ - [Troubleshooting](#troubleshooting)
28
+ - [Contributing](#contributing)
29
+ - [License](#license)
30
+
31
+ ## ✨ Features
32
+
33
+ - 🤖 **Custom Subagents**: Pre-configured AI agents in Markdown format with YAML frontmatter
34
+ - 📝 **Content Writer Agent**: Professional content creation with SEO optimization
35
+ - 🔐 **WordPress Admin Agent**: Site administration, security analysis, and performance optimization
36
+ - 🔌 **WordPress MCP Integration**: Direct publishing and administration via REST API
37
+ - 💻 **SSH Integration**: Server-level operations for advanced WordPress administration
38
+ - 🎯 **Slash Commands**: Easy-to-use Markdown-based commands for Claude Code
39
+ - 🚀 **Multi-CLI Support**: Works with Claude Code, Gemini CLI, and Codex CLI
40
+ - ✅ **Standards Compliant**: Follows Claude Code's official `.claude/` folder structure
41
+
42
+ ## 🚀 Installation
43
+
44
+ [![npm version](https://badge.fury.io/js/myaidev-method.svg)](https://www.npmjs.com/package/myaidev-method)
45
+ [![npm downloads](https://img.shields.io/npm/dt/myaidev-method.svg)](https://www.npmjs.com/package/myaidev-method)
46
+
47
+ ### ⚡ One-Command Installation
48
+
49
+ **No setup required!** Install and configure in your project directory with a single command:
50
+
51
+ ```bash
52
+ # For Claude Code (most popular)
53
+ npx myaidev-method init --claude
54
+
55
+ # For Gemini CLI
56
+ npx myaidev-method init --gemini
57
+
58
+ # For Codex CLI
59
+ npx myaidev-method init --codex
60
+
61
+ # Interactive setup (prompts for CLI choice)
62
+ npx myaidev-method init
63
+ ```
64
+
65
+ **That's it!** No authentication, no complex setup, no additional configuration needed.
66
+
67
+ ### Requirements
68
+
69
+ - Node.js >= 18.0.0
70
+ - Claude Code >= 1.0.0 (for Claude features)
71
+ - WordPress site with REST API enabled (optional, for WordPress features)
72
+ - SSH access to server (optional, for advanced WordPress admin features)
73
+
74
+ > **Note**: WordPress and SSH are completely optional. You can use the content writer agent without any external dependencies!
75
+
76
+ ## 🏃‍♂️ Quick Start
77
+
78
+ 1. **Install and configure** (one command):
79
+ ```bash
80
+ npx myaidev-method init --claude
81
+ ```
82
+
83
+ 2. **Start using immediately**:
84
+ ```bash
85
+ # Create professional content
86
+ /myai-content-writer "10 Tips for Remote Work"
87
+
88
+ # Configure settings (optional)
89
+ /myai-configure agents
90
+ ```
91
+
92
+ 3. **Add WordPress integration** (optional):
93
+ ```bash
94
+ cp .env.example .env
95
+ # Edit .env with your WordPress credentials
96
+ /myai-wordpress-admin health-check
97
+ ```
98
+
99
+ ## 🤖 Available Agents
100
+
101
+ ### Content Writer Agent
102
+ **File:** `.claude/agents/content-writer.md`
103
+
104
+ Professional content writer specializing in creating high-quality, engaging, and SEO-optimized content.
105
+
106
+ **Capabilities:**
107
+ - SEO-optimized article creation
108
+ - Research and fact-checking
109
+ - Markdown formatting with frontmatter
110
+ - WordPress-ready content structure
111
+ - Multiple tone and audience support
112
+ - Keyword optimization
113
+
114
+ ### WordPress Admin Agent
115
+ **File:** `.claude/agents/wordpress-admin.md`
116
+
117
+ WordPress administrator for comprehensive site management, security, performance, and health analysis.
118
+
119
+ **Capabilities:**
120
+ - **Security:** Vulnerability scanning, malware detection, user auditing
121
+ - **Performance:** Speed optimization, database cleanup, caching setup
122
+ - **Health:** Site monitoring, error analysis, backup verification
123
+ - **Administration:** User/plugin/theme management, content cleanup
124
+
125
+ ## 🎯 Slash Commands
126
+
127
+ ### `/myai-content-writer`
128
+ Create professional, SEO-optimized content.
129
+
130
+ ```bash
131
+ # Basic usage
132
+ /myai-content-writer "Best Practices for Remote Work"
133
+
134
+ # With parameters
135
+ /myai-content-writer "AI in Healthcare" --word_count 1500 --tone technical --audience "healthcare professionals"
136
+
137
+ # With WordPress publishing
138
+ /myai-content-writer "Summer Garden Tips" --publish_to_wordpress true
139
+ ```
140
+
141
+ **Parameters:**
142
+ - `topic` (required): Content topic or title
143
+ - `word_count`: Target word count (default: 800)
144
+ - `tone`: professional, casual, technical, conversational, academic
145
+ - `audience`: Target reader demographic
146
+ - `seo_keywords`: Array of keywords for optimization
147
+ - `publish_to_wordpress`: Auto-publish as draft (true/false)
148
+
149
+ ### `/myai-wordpress-admin`
150
+ Comprehensive WordPress site administration.
151
+
152
+ ```bash
153
+ # Security operations
154
+ /myai-wordpress-admin security-scan
155
+ /myai-wordpress-admin malware-check
156
+ /myai-wordpress-admin user-audit --role administrator
157
+ /myai-wordpress-admin ssl-check
158
+ /myai-wordpress-admin file-permissions
159
+
160
+ # Performance operations
161
+ /myai-wordpress-admin speed-test --detailed
162
+ /myai-wordpress-admin database-optimize --cleanup-revisions
163
+ /myai-wordpress-admin cache-setup --type redis
164
+ /myai-wordpress-admin image-optimize
165
+ /myai-wordpress-admin resource-monitor
166
+
167
+ # Health operations
168
+ /myai-wordpress-admin health-check --comprehensive
169
+ /myai-wordpress-admin error-analysis --last-24h
170
+ /myai-wordpress-admin uptime-check --setup-monitoring
171
+ /myai-wordpress-admin backup-verify
172
+ /myai-wordpress-admin update-check
173
+
174
+ # Administrative operations
175
+ /myai-wordpress-admin user-manage --list-admins
176
+ /myai-wordpress-admin plugin-manage --update-all --check-security
177
+ /myai-wordpress-admin content-cleanup --remove-spam --optimize-db
178
+ /myai-wordpress-admin settings-optimize --performance-focus
179
+ /myai-wordpress-admin staging-deploy
180
+ ```
181
+
182
+ ### `/myai-wordpress-publish`
183
+ Publish existing markdown content to WordPress.
184
+
185
+ ```bash
186
+ # Publish as draft (default)
187
+ /myai-wordpress-publish "content/article.md"
188
+
189
+ # Publish immediately
190
+ /myai-wordpress-publish "blog-post.md" --status publish
191
+
192
+ # Publish with specific status
193
+ /myai-wordpress-publish "draft-post.md" --status pending
194
+ ```
195
+
196
+ ### `/myai-configure`
197
+ Configure MyAI Method settings.
198
+
199
+ ```bash
200
+ # WordPress setup
201
+ /myai-configure wordpress
202
+
203
+ # Default content settings
204
+ /myai-configure defaults
205
+
206
+ # Agent management
207
+ /myai-configure agents
208
+ ```
209
+
210
+ ## ⚙️ Configuration
211
+
212
+ After installation for Claude Code, the package creates a `.claude` directory following official standards:
213
+
214
+ ```
215
+ .claude/
216
+ ├── commands/ # Custom slash commands
217
+ ├── agents/ # Agent definitions
218
+ ├── mcp/ # MCP server configurations
219
+ └── CLAUDE.md # Project configuration file
220
+ ```
221
+
222
+ ## 🔌 WordPress Integration
223
+
224
+ ### Setup WordPress Connection
225
+
226
+ 1. **Create Application Password** in WordPress:
227
+ - Go to WordPress Admin → Users → Your Profile
228
+ - Find "Application Passwords" section
229
+ - Enter a name for the application and click "Add New"
230
+ - Copy the generated password
231
+
232
+ 2. **Configure environment variables**:
233
+ ```bash
234
+ WORDPRESS_URL=https://your-wordpress-site.com
235
+ WORDPRESS_USERNAME=your-username
236
+ WORDPRESS_APP_PASSWORD=generated-password
237
+ ```
238
+
239
+ 3. **Test the connection**:
240
+ ```bash
241
+ /myai-wordpress-admin health-check
242
+ ```
243
+
244
+ ### WordPress MCP Features
245
+
246
+ - **Content Publishing**: Direct post creation and updates
247
+ - **Media Management**: Upload and organize media files
248
+ - **User Administration**: Manage users and roles
249
+ - **Plugin/Theme Management**: Install, update, activate/deactivate
250
+ - **Database Operations**: Optimization and cleanup
251
+ - **Security Scanning**: Vulnerability and malware detection
252
+
253
+ ## 💻 SSH Integration
254
+
255
+ SSH integration enables advanced server-level WordPress administration. Claude Code can seamlessly use your existing SSH configuration.
256
+
257
+ ### SSH Setup Options
258
+
259
+ #### Option 1: Use Existing SSH Keys (Recommended)
260
+ If you already have SSH keys configured:
261
+
262
+ ```bash
263
+ # Claude Code will automatically use your SSH configuration
264
+ ssh user@your-server # If this works, you're ready!
265
+
266
+ # Use in commands
267
+ /myai-wordpress-admin security-scan # Will use SSH when available
268
+ ```
269
+
270
+ #### Option 2: Specify SSH Details
271
+ For specific configurations, set environment variables:
272
+
273
+ ```bash
274
+ SSH_HOST=your-server-ip
275
+ SSH_USERNAME=your-ssh-username
276
+ SSH_KEY_PATH=/home/user/.ssh/id_rsa # Optional: specific key path
277
+ WORDPRESS_PATH=/var/www/html # Optional: WordPress installation path
278
+ ```
279
+
280
+ #### Option 3: SSH Config File
281
+ Configure in `~/.ssh/config`:
282
+
283
+ ```
284
+ Host wordpress-server
285
+ HostName your-server-ip
286
+ User your-username
287
+ IdentityFile ~/.ssh/your-key
288
+ Port 22
289
+ ```
290
+
291
+ Then use: `SSH_HOST=wordpress-server`
292
+
293
+ ### SSH-Enabled Operations
294
+
295
+ When SSH access is available, the WordPress admin agent can perform:
296
+
297
+ - **File System Analysis**: Permission audits, malware scanning
298
+ - **Server Monitoring**: Resource usage, log analysis
299
+ - **Database Direct Access**: Advanced optimization operations
300
+ - **Backup Operations**: Full site and database backups
301
+ - **Security Hardening**: File permission fixes, configuration updates
302
+ - **Performance Tuning**: Web server configuration, caching setup
303
+
304
+ ### Security Considerations
305
+
306
+ - Use SSH keys instead of passwords when possible
307
+ - Limit SSH access to trusted IP addresses
308
+ - Regular audit of SSH access logs
309
+ - Use dedicated SSH users with minimal required permissions
310
+ - Keep SSH keys secure and rotated regularly
311
+
312
+ ## 🎨 Customizing Agents
313
+
314
+ You can customize agent behavior by editing their Markdown files after installation.
315
+
316
+ ### Editing Agent Prompts
317
+
318
+ 1. **Locate the agent file**:
319
+ ```bash
320
+ # Content writer agent
321
+ .claude/agents/content-writer.md
322
+
323
+ # WordPress admin agent
324
+ .claude/agents/wordpress-admin.md
325
+ ```
326
+
327
+ 2. **Edit the agent configuration**:
328
+ ```markdown
329
+ ---
330
+ name: content-writer
331
+ description: Your custom description
332
+ tools: Read, Write, Edit, WebSearch, WebFetch, Task
333
+ ---
334
+
335
+ Your custom agent prompt goes here...
336
+
337
+ ## Custom Instructions
338
+ - Add your specific requirements
339
+ - Modify the writing style
340
+ - Add industry-specific knowledge
341
+ ```
342
+
343
+ 3. **Restart Claude Code** to load the changes
344
+
345
+ ### Customization Examples
346
+
347
+ #### Modify Content Writer for Technical Documentation
348
+ ```markdown
349
+ ---
350
+ name: content-writer
351
+ description: Technical documentation writer specializing in developer content
352
+ tools: Read, Write, Edit, WebSearch, WebFetch, Task, Grep, Glob
353
+ ---
354
+
355
+ You are a technical documentation writer specializing in developer-focused content.
356
+
357
+ ## Writing Style
358
+ - Use clear, concise technical language
359
+ - Include code examples where appropriate
360
+ - Structure content for easy scanning by developers
361
+ - Focus on practical implementation details
362
+
363
+ ## Custom Requirements
364
+ - Always include code snippets when relevant
365
+ - Add "Prerequisites" section for technical tutorials
366
+ - Include "Troubleshooting" sections
367
+ - Reference official documentation sources
368
+ ```
369
+
370
+ #### Customize WordPress Admin for Specific Hosting
371
+ ```markdown
372
+ ---
373
+ name: wordpress-admin
374
+ description: WordPress administrator specialized for managed hosting environments
375
+ tools: Read, Write, Edit, Bash, WebSearch, WebFetch, Task
376
+ ---
377
+
378
+ You are a WordPress administrator with expertise in managed hosting environments.
379
+
380
+ ## Hosting-Specific Considerations
381
+ - Work within managed hosting limitations
382
+ - Use hosting-specific performance tools
383
+ - Account for caching layer configurations
384
+ - Follow hosting provider security guidelines
385
+
386
+ ## Custom Security Protocols
387
+ - Always check with hosting provider before server changes
388
+ - Use hosting control panel APIs when available
389
+ - Implement hosting-recommended security measures
390
+ ```
391
+
392
+ ### Agent Prompt Structure
393
+
394
+ Each agent file should follow this structure:
395
+
396
+ ```markdown
397
+ ---
398
+ # YAML frontmatter with agent configuration
399
+ name: agent-name
400
+ description: Brief description of agent capabilities
401
+ tools: List, of, available, tools
402
+ ---
403
+
404
+ # Agent prompt content in Markdown
405
+
406
+ ## Role Definition
407
+ Clear description of the agent's role and expertise.
408
+
409
+ ## Core Capabilities
410
+ List of main capabilities and areas of expertise.
411
+
412
+ ## Process Workflow
413
+ Step-by-step process the agent should follow.
414
+
415
+ ## Output Format
416
+ Specification of expected output format.
417
+
418
+ ## Guidelines and Constraints
419
+ Important guidelines, safety measures, and constraints.
420
+ ```
421
+
422
+ ### Best Practices for Agent Customization
423
+
424
+ 1. **Preserve YAML frontmatter**: Always keep the header configuration intact
425
+ 2. **Test thoroughly**: Test customizations in a development environment first
426
+ 3. **Version control**: Keep track of your customizations using git
427
+ 4. **Document changes**: Add comments explaining your customizations
428
+ 5. **Backup originals**: Keep copies of original agent files before modification
429
+ 6. **Validate tools**: Ensure all tools listed in frontmatter are actually needed
430
+
431
+ ### Sharing Custom Agents
432
+
433
+ You can share your custom agents by:
434
+
435
+ 1. **Creating a fork** of the repository with your customizations
436
+ 2. **Exporting agent files** and sharing them with your team
437
+ 3. **Contributing back** useful customizations to the main project
438
+
439
+ ## 📁 Project Structure
440
+
441
+ ```
442
+ .claude/
443
+ ├── commands/ # Slash commands (Markdown files)
444
+ │ ├── myai-content-writer.md # Content creation command
445
+ │ ├── myai-wordpress-admin.md # WordPress admin command
446
+ │ ├── myai-wordpress-publish.md # WordPress publishing command
447
+ │ └── myai-configure.md # Configuration command
448
+ ├── agents/ # Agent definitions (Markdown with YAML)
449
+ │ ├── content-writer.md # Content writer agent
450
+ │ └── wordpress-admin.md # WordPress admin agent
451
+ ├── mcp/ # MCP integrations
452
+ │ └── wordpress-server.js # WordPress MCP server
453
+ └── CLAUDE.md # Project configuration
454
+
455
+ # Additional files created
456
+ .env.example # Environment variables template
457
+ .env # Your environment configuration (not in git)
458
+ ```
459
+
460
+ This structure follows Claude Code's official standards for maximum compatibility.
461
+
462
+ ## 🔧 Environment Variables
463
+
464
+ ### Required for WordPress Features
465
+
466
+ ```bash
467
+ # WordPress Connection (Required)
468
+ WORDPRESS_URL=https://your-wordpress-site.com
469
+ WORDPRESS_USERNAME=your-admin-username
470
+ WORDPRESS_APP_PASSWORD=your-application-password
471
+ ```
472
+
473
+ ### Optional SSH Configuration
474
+
475
+ ```bash
476
+ # SSH Access (Optional - use existing SSH config if not specified)
477
+ SSH_HOST=your-server-ip-or-hostname
478
+ SSH_USERNAME=your-ssh-username
479
+ SSH_KEY_PATH=/path/to/private/key
480
+ SSH_PORT=22
481
+
482
+ # WordPress Server Configuration (Optional)
483
+ WORDPRESS_PATH=/var/www/html
484
+ ```
485
+
486
+ ### Optional Content Defaults
487
+
488
+ ```bash
489
+ # Content Writer Defaults (Optional)
490
+ DEFAULT_WORD_COUNT=800
491
+ DEFAULT_POST_STATUS=draft
492
+ DEFAULT_TONE=professional
493
+ DEFAULT_AUDIENCE=general
494
+ ```
495
+
496
+ ### Environment File Setup
497
+
498
+ 1. **Copy the example file**:
499
+ ```bash
500
+ cp .env.example .env
501
+ ```
502
+
503
+ 2. **Edit with your values**:
504
+ ```bash
505
+ nano .env # or your preferred editor
506
+ ```
507
+
508
+ 3. **Secure the file**:
509
+ ```bash
510
+ chmod 600 .env # Restrict access to owner only
511
+ ```
512
+
513
+ ## 💡 Examples
514
+
515
+ ### Content Creation Workflow
516
+
517
+ ```bash
518
+ # Create SEO-optimized blog post
519
+ /myai-content-writer "10 Essential WordPress Security Tips" --word_count 1200 --seo_keywords "wordpress security,website protection,wp security tips"
520
+
521
+ # Create technical documentation
522
+ /myai-content-writer "API Integration Guide" --tone technical --audience developers --word_count 1500
523
+
524
+ # Create and publish to WordPress
525
+ /myai-content-writer "Summer Marketing Strategies" --publish_to_wordpress true --tone professional
526
+ ```
527
+
528
+ ### WordPress Administration Workflow
529
+
530
+ ```bash
531
+ # Daily health check routine
532
+ /myai-wordpress-admin health-check --comprehensive
533
+
534
+ # Security audit workflow
535
+ /myai-wordpress-admin security-scan
536
+ /myai-wordpress-admin user-audit
537
+ /myai-wordpress-admin malware-check
538
+ /myai-wordpress-admin ssl-check
539
+
540
+ # Performance optimization workflow
541
+ /myai-wordpress-admin speed-test --detailed
542
+ /myai-wordpress-admin database-optimize
543
+ /myai-wordpress-admin cache-setup
544
+ /myai-wordpress-admin image-optimize
545
+
546
+ # Maintenance workflow
547
+ /myai-wordpress-admin update-check
548
+ /myai-wordpress-admin plugin-manage --update-all --check-security
549
+ /myai-wordpress-admin content-cleanup --remove-spam
550
+ /myai-wordpress-admin backup-verify
551
+ ```
552
+
553
+ ### Content Publishing Workflow
554
+
555
+ ```bash
556
+ # Create content locally
557
+ /myai-content-writer "Guide to Remote Team Management" --word_count 1000
558
+
559
+ # Review and edit the generated content
560
+ # (Content is saved as markdown file)
561
+
562
+ # Publish to WordPress
563
+ /myai-wordpress-publish "guide-to-remote-team-management.md" --status draft
564
+
565
+ # Or publish immediately
566
+ /myai-wordpress-publish "guide-to-remote-team-management.md" --status publish
567
+ ```
568
+
569
+ ## 🔍 Troubleshooting
570
+
571
+ ### Common Issues and Solutions
572
+
573
+ #### Commands Not Appearing in Claude Code
574
+
575
+ **Problem**: Custom slash commands don't appear in the `/` menu.
576
+
577
+ **Solutions**:
578
+ 1. Ensure files are in `.claude/commands/` (not `.myaidev/`)
579
+ 2. Verify YAML frontmatter is valid
580
+ 3. Restart Claude Code
581
+ 4. Check file permissions (`chmod 644 .claude/commands/*.md`)
582
+
583
+ #### WordPress Connection Issues
584
+
585
+ **Problem**: Cannot connect to WordPress site.
586
+
587
+ **Solutions**:
588
+ 1. **Verify credentials**:
589
+ ```bash
590
+ # Test WordPress REST API manually
591
+ curl -u "username:app-password" "https://your-site.com/wp-json/wp/v2/users/me"
592
+ ```
593
+
594
+ 2. **Check WordPress settings**:
595
+ - Ensure REST API is enabled
596
+ - Verify Application Password is created correctly
597
+ - Check if site has HTTPS enabled
598
+
599
+ 3. **Firewall/Security**:
600
+ - Whitelist your IP address
601
+ - Temporarily disable security plugins for testing
602
+ - Check hosting provider restrictions
603
+
604
+ #### SSH Connection Problems
605
+
606
+ **Problem**: SSH operations fail or timeout.
607
+
608
+ **Solutions**:
609
+ 1. **Test SSH manually**:
610
+ ```bash
611
+ ssh user@your-server
612
+ ```
613
+
614
+ 2. **Check SSH configuration**:
615
+ ```bash
616
+ # Verify SSH config
617
+ cat ~/.ssh/config
618
+
619
+ # Check key permissions
620
+ chmod 600 ~/.ssh/id_rsa
621
+ chmod 644 ~/.ssh/id_rsa.pub
622
+ ```
623
+
624
+ 3. **Server-side checks**:
625
+ - Verify SSH daemon is running
626
+ - Check firewall rules (port 22)
627
+ - Confirm user has necessary permissions
628
+
629
+ #### Agent Not Working as Expected
630
+
631
+ **Problem**: Agent behavior doesn't match expectations.
632
+
633
+ **Solutions**:
634
+ 1. **Check agent file**:
635
+ ```bash
636
+ # Verify agent file exists and has correct format
637
+ cat .claude/agents/content-writer.md
638
+ ```
639
+
640
+ 2. **Validate YAML frontmatter**:
641
+ - Ensure proper YAML syntax
642
+ - Verify all required fields are present
643
+ - Check tool permissions
644
+
645
+ 3. **Clear Claude Code cache**:
646
+ - Restart Claude Code
647
+ - Clear browser cache if using web interface
648
+
649
+ #### Performance Issues
650
+
651
+ **Problem**: Operations are slow or timeout.
652
+
653
+ **Solutions**:
654
+ 1. **Optimize WordPress database**:
655
+ ```bash
656
+ /myai-wordpress-admin database-optimize
657
+ ```
658
+
659
+ 2. **Check server resources**:
660
+ ```bash
661
+ /myai-wordpress-admin resource-monitor
662
+ ```
663
+
664
+ 3. **Review error logs**:
665
+ ```bash
666
+ /myai-wordpress-admin error-analysis
667
+ ```
668
+
669
+ ### Debug Mode
670
+
671
+ Enable debug mode for detailed error information:
672
+
673
+ ```bash
674
+ # Add to your .env file
675
+ DEBUG=true
676
+ VERBOSE_LOGGING=true
677
+ ```
678
+
679
+ ### Getting Help
680
+
681
+ 1. **Check the logs**: Look for error messages in Claude Code output
682
+ 2. **Test components individually**: Verify WordPress, SSH, and MCP connections separately
683
+ 3. **Consult documentation**: Review Claude Code official documentation
684
+ 4. **Community support**: Join Claude Code community forums
685
+ 5. **GitHub issues**: Report bugs and request features on the repository
686
+
687
+ ## 🤝 Contributing
688
+
689
+ We welcome contributions to improve MyAIDev Method!
690
+
691
+ ### How to Contribute
692
+
693
+ 1. **Fork the repository**
694
+ 2. **Create a feature branch**: `git checkout -b feature/new-agent`
695
+ 3. **Make your changes**
696
+ 4. **Test thoroughly**
697
+ 5. **Submit a pull request**
698
+
699
+ ### Contribution Ideas
700
+
701
+ - **New agents**: Create agents for different domains (code review, documentation, etc.)
702
+ - **Additional CLI support**: Add support for more AI CLI tools
703
+ - **Enhanced integrations**: Add support for other CMSs or platforms
704
+ - **Documentation improvements**: Help improve guides and examples
705
+ - **Bug fixes**: Fix issues and improve reliability
706
+
707
+ ### Development Setup
708
+
709
+ ```bash
710
+ # Clone the repository
711
+ git clone https://github.com/myaione/myaidev-method.git
712
+ cd myaidev-method
713
+
714
+ # Install dependencies
715
+ npm install
716
+
717
+ # Test locally without publishing
718
+ npm pack
719
+ cd /path/to/test-project
720
+ npm install /path/to/myaidev-method-0.0.1.tgz
721
+ npx myaidev-method init --claude
722
+
723
+ # Or link for development
724
+ npm link
725
+ cd /path/to/test-project
726
+ npm link myaidev-method
727
+ npx myaidev-method init --claude
728
+ ```
729
+
730
+ ## 📄 License
731
+
732
+ MIT License - see [LICENSE](LICENSE) file for details.
733
+
734
+ ## 🙏 Acknowledgments
735
+
736
+ - **Anthropic** for Claude Code and the standards we follow
737
+ - **WordPress** for the robust REST API
738
+ - **Community contributors** who help improve this package
739
+
740
+ ---
741
+
742
+ **Author**: Samuel Mukoti <samuelm@openmy.ai>
743
+
744
+ For questions, issues, or feature requests, please visit the [GitHub repository](https://github.com/myaione/myaidev-method).