myaidev-method 0.2.12 → 0.2.15
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/CLAUDE.md +46 -0
- package/.claude/agents/content-production-coordinator.md +111 -0
- package/.claude/agents/proprietary-content-verifier.md +96 -0
- package/.claude/agents/visual-content-generator.md +520 -0
- package/.claude/commands/myai-coordinate-content.md +136 -0
- package/.claude/settings.local.json +3 -2
- package/.env.example +33 -0
- package/CHANGELOG.md +64 -0
- package/CONTENT_CREATION_GUIDE.md +3399 -0
- package/DEVELOPER_USE_CASES.md +2085 -0
- package/README.md +209 -2
- package/VISUAL_GENERATION_FILE_ORGANIZATION.md +105 -0
- package/bin/cli.js +46 -0
- package/package.json +17 -2
- package/src/lib/asset-management.js +532 -0
- package/src/lib/visual-config-utils.js +424 -0
- package/src/lib/visual-generation-utils.js +668 -0
- package/src/scripts/configure-visual-apis.js +413 -0
- package/src/scripts/generate-visual-cli.js +279 -0
- package/src/templates/claude/agents/content-production-coordinator.md +111 -0
- package/src/templates/claude/agents/content-writer.md +209 -4
- package/src/templates/claude/agents/proprietary-content-verifier.md +96 -0
- package/src/templates/claude/agents/visual-content-generator.md +520 -0
- package/src/templates/claude/commands/myai-content-writer.md +33 -8
- package/src/templates/claude/commands/myai-coordinate-content.md +136 -0
- package/src/templates/claude/commands/myai-generate-visual.md +318 -0
- package/src/templates/codex/commands/myai-generate-visual.md +307 -0
- package/src/templates/gemini/commands/myai-generate-visual.md +200 -0
package/README.md
CHANGED
|
@@ -30,9 +30,11 @@ The **MyAIDev Method** is a complete development framework for AI CLI tools (Cla
|
|
|
30
30
|
- [Installation](#installation)
|
|
31
31
|
- [Quick Start](#quick-start)
|
|
32
32
|
- [Updating](#updating)
|
|
33
|
+
- [Developer Use Cases](#developer-use-cases)
|
|
33
34
|
- [SPARC Development Workflow](#sparc-development-workflow)
|
|
34
35
|
- [Development Agents](#development-agents)
|
|
35
36
|
- [Content & Publishing Agents](#content--publishing-agents)
|
|
37
|
+
- [Visual Content Generation](#visual-content-generation)
|
|
36
38
|
- [Slash Commands](#slash-commands)
|
|
37
39
|
- [MCP Server Integration](#mcp-server-integration)
|
|
38
40
|
- [Configuration](#configuration)
|
|
@@ -61,11 +63,21 @@ The **MyAIDev Method** is a complete development framework for AI CLI tools (Cla
|
|
|
61
63
|
- **File-Based Workflow**: Sequential agent coordination with `.myaidev-method/sparc/` outputs
|
|
62
64
|
|
|
63
65
|
### 📝 Content & Publishing
|
|
64
|
-
- **Content Writer Agent**: Professional SEO-optimized content creation
|
|
66
|
+
- **Content Writer Agent**: Professional SEO-optimized content creation with optional AI-generated visuals
|
|
65
67
|
- **Multi-Platform Publishing**: WordPress, PayloadCMS, Docusaurus, Mintlify, Astro
|
|
66
68
|
- **Git-Based Workflows**: Automated publishing for static site generators
|
|
67
69
|
- **WordPress Admin Agent**: Security, performance, health monitoring, and administration
|
|
68
70
|
|
|
71
|
+
### 🎨 Visual Content Generation (New in v0.2.14!)
|
|
72
|
+
- **AI-Powered Image Generation**: Google Gemini 2.5 Flash, Imagen 3, OpenAI DALL-E 3
|
|
73
|
+
- **AI-Powered Video Generation**: Google Veo 2 (up to 8 seconds, 720p)
|
|
74
|
+
- **Multi-Platform Support**: Works with Claude Code, Gemini CLI, and Codex CLI
|
|
75
|
+
- **Budget Management**: Daily/monthly limits, cost tracking, and warnings
|
|
76
|
+
- **Smart Service Selection**: Automatic service selection based on content type
|
|
77
|
+
- **Content Integration**: Generate images during content creation with `--with-images` flag
|
|
78
|
+
- **Cost-Effective**: Starting at $0.02/image (Gemini Flash)
|
|
79
|
+
- **Organized Storage**: Automatic file organization by date in `content-assets/`
|
|
80
|
+
|
|
69
81
|
### 🚀 Deployment & Infrastructure
|
|
70
82
|
- **Coolify Integration**: Self-hosted PaaS deployment and orchestration
|
|
71
83
|
- **RamNode Optimized**: Deployment patterns optimized for RamNode.com infrastructure
|
|
@@ -159,6 +171,59 @@ The update command:
|
|
|
159
171
|
|
|
160
172
|
See [USER_GUIDE.md - Updating Section](USER_GUIDE.md#-updating-myaidev-method) for detailed update instructions and best practices.
|
|
161
173
|
|
|
174
|
+
## 💡 Developer Use Cases
|
|
175
|
+
|
|
176
|
+
**New!** See real-world scenarios demonstrating how MyAIDev Method supercharges development workflows:
|
|
177
|
+
|
|
178
|
+
📖 **[DEVELOPER_USE_CASES.md](DEVELOPER_USE_CASES.md)** - Comprehensive guide featuring:
|
|
179
|
+
|
|
180
|
+
- **Full-Stack SaaS Development**: Build production-ready apps in days instead of weeks
|
|
181
|
+
- **Microservices Refactoring**: Zero-downtime migrations with systematic strategies
|
|
182
|
+
- **Technical Content Pipeline**: 4x content output with multi-platform publishing
|
|
183
|
+
- **Database Migrations**: Safe migrations with rollback capabilities
|
|
184
|
+
- **Team Collaboration**: Automated code reviews and knowledge bases
|
|
185
|
+
- **ROI Analysis**: Real productivity metrics and time savings
|
|
186
|
+
|
|
187
|
+
**Examples with Time Savings**:
|
|
188
|
+
- Full-stack feature: 120 hours → 24 hours (80% faster)
|
|
189
|
+
- Technical blog post: 12 hours → 2-3 hours (75% faster)
|
|
190
|
+
- Code review: 45 minutes → 10 minutes (78% faster)
|
|
191
|
+
- Developer onboarding: 2 weeks → 2 days (90% faster)
|
|
192
|
+
|
|
193
|
+
Each use case includes:
|
|
194
|
+
- Traditional vs MyAIDev approach comparison
|
|
195
|
+
- Complete code examples and commands
|
|
196
|
+
- Quantified time savings and quality improvements
|
|
197
|
+
- Integration patterns and best practices
|
|
198
|
+
|
|
199
|
+
## 📝 Content Creation for Marketers
|
|
200
|
+
|
|
201
|
+
**New!** Discover how marketers and content creators can leverage MyAIDev Method for efficient, high-quality content production:
|
|
202
|
+
|
|
203
|
+
📖 **[CONTENT_CREATION_GUIDE.md](CONTENT_CREATION_GUIDE.md)** - Complete marketing workflow guide featuring:
|
|
204
|
+
|
|
205
|
+
- **4-Phase Content Pipeline**: Ideation → Generation → Publishing → Optimization
|
|
206
|
+
- **AI Content Generation**: Professional blog posts, tutorials, case studies, and technical content
|
|
207
|
+
- **Multi-Platform Publishing**: WordPress, PayloadCMS, LinkedIn, email newsletters in one workflow
|
|
208
|
+
- **Hub-and-Spoke Distribution**: Single content piece adapted for multiple channels
|
|
209
|
+
- **SEO Optimization**: Keyword research, LSI integration, meta descriptions
|
|
210
|
+
- **Where AI Excels vs Human Input**: Clear guidance on AI capabilities and limitations
|
|
211
|
+
- **8 Common Pitfalls**: Detailed explanations and solutions to avoid content marketing mistakes
|
|
212
|
+
|
|
213
|
+
**Examples with Time Savings**:
|
|
214
|
+
- Blog post (2,500 words): 12 hours → 2-3 hours (75% faster)
|
|
215
|
+
- Technical tutorial series: 40 hours → 8 hours (80% faster)
|
|
216
|
+
- Multi-platform distribution: 6 hours → 30 minutes (92% faster)
|
|
217
|
+
- SEO research and optimization: 4 hours → 45 minutes (81% faster)
|
|
218
|
+
|
|
219
|
+
**Content Templates Included**:
|
|
220
|
+
- Long-form educational blog posts
|
|
221
|
+
- Technical tutorials with code examples
|
|
222
|
+
- Product announcements and release notes
|
|
223
|
+
- Case studies with metrics and results
|
|
224
|
+
- LinkedIn thought leadership articles
|
|
225
|
+
- Email newsletters
|
|
226
|
+
|
|
162
227
|
## 🏗️ SPARC Development Workflow
|
|
163
228
|
|
|
164
229
|
The **MyAIDev Method** implements the **SPARC methodology** - a systematic 5-phase approach to software development inspired by [GitHub Spec-Kit](https://github.com/github/spec-kit) patterns for agentic software development.
|
|
@@ -505,18 +570,129 @@ Self-hosted PaaS deployment for applications.
|
|
|
505
570
|
- Resource management
|
|
506
571
|
- Multi-environment support
|
|
507
572
|
|
|
573
|
+
## 🎨 Visual Content Generation
|
|
574
|
+
|
|
575
|
+
**New in v0.2.14!** Generate AI-powered images and videos for your content using Google AI (Gemini, Imagen, Veo) and OpenAI (DALL-E) services.
|
|
576
|
+
|
|
577
|
+
### Features
|
|
578
|
+
|
|
579
|
+
- **Image Generation**: Google Gemini 2.5 Flash ($0.02), Imagen 3 ($0.03), DALL-E 3 ($0.04-0.12)
|
|
580
|
+
- **Video Generation**: Google Veo 2 ($0.10 for up to 8 seconds, 720p)
|
|
581
|
+
- **Multi-Platform**: Works with Claude Code, Gemini CLI, and Codex CLI
|
|
582
|
+
- **Budget Management**: Daily/monthly limits, cost tracking, and warnings
|
|
583
|
+
- **Smart Organization**: Automatic file storage by date in `content-assets/`
|
|
584
|
+
- **Content Integration**: Generate images during content creation with `--with-images` flag
|
|
585
|
+
|
|
586
|
+
### Setup
|
|
587
|
+
|
|
588
|
+
1. **Configure Visual APIs** (one-time setup):
|
|
589
|
+
```bash
|
|
590
|
+
# Claude Code
|
|
591
|
+
/myai-configure visual
|
|
592
|
+
|
|
593
|
+
# Gemini CLI / Codex CLI
|
|
594
|
+
npm run configure:visual
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
2. **Follow the interactive wizard** to set up:
|
|
598
|
+
- Google AI API key (for Gemini, Imagen, Veo)
|
|
599
|
+
- OpenAI API key (for DALL-E)
|
|
600
|
+
- Default service preference
|
|
601
|
+
- Daily and monthly budget limits
|
|
602
|
+
|
|
603
|
+
### Usage
|
|
604
|
+
|
|
605
|
+
#### Claude Code
|
|
606
|
+
```bash
|
|
607
|
+
# Generate a hero image
|
|
608
|
+
/myai-generate-visual "Modern developer workspace with dual monitors"
|
|
609
|
+
|
|
610
|
+
# Generate with specific service
|
|
611
|
+
/myai-generate-visual "AI concept illustration" --service dalle --type illustration
|
|
612
|
+
|
|
613
|
+
# Generate diagram
|
|
614
|
+
/myai-generate-visual "Microservices architecture" --type diagram --service gemini
|
|
615
|
+
|
|
616
|
+
# Create content with images
|
|
617
|
+
/myai-content-writer "Best Practices for Remote Work" --with-images
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
#### Gemini CLI / Codex CLI
|
|
621
|
+
```bash
|
|
622
|
+
# Generate a hero image
|
|
623
|
+
npm run generate-visual "Modern developer workspace"
|
|
624
|
+
|
|
625
|
+
# Generate with options
|
|
626
|
+
npm run generate-visual "System architecture" -- --type=diagram --service=gemini
|
|
627
|
+
|
|
628
|
+
# Configure visual APIs
|
|
629
|
+
npm run configure:visual
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
### Service Comparison
|
|
633
|
+
|
|
634
|
+
| Service | Speed | Cost | Quality | Best For |
|
|
635
|
+
|---------|-------|------|---------|----------|
|
|
636
|
+
| **Gemini 2.5 Flash** | ⚡⚡⚡ | $0.02 | Good | Quick hero images, diagrams, high volume |
|
|
637
|
+
| **Imagen 3** | ⚡⚡ | $0.03 | Excellent | Premium hero images, high-quality visuals |
|
|
638
|
+
| **DALL-E 3** | ⚡⚡ | $0.04-0.12 | Excellent | Creative illustrations, detailed designs |
|
|
639
|
+
| **Veo 2** | ⚡ | $0.10 | Good | Product demos, short videos |
|
|
640
|
+
|
|
641
|
+
### Image Types
|
|
642
|
+
|
|
643
|
+
- `hero` - Article header images (recommended: 1792x1024)
|
|
644
|
+
- `illustration` - Abstract concepts and metaphors
|
|
645
|
+
- `diagram` - Technical workflows and architecture
|
|
646
|
+
- `screenshot` - UI mockups and interface designs
|
|
647
|
+
- `video` - Product demos and tutorials (Veo 2 only)
|
|
648
|
+
|
|
649
|
+
### Budget Management
|
|
650
|
+
|
|
651
|
+
The system automatically tracks costs and enforces budget limits:
|
|
652
|
+
- **Daily Budget**: Configurable limit (default: $5.00)
|
|
653
|
+
- **Monthly Budget**: Configurable limit (default: $50.00)
|
|
654
|
+
- **Warning Threshold**: Alert at 80% usage
|
|
655
|
+
- **Usage Tracking**: Stored in `.visual-usage-stats.json`
|
|
656
|
+
|
|
657
|
+
### File Organization
|
|
658
|
+
|
|
659
|
+
Generated files are automatically organized by date:
|
|
660
|
+
```
|
|
661
|
+
content-assets/
|
|
662
|
+
├── images/
|
|
663
|
+
│ └── 2025-11-19/
|
|
664
|
+
│ ├── hero-workspace-123456.png
|
|
665
|
+
│ └── diagram-architecture-234567.png
|
|
666
|
+
└── videos/
|
|
667
|
+
└── 2025-11-19/
|
|
668
|
+
└── video-demo-345678.mp4
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
### Documentation
|
|
672
|
+
|
|
673
|
+
For comprehensive documentation, see:
|
|
674
|
+
- **VISUAL_CONTENT_GENERATION_GUIDE.md** - Complete user guide
|
|
675
|
+
- **VISUAL_GENERATION_FILE_ORGANIZATION.md** - File structure details
|
|
676
|
+
- **CONTENT_CREATION_GUIDE.md** - Content workflow integration
|
|
677
|
+
|
|
508
678
|
## 🎯 Slash Commands
|
|
509
679
|
|
|
510
680
|
### `/myai-content-writer`
|
|
511
|
-
Create professional, SEO-optimized content.
|
|
681
|
+
Create professional, SEO-optimized content with optional AI-generated visuals.
|
|
512
682
|
|
|
513
683
|
```bash
|
|
514
684
|
# Basic usage
|
|
515
685
|
/myai-content-writer "Best Practices for Remote Work"
|
|
516
686
|
|
|
687
|
+
# With AI-generated images (new!)
|
|
688
|
+
/myai-content-writer "Best Practices for Remote Work" --with-images
|
|
689
|
+
|
|
517
690
|
# With parameters
|
|
518
691
|
/myai-content-writer "AI in Healthcare" --word_count 1500 --tone technical --audience "healthcare professionals"
|
|
519
692
|
|
|
693
|
+
# With images and specific service
|
|
694
|
+
/myai-content-writer "Microservices Guide" --with-images --service gemini
|
|
695
|
+
|
|
520
696
|
# With WordPress publishing
|
|
521
697
|
/myai-content-writer "Summer Garden Tips" --publish_to_wordpress true
|
|
522
698
|
```
|
|
@@ -528,6 +704,37 @@ Create professional, SEO-optimized content.
|
|
|
528
704
|
- `audience`: Target reader demographic
|
|
529
705
|
- `seo_keywords`: Array of keywords for optimization
|
|
530
706
|
- `publish_to_wordpress`: Auto-publish as draft (true/false)
|
|
707
|
+
- `--with-images`: Generate AI-powered images (new!)
|
|
708
|
+
- `--service`: Preferred image service (gemini, imagen, dalle)
|
|
709
|
+
|
|
710
|
+
### `/myai-generate-visual`
|
|
711
|
+
Generate AI-powered images and videos for content.
|
|
712
|
+
|
|
713
|
+
```bash
|
|
714
|
+
# Generate a hero image (auto-selects best service)
|
|
715
|
+
/myai-generate-visual "Modern developer workspace with dual monitors"
|
|
716
|
+
|
|
717
|
+
# Generate with specific service
|
|
718
|
+
/myai-generate-visual "AI concept illustration" --service dalle --type illustration
|
|
719
|
+
|
|
720
|
+
# Generate diagram
|
|
721
|
+
/myai-generate-visual "Microservices architecture" --type diagram --service gemini
|
|
722
|
+
|
|
723
|
+
# Generate HD image
|
|
724
|
+
/myai-generate-visual "Product mockup" --quality hd --size 1792x1024
|
|
725
|
+
|
|
726
|
+
# Generate video (Veo 2)
|
|
727
|
+
/myai-generate-visual "Product demo walkthrough" --type video --service veo
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
**Parameters:**
|
|
731
|
+
- `prompt` (required): Description of the image/video to generate
|
|
732
|
+
- `--type`: Image type (hero, illustration, diagram, screenshot, video)
|
|
733
|
+
- `--service`: Preferred service (gemini, imagen, dalle, veo)
|
|
734
|
+
- `--quality`: Quality level (standard, hd)
|
|
735
|
+
- `--size`: Image dimensions (1024x1024, 1792x1024, 1024x1792)
|
|
736
|
+
|
|
737
|
+
**Prerequisites:** Run `/myai-configure visual` first to set up API keys and budgets.
|
|
531
738
|
|
|
532
739
|
### `/myai-wordpress-admin`
|
|
533
740
|
Comprehensive WordPress site administration.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Visual Generation Feature - File Organization
|
|
2
|
+
|
|
3
|
+
## Directory Structure Explanation
|
|
4
|
+
|
|
5
|
+
### Source Templates (Distribution Files)
|
|
6
|
+
These are the **source files** that get distributed via npm and installed when users run `npx myaidev-method init`:
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
src/templates/
|
|
10
|
+
├── claude/
|
|
11
|
+
│ ├── agents/ ← Agent templates for Claude Code
|
|
12
|
+
│ │ ├── content-writer.md
|
|
13
|
+
│ │ ├── visual-content-generator.md ✅ ADDED
|
|
14
|
+
│ │ └── ...
|
|
15
|
+
│ └── commands/ ← Command templates for Claude Code
|
|
16
|
+
│ ├── myai-content-writer.md
|
|
17
|
+
│ ├── myai-generate-visual.md 📝 TO ADD
|
|
18
|
+
│ └── ...
|
|
19
|
+
├── gemini/
|
|
20
|
+
│ └── commands/ ← Command templates for Gemini CLI
|
|
21
|
+
│ └── myai-generate-visual.md 📝 TO ADD
|
|
22
|
+
└── codex/
|
|
23
|
+
└── commands/ ← Command templates for Codex CLI
|
|
24
|
+
└── myai-generate-visual.md 📝 TO ADD
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Runtime/Development (.claude folder)
|
|
28
|
+
This is the **runtime directory** for the current project only (not distributed):
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
.claude/
|
|
32
|
+
├── agents/ ← Installed agents (copied from templates)
|
|
33
|
+
│ ├── content-writer.md
|
|
34
|
+
│ ├── visual-content-generator.md ✅ EXISTS (local dev)
|
|
35
|
+
│ └── ...
|
|
36
|
+
└── commands/ ← Installed commands (copied from templates)
|
|
37
|
+
└── ...
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## How Installation Works
|
|
41
|
+
|
|
42
|
+
When users run `npx myaidev-method init --claude`:
|
|
43
|
+
|
|
44
|
+
1. Script reads from: `src/templates/claude/agents/`
|
|
45
|
+
2. Copies files to: `PROJECT_DIR/.claude/agents/`
|
|
46
|
+
3. Result: User gets all agents in their project
|
|
47
|
+
|
|
48
|
+
**Key Point:** Files in `.claude/` are local development only. To distribute to users, files must be in `src/templates/`
|
|
49
|
+
|
|
50
|
+
## Files Created So Far
|
|
51
|
+
|
|
52
|
+
### ✅ Completed (Correct Location)
|
|
53
|
+
|
|
54
|
+
**JavaScript Utilities** (in `src/lib/` - distributed via package.json):
|
|
55
|
+
- `src/lib/visual-generation-utils.js` ✅
|
|
56
|
+
- `src/lib/asset-management.js` ✅
|
|
57
|
+
- `src/lib/visual-config-utils.js` ✅
|
|
58
|
+
|
|
59
|
+
**Agents** (in templates):
|
|
60
|
+
- `src/templates/claude/agents/visual-content-generator.md` ✅
|
|
61
|
+
|
|
62
|
+
### 📝 Still Need to Create
|
|
63
|
+
|
|
64
|
+
**Commands** (need to create in templates for all 3 platforms):
|
|
65
|
+
- `src/templates/claude/commands/myai-generate-visual.md`
|
|
66
|
+
- `src/templates/gemini/commands/myai-generate-visual.md`
|
|
67
|
+
- `src/templates/codex/commands/myai-generate-visual.md`
|
|
68
|
+
|
|
69
|
+
**Configuration Script**:
|
|
70
|
+
- `src/scripts/configure-visual-apis.js`
|
|
71
|
+
|
|
72
|
+
**Updates Needed**:
|
|
73
|
+
- `src/templates/claude/agents/content-writer.md` (add --with-images support)
|
|
74
|
+
- `src/templates/claude/commands/myai-content-writer.md` (document new flag)
|
|
75
|
+
- `src/templates/claude/commands/myai-configure.md` (add visual option)
|
|
76
|
+
- Similar updates for gemini and codex templates
|
|
77
|
+
|
|
78
|
+
**Package Files**:
|
|
79
|
+
- `.env.example`
|
|
80
|
+
- `.gitignore`
|
|
81
|
+
- `package.json`
|
|
82
|
+
|
|
83
|
+
**Documentation**:
|
|
84
|
+
- `VISUAL_CONTENT_GENERATION_GUIDE.md`
|
|
85
|
+
- Update `CONTENT_CREATION_GUIDE.md`
|
|
86
|
+
- Update `README.md`
|
|
87
|
+
|
|
88
|
+
## Action Plan
|
|
89
|
+
|
|
90
|
+
1. ✅ Core utilities in `src/lib/` (DONE)
|
|
91
|
+
2. ✅ Agent template in `src/templates/claude/agents/` (DONE)
|
|
92
|
+
3. Create command templates for all 3 platforms
|
|
93
|
+
4. Create configuration script
|
|
94
|
+
5. Update existing templates
|
|
95
|
+
6. Update documentation
|
|
96
|
+
7. Update package.json
|
|
97
|
+
|
|
98
|
+
## Platform Support
|
|
99
|
+
|
|
100
|
+
We support 3 CLI platforms:
|
|
101
|
+
- **Claude Code**: Full support with .claude/ structure
|
|
102
|
+
- **Gemini CLI**: Commands only (no agents yet per their structure)
|
|
103
|
+
- **Codex CLI**: Commands only (no agents yet per their structure)
|
|
104
|
+
|
|
105
|
+
For Gemini and Codex, we focus on commands that can call the JavaScript utilities directly.
|
package/bin/cli.js
CHANGED
|
@@ -208,6 +208,7 @@ This project uses the MyAIDev Method package for enhanced AI-assisted developmen
|
|
|
208
208
|
|
|
209
209
|
### Content Creation
|
|
210
210
|
- \`/myai-content-writer\` - Create SEO-optimized content
|
|
211
|
+
- \`/myai-coordinate-content\` - Coordinate content production workflow (verify and publish)
|
|
211
212
|
|
|
212
213
|
### Publishing Platforms
|
|
213
214
|
- \`/myai-wordpress-publish\` - Publish to WordPress
|
|
@@ -234,6 +235,8 @@ This project uses the MyAIDev Method package for enhanced AI-assisted developmen
|
|
|
234
235
|
|
|
235
236
|
### Content & Publishing Agents
|
|
236
237
|
- \`content-writer\` - Professional content creation agent
|
|
238
|
+
- \`content-production-coordinator\` - Orchestrate content verification and publishing workflow
|
|
239
|
+
- \`proprietary-content-verifier\` - Verify content uniqueness and quality
|
|
237
240
|
- \`wordpress-admin\` - WordPress administration and security agent
|
|
238
241
|
- \`payloadcms-publish\` - PayloadCMS publishing agent
|
|
239
242
|
- \`docusaurus-publish\` - Docusaurus publishing agent
|
|
@@ -243,6 +246,49 @@ This project uses the MyAIDev Method package for enhanced AI-assisted developmen
|
|
|
243
246
|
### Deployment Agents
|
|
244
247
|
- \`coolify-deploy\` - Coolify deployment agent
|
|
245
248
|
|
|
249
|
+
## Content Production Workflow
|
|
250
|
+
|
|
251
|
+
The MyAIDev Method includes a comprehensive content production workflow:
|
|
252
|
+
|
|
253
|
+
### Coordinated Publishing
|
|
254
|
+
|
|
255
|
+
Use the content production coordinator to verify and publish multiple pieces of content:
|
|
256
|
+
|
|
257
|
+
\`\`\`bash
|
|
258
|
+
/myai-coordinate-content ./content-queue/
|
|
259
|
+
\`\`\`
|
|
260
|
+
|
|
261
|
+
**Workflow:**
|
|
262
|
+
1. **Verification**: Automatically checks content for uniqueness and quality
|
|
263
|
+
2. **Categorization**: Separates content into "Ready for Publishing" and "Needs Review"
|
|
264
|
+
3. **Reports**: Generates timestamped reports with detailed analysis
|
|
265
|
+
4. **Publishing**: Publishes approved content in parallel for efficiency
|
|
266
|
+
5. **Tracking**: Reports all published URLs back to you
|
|
267
|
+
|
|
268
|
+
**Options:**
|
|
269
|
+
- \`--dry-run\` - Only verify content, don't publish
|
|
270
|
+
- \`--force\` - Skip confirmation prompts
|
|
271
|
+
- \`--verbose\` - Show detailed progress
|
|
272
|
+
- \`--output-dir\` - Specify report directory
|
|
273
|
+
|
|
274
|
+
### Content Verification
|
|
275
|
+
|
|
276
|
+
The proprietary-content-verifier agent evaluates:
|
|
277
|
+
- **Knowledge Redundancy**: Whether content is unique or duplicates existing knowledge
|
|
278
|
+
- **AI Detection**: Identifies characteristics of AI-generated content
|
|
279
|
+
- **Quality Assessment**: Provides recommendations for improvement
|
|
280
|
+
|
|
281
|
+
Content is scored as: **High | Medium | Low | Minimal** redundancy
|
|
282
|
+
|
|
283
|
+
### Agent Architecture
|
|
284
|
+
|
|
285
|
+
The content production system uses a coordinator pattern:
|
|
286
|
+
- \`content-production-coordinator\` orchestrates the workflow
|
|
287
|
+
- \`proprietary-content-verifier\` validates content quality
|
|
288
|
+
- \`content-writer\` creates and publishes approved content
|
|
289
|
+
|
|
290
|
+
All agents work in parallel for maximum efficiency.
|
|
291
|
+
|
|
246
292
|
## Platform Configuration
|
|
247
293
|
|
|
248
294
|
To use publishing features, configure your platforms in \`.env\`:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myaidev-method",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Comprehensive development framework with SPARC methodology for AI-assisted software development, multi-platform publishing (WordPress, PayloadCMS, Astro, Docusaurus, Mintlify), and Coolify deployment",
|
|
3
|
+
"version": "0.2.15",
|
|
4
|
+
"description": "Comprehensive development framework with SPARC methodology for AI-assisted software development, AI visual content generation (Gemini, Imagen, DALL-E, Veo), 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
7
|
"bin": {
|
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
"mintlify:publish": "node src/scripts/mintlify-publish.js",
|
|
49
49
|
"astro:publish": "node src/scripts/astro-publish.js",
|
|
50
50
|
"configure": "node src/scripts/configure-cms.js",
|
|
51
|
+
"configure:visual": "node src/scripts/configure-visual-apis.js",
|
|
52
|
+
"generate:visual": "node src/scripts/generate-visual-cli.js",
|
|
51
53
|
"init": "node src/scripts/init-project.js"
|
|
52
54
|
},
|
|
53
55
|
"keywords": [
|
|
@@ -78,6 +80,14 @@
|
|
|
78
80
|
"documentation",
|
|
79
81
|
"ai-agents",
|
|
80
82
|
"automation",
|
|
83
|
+
"image-generation",
|
|
84
|
+
"ai-images",
|
|
85
|
+
"video-generation",
|
|
86
|
+
"gemini",
|
|
87
|
+
"imagen",
|
|
88
|
+
"dall-e",
|
|
89
|
+
"veo",
|
|
90
|
+
"visual-content",
|
|
81
91
|
"deployment",
|
|
82
92
|
"devops",
|
|
83
93
|
"cli-tool",
|
|
@@ -100,6 +110,7 @@
|
|
|
100
110
|
"dotenv": "^16.4.1",
|
|
101
111
|
"effect": "^3.18.4",
|
|
102
112
|
"fs-extra": "^11.2.0",
|
|
113
|
+
"google-auth-library": "^10.5.0",
|
|
103
114
|
"gray-matter": "^4.0.3",
|
|
104
115
|
"hono": "^4.10.3",
|
|
105
116
|
"inquirer": "^9.2.15",
|
|
@@ -133,6 +144,10 @@
|
|
|
133
144
|
"dist/",
|
|
134
145
|
"README.md",
|
|
135
146
|
"USER_GUIDE.md",
|
|
147
|
+
"DEVELOPER_USE_CASES.md",
|
|
148
|
+
"CONTENT_CREATION_GUIDE.md",
|
|
149
|
+
"VISUAL_CONTENT_GENERATION_GUIDE.md",
|
|
150
|
+
"VISUAL_GENERATION_FILE_ORGANIZATION.md",
|
|
136
151
|
"LICENSE",
|
|
137
152
|
".env.example",
|
|
138
153
|
"DEV_WORKFLOW_GUIDE.md",
|