myaidev-method 0.2.23 → 0.2.24-2

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.
Files changed (60) hide show
  1. package/.claude-plugin/plugin.json +251 -0
  2. package/PLUGIN_ARCHITECTURE.md +276 -0
  3. package/README.md +204 -0
  4. package/USER_GUIDE.md +436 -9
  5. package/bin/cli.js +370 -38
  6. package/dist/server/.tsbuildinfo +1 -1
  7. package/extension.json +174 -0
  8. package/hooks/hooks.json +221 -0
  9. package/marketplace.json +179 -0
  10. package/package.json +24 -7
  11. package/skills/content-verifier/SKILL.md +178 -0
  12. package/skills/content-writer/SKILL.md +151 -0
  13. package/skills/coolify-deployer/SKILL.md +207 -0
  14. package/skills/openstack-manager/SKILL.md +213 -0
  15. package/skills/security-auditor/SKILL.md +180 -0
  16. package/skills/security-tester/SKILL.md +171 -0
  17. package/skills/sparc-architect/SKILL.md +146 -0
  18. package/skills/sparc-coder/SKILL.md +136 -0
  19. package/skills/sparc-documenter/SKILL.md +195 -0
  20. package/skills/sparc-reviewer/SKILL.md +179 -0
  21. package/skills/sparc-tester/SKILL.md +156 -0
  22. package/skills/visual-generator/SKILL.md +147 -0
  23. package/skills/wordpress-publisher/SKILL.md +150 -0
  24. package/src/config/workflows.js +28 -44
  25. package/src/lib/ascii-banner.js +214 -0
  26. package/src/lib/config-manager.js +470 -0
  27. package/src/lib/content-coordinator.js +2562 -0
  28. package/src/lib/content-generator.js +427 -0
  29. package/src/lib/html-conversion-utils.js +843 -0
  30. package/src/lib/installation-detector.js +266 -0
  31. package/src/lib/seo-optimizer.js +515 -0
  32. package/src/lib/visual-config-utils.js +1 -1
  33. package/src/lib/visual-generation-utils.js +34 -14
  34. package/src/lib/wordpress-client.js +633 -0
  35. package/src/lib/workflow-installer.js +3 -3
  36. package/src/scripts/generate-visual-cli.js +39 -10
  37. package/src/scripts/html-conversion-cli.js +526 -0
  38. package/src/scripts/init/configure.js +436 -0
  39. package/src/scripts/init/install.js +460 -0
  40. package/src/scripts/ping.js +0 -1
  41. package/src/scripts/utils/file-utils.js +404 -0
  42. package/src/scripts/utils/logger.js +300 -0
  43. package/src/scripts/utils/write-content.js +293 -0
  44. package/src/templates/claude/agents/content-production-coordinator.md +689 -15
  45. package/src/templates/claude/agents/visual-content-generator.md +129 -4
  46. package/src/templates/claude/commands/myai-content-enrichment.md +227 -0
  47. package/src/templates/claude/commands/myai-content-writer.md +48 -37
  48. package/src/templates/claude/commands/myai-convert-html.md +186 -0
  49. package/src/templates/claude/commands/myai-coordinate-content.md +347 -11
  50. package/src/templates/diagrams/architecture.d2 +52 -0
  51. package/src/templates/diagrams/flowchart.d2 +42 -0
  52. package/src/templates/diagrams/sequence.d2 +47 -0
  53. package/src/templates/docs/content-creation-guide.md +164 -0
  54. package/src/templates/docs/deployment-guide.md +336 -0
  55. package/src/templates/docs/visual-generation-guide.md +248 -0
  56. package/src/templates/docs/wordpress-publishing-guide.md +208 -0
  57. package/src/templates/infographics/comparison-table.html +347 -0
  58. package/src/templates/infographics/data-chart.html +268 -0
  59. package/src/templates/infographics/process-flow.html +365 -0
  60. /package/src/scripts/{wordpress-health-check.js → wordpress/wordpress-health-check.js} +0 -0
@@ -10,12 +10,58 @@ You are a Content Production Coordinator specializing in orchestrating content v
10
10
 
11
11
  Coordinate the content production workflow for the provided directory: $ARGUMENTS
12
12
 
13
+ ## Content Queue File Format
14
+
15
+ Each markdown file in your content queue should follow this structure:
16
+
17
+ ```markdown
18
+ ---
19
+ title: "Your Article Title"
20
+ content_type: article
21
+ target_platform: wordpress
22
+ status: pending
23
+ priority: normal
24
+ references:
25
+ - "https://source1.com"
26
+ - "https://source2.com"
27
+ goals:
28
+ - "Primary goal for this content"
29
+ - "Secondary goal"
30
+ ---
31
+
32
+ ## Proprietary Content
33
+
34
+ [Your unique insights, original analysis, and value-add content here.
35
+ This is the section that gets verified for uniqueness.]
36
+
37
+ ## Supporting Content
38
+
39
+ [Additional context, examples, and supporting material]
40
+ ```
41
+
42
+ ### Required Fields
43
+ | Field | Description |
44
+ |-------|-------------|
45
+ | `title` | Article title (used for publishing) |
46
+ | **Proprietary Content section** | Your unique content to be verified |
47
+
48
+ ### Optional Fields
49
+ | Field | Values | Default |
50
+ |-------|--------|---------|
51
+ | `content_type` | article, tutorial, guide, listicle | article |
52
+ | `target_platform` | wordpress, payloadcms, static, docusaurus, mintlify, astro | wordpress |
53
+ | `status` | pending, verified, published, failed | pending |
54
+ | `priority` | high, normal, low | normal |
55
+ | `references` | Array of source URLs | [] |
56
+ | `goals` | Array of publishing goals | [] |
57
+
13
58
  ## Workflow
14
59
 
15
60
  ### 1. Initialize Work List
16
- - Read all files from the provided directory path in $ARGUMENTS
17
- - Parse each file for: Title, Proprietary Content, References, and Goals
18
- - Display a summary of found items to the user
61
+ - Read all markdown files from the provided directory path in $ARGUMENTS
62
+ - Parse YAML front matter and content sections
63
+ - Validate required fields (title, Proprietary Content section)
64
+ - Display a summary of found items with validation status
19
65
  - Ask for confirmation before proceeding with verification
20
66
 
21
67
  ### 2. Verify Content in Parallel
@@ -45,11 +91,167 @@ Coordinate the content production workflow for the provided directory: $ARGUMENT
45
91
 
46
92
  ## Parameters Supported
47
93
 
48
- - Directory path (required): Path to content queue directory
49
- - `--dry-run`: Only verify content, don't publish
50
- - `--force`: Skip confirmation prompts
51
- - `--verbose`: Show detailed progress for each item
52
- - `--output-dir`: Directory for report files (default: current directory)
94
+ ### Core Parameters
95
+ | Parameter | Description | Default |
96
+ |-----------|-------------|---------|
97
+ | Directory path (required) | Path to content queue directory | - |
98
+ | `--dry-run` | Only verify content, don't publish | false |
99
+ | `--force` | Skip confirmation prompts | false |
100
+ | `--verbose` | Show detailed progress for each item | false |
101
+ | `--output-dir` | Directory for report files | current directory |
102
+ | `--concurrency` | Max parallel operations (1-10) | 3 |
103
+ | `--fresh` | Ignore existing state, start fresh | false |
104
+ | `--resume` | Resume from last checkpoint (auto-detected) | true |
105
+ | `--retry-count` | Number of retry attempts per item | 2 |
106
+
107
+ ### Content Rules Integration
108
+ | Parameter | Description | Default |
109
+ |-----------|-------------|---------|
110
+ | `--content-rules` | Path to content-rules.md file | auto-detect |
111
+
112
+ The coordinator automatically searches for `content-rules.md` in these locations:
113
+ 1. Explicit path via `--content-rules`
114
+ 2. `./content-rules.md` (current directory)
115
+ 3. `./.claude/content-rules.md`
116
+ 4. `./docs/content-rules.md`
117
+
118
+ Content rules provide brand voice, writing style, and SEO guidelines that are passed to both the verifier and content writer for consistent output.
119
+
120
+ ### Multi-Platform Publishing
121
+ | Parameter | Description | Default |
122
+ |-----------|-------------|---------|
123
+ | `--platform` | Default publishing platform | wordpress |
124
+
125
+ **Supported Platforms:**
126
+ - `wordpress` - WordPress REST API (requires credentials)
127
+ - `payloadcms` - Payload CMS REST API
128
+ - `static` - Generate static markdown files
129
+ - `docusaurus` - Docusaurus documentation site
130
+ - `mintlify` - Mintlify documentation
131
+ - `astro` - Astro content collections
132
+
133
+ Each content item can override the default platform using the `target_platform` front matter field.
134
+
135
+ ### Webhook Notifications (CI/CD Integration)
136
+ | Parameter | Description | Default |
137
+ |-----------|-------------|---------|
138
+ | `--webhook-url` | URL to receive workflow notifications | none |
139
+ | `--webhook-events` | Comma-separated events to notify | complete,error |
140
+
141
+ **Available Events:**
142
+ - `start` - When workflow begins
143
+ - `complete` - When workflow finishes successfully
144
+ - `error` - When errors occur
145
+ - `published` - When each item is published
146
+
147
+ **Webhook Payload Example:**
148
+ ```json
149
+ {
150
+ "event": "complete",
151
+ "timestamp": "2026-01-20T10:30:00Z",
152
+ "workflow": "content-coordination",
153
+ "data": {
154
+ "totalItems": 10,
155
+ "published": 7,
156
+ "needsReview": 2,
157
+ "failed": 1,
158
+ "duration": "5m 23s"
159
+ }
160
+ }
161
+ ```
162
+
163
+ ### Analytics & Monitoring
164
+ | Parameter | Description | Default |
165
+ |-----------|-------------|---------|
166
+ | `--analytics` | Enable detailed analytics tracking | true |
167
+ | `--analytics-report` | Generate analytics report file | true |
168
+
169
+ When enabled, generates `analytics-YYYY-MM-DD-HH-MM-SS.md` with:
170
+ - Per-phase timing metrics
171
+ - Success/failure rates
172
+ - Average verification and publishing times
173
+ - Content quality score trends
174
+ - Error categorization
175
+
176
+ ### Queue Management
177
+ | Parameter | Description | Default |
178
+ |-----------|-------------|---------|
179
+ | `--queue` | Path to persistent queue file | .content-queue.json |
180
+ | `--add-to-queue` | Add items to queue without processing | false |
181
+ | `--clear-completed` | Remove completed items from queue | false |
182
+ | `--queue-stats` | Display queue statistics | false |
183
+
184
+ **Queue Commands:**
185
+ ```bash
186
+ # Add items to queue for later processing
187
+ /myai-coordinate-content ./new-content/ --add-to-queue
188
+
189
+ # View queue statistics
190
+ /myai-coordinate-content --queue-stats
191
+
192
+ # Clear completed items from queue
193
+ /myai-coordinate-content --clear-completed
194
+
195
+ # Process queued items
196
+ /myai-coordinate-content --queue .content-queue.json
197
+ ```
198
+
199
+ ### Scheduling (Cron & WordPress)
200
+
201
+ **Linux Crontab Integration:**
202
+ | Parameter | Description | Default |
203
+ |-----------|-------------|---------|
204
+ | `--cron` | Enable cron-safe mode (lock files, quiet output) | false |
205
+ | `--min-interval` | Minimum seconds between runs | 0 |
206
+ | `--generate-crontab` | Generate crontab entry and exit | false |
207
+
208
+ **WordPress Native Scheduling:**
209
+ | Parameter | Description | Default |
210
+ |-----------|-------------|---------|
211
+ | `--schedule-delay` | Hours to delay publication | 0 |
212
+ | `--spread-interval` | Hours between scheduled posts | 0 |
213
+ | `--schedule-date` | Specific publish date (ISO 8601) | immediate |
214
+
215
+ **Cron Setup:**
216
+ ```bash
217
+ # Generate crontab entry
218
+ /myai-coordinate-content --generate-crontab
219
+
220
+ # Run in cron-safe mode (for crontab)
221
+ /myai-coordinate-content ./content-queue/ --cron --force
222
+
223
+ # With minimum 6-hour interval between runs
224
+ /myai-coordinate-content ./content-queue/ --cron --min-interval 21600
225
+ ```
226
+
227
+ **WordPress Scheduling (schedule posts for future publication):**
228
+ ```bash
229
+ # Delay all posts by 24 hours
230
+ /myai-coordinate-content ./content-queue/ --schedule-delay 24
231
+
232
+ # Spread posts 6 hours apart
233
+ /myai-coordinate-content ./content-queue/ --spread-interval 6
234
+
235
+ # Combined: Start in 24 hours, then every 6 hours
236
+ /myai-coordinate-content ./content-queue/ --schedule-delay 24 --spread-interval 6
237
+ ```
238
+
239
+ **Content Front Matter Scheduling:**
240
+ ```yaml
241
+ ---
242
+ title: "My Article"
243
+ publish_date: "2026-02-15T09:00:00Z" # Schedule for specific date
244
+ # OR
245
+ scheduled_date: "2026-02-15T09:00:00Z"
246
+ ---
247
+ ```
248
+
249
+ ### Checkpoint/Resume
250
+
251
+ The coordinator automatically saves progress to `.content-coordinator-state.json`. If interrupted:
252
+ - Re-run the same command to resume from the last checkpoint
253
+ - Use `--fresh` to start over and ignore saved state
254
+ - Delete the state file manually to reset
53
255
 
54
256
  ## Output Format
55
257
 
@@ -110,20 +312,154 @@ Generated: YYYY-MM-DD HH:MM:SS
110
312
 
111
313
  ## Example Usage
112
314
 
315
+ ### Basic Operations
113
316
  ```bash
114
- # Basic usage
317
+ # Basic usage - process all content in queue
115
318
  /myai-coordinate-content ./content-queue/
116
319
 
117
- # Dry run to verify content only
320
+ # Dry run - verify content only, no publishing
118
321
  /myai-coordinate-content ./content-queue/ --dry-run
119
322
 
120
- # Force publishing without confirmations
323
+ # Force mode - skip all confirmations (useful for CI/CD)
121
324
  /myai-coordinate-content ./content-queue/ --force
122
325
 
123
326
  # Verbose output with custom report directory
124
327
  /myai-coordinate-content ./content-queue/ --verbose --output-dir ./reports/
328
+
329
+ # High concurrency for large batches
330
+ /myai-coordinate-content ./content-queue/ --concurrency 5
331
+
332
+ # Start fresh, ignoring any saved state
333
+ /myai-coordinate-content ./content-queue/ --fresh
334
+
335
+ # Resume an interrupted workflow (automatic)
336
+ /myai-coordinate-content ./content-queue/
337
+ ```
338
+
339
+ ### Multi-Platform Publishing
340
+ ```bash
341
+ # Publish to PayloadCMS instead of WordPress
342
+ /myai-coordinate-content ./content-queue/ --platform payloadcms
343
+
344
+ # Generate static markdown files
345
+ /myai-coordinate-content ./content-queue/ --platform static --output-dir ./published/
346
+
347
+ # Publish to Docusaurus documentation site
348
+ /myai-coordinate-content ./docs-queue/ --platform docusaurus
349
+ ```
350
+
351
+ ### Content Rules Integration
352
+ ```bash
353
+ # Use custom content rules file
354
+ /myai-coordinate-content ./content-queue/ --content-rules ./brand/content-rules.md
355
+
356
+ # Content rules are auto-detected from standard locations
357
+ /myai-coordinate-content ./content-queue/ # Finds ./content-rules.md automatically
358
+ ```
359
+
360
+ ### CI/CD Integration with Webhooks
361
+ ```bash
362
+ # Send notifications to CI/CD webhook
363
+ /myai-coordinate-content ./content-queue/ --webhook-url https://ci.example.com/webhook
364
+
365
+ # Notify on all events including each published item
366
+ /myai-coordinate-content ./content-queue/ --webhook-url https://ci.example.com/webhook --webhook-events start,complete,error,published
367
+
368
+ # Full CI/CD pipeline integration
369
+ /myai-coordinate-content ./content-queue/ --force --webhook-url $CI_WEBHOOK_URL --analytics
370
+ ```
371
+
372
+ ### Queue Management
373
+ ```bash
374
+ # Add new content to queue without processing
375
+ /myai-coordinate-content ./new-articles/ --add-to-queue
376
+
377
+ # View queue statistics
378
+ /myai-coordinate-content --queue-stats
379
+
380
+ # Process items from queue
381
+ /myai-coordinate-content --queue .content-queue.json
382
+
383
+ # Clear completed items from queue
384
+ /myai-coordinate-content --clear-completed
385
+ ```
386
+
387
+ ### Analytics & Monitoring
388
+ ```bash
389
+ # Enable detailed analytics (default)
390
+ /myai-coordinate-content ./content-queue/ --analytics
391
+
392
+ # Full production run with all options
393
+ /myai-coordinate-content ./content-queue/ \
394
+ --verbose \
395
+ --output-dir ./reports/ \
396
+ --concurrency 3 \
397
+ --content-rules ./brand/content-rules.md \
398
+ --webhook-url https://ci.example.com/webhook \
399
+ --analytics
125
400
  ```
126
401
 
402
+ ### Automated Scheduling
403
+
404
+ **Setup Linux Crontab:**
405
+ ```bash
406
+ # Generate crontab entry with instructions
407
+ /myai-coordinate-content --generate-crontab
408
+
409
+ # Example crontab entries (add to crontab -e):
410
+
411
+ # Every 6 hours
412
+ 0 */6 * * * cd /path/to/project && npx myaidev-method coordinate-content ./content-queue --cron --force >> /var/log/content-coordinator.log 2>&1
413
+
414
+ # Daily at 9 AM
415
+ 0 9 * * * cd /path/to/project && npx myaidev-method coordinate-content ./content-queue --cron --force >> /var/log/content-coordinator.log 2>&1
416
+
417
+ # Weekdays at 9 AM and 5 PM
418
+ 0 9,17 * * 1-5 cd /path/to/project && npx myaidev-method coordinate-content ./content-queue --cron --force >> /var/log/content-coordinator.log 2>&1
419
+ ```
420
+
421
+ **WordPress Post Scheduling:**
422
+ ```bash
423
+ # Schedule posts to publish over the next week (one per day)
424
+ /myai-coordinate-content ./content-queue/ --spread-interval 24
425
+
426
+ # Delay publishing by 48 hours, then spread every 12 hours
427
+ /myai-coordinate-content ./content-queue/ --schedule-delay 48 --spread-interval 12
428
+
429
+ # Set specific publish dates in content front matter:
430
+ # publish_date: "2026-02-20T09:00:00Z"
431
+ ```
432
+
433
+ **Combined Automation (Cron + WordPress Scheduling):**
434
+ ```bash
435
+ # Run via cron, but schedule posts for optimal times
436
+ /myai-coordinate-content ./content-queue/ \
437
+ --cron \
438
+ --force \
439
+ --schedule-delay 24 \
440
+ --spread-interval 6 \
441
+ --webhook-url https://ci.example.com/content-published
442
+ ```
443
+
444
+ ### Setting Up a Content Queue
445
+
446
+ 1. Create a directory for your content queue:
447
+ ```bash
448
+ mkdir -p ./content-queue
449
+ ```
450
+
451
+ 2. Add content files following the format above:
452
+ ```bash
453
+ # Example: ./content-queue/api-best-practices.md
454
+ ```
455
+
456
+ 3. Run the coordinator:
457
+ ```bash
458
+ /myai-coordinate-content ./content-queue/
459
+ ```
460
+
461
+ 4. Review the generated reports and confirm publishing
462
+
127
463
  ## User Communication
128
464
 
129
465
  - Always confirm before starting verification
@@ -0,0 +1,52 @@
1
+ # Architecture Diagram Template
2
+ # Variables: {{title}}, {{direction}}, {{components}}, {{connections}}
3
+ # Theme: 200 (Terminal theme) by default
4
+
5
+ # Layout direction
6
+ direction: {{direction || 'right'}}
7
+
8
+ # Title (optional)
9
+ {{#title}}
10
+ title: {{title}} {
11
+ near: top-center
12
+ shape: text
13
+ style: {
14
+ font-size: 24
15
+ bold: true
16
+ }
17
+ }
18
+ {{/title}}
19
+
20
+ # Component definitions
21
+ {{#components}}
22
+ {{id}}: {{label}} {
23
+ {{#shape}}shape: {{shape}}{{/shape}}
24
+ {{#icon}}icon: {{icon}}{{/icon}}
25
+ {{#style}}
26
+ style: {
27
+ {{#fill}}fill: "{{fill}}"{{/fill}}
28
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
29
+ {{#fontSize}}font-size: {{fontSize}}{{/fontSize}}
30
+ }
31
+ {{/style}}
32
+ {{#children}}
33
+ {{#children}}
34
+ {{id}}: {{label}} {
35
+ {{#shape}}shape: {{shape}}{{/shape}}
36
+ }
37
+ {{/children}}
38
+ {{/children}}
39
+ }
40
+ {{/components}}
41
+
42
+ # Connections
43
+ {{#connections}}
44
+ {{from}} -> {{to}}{{#label}}: {{label}}{{/label}} {
45
+ {{#style}}
46
+ style: {
47
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
48
+ {{#strokeDash}}stroke-dash: {{strokeDash}}{{/strokeDash}}
49
+ }
50
+ {{/style}}
51
+ }
52
+ {{/connections}}
@@ -0,0 +1,42 @@
1
+ # Flowchart Template
2
+ # Variables: {{title}}, {{direction}}, {{nodes}}, {{edges}}
3
+ # Shapes: rectangle, diamond (decision), oval, parallelogram, cylinder
4
+
5
+ direction: {{direction || 'down'}}
6
+
7
+ # Title
8
+ {{#title}}
9
+ title: {{title}} {
10
+ near: top-center
11
+ shape: text
12
+ style: {
13
+ font-size: 24
14
+ bold: true
15
+ }
16
+ }
17
+ {{/title}}
18
+
19
+ # Node definitions
20
+ {{#nodes}}
21
+ {{id}}: {{label}} {
22
+ shape: {{shape || 'rectangle'}}
23
+ {{#style}}
24
+ style: {
25
+ {{#fill}}fill: "{{fill}}"{{/fill}}
26
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
27
+ {{#fontColor}}font-color: "{{fontColor}}"{{/fontColor}}
28
+ }
29
+ {{/style}}
30
+ }
31
+ {{/nodes}}
32
+
33
+ # Edges/Connections
34
+ {{#edges}}
35
+ {{from}} -> {{to}}{{#label}}: {{label}}{{/label}} {
36
+ {{#style}}
37
+ style: {
38
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
39
+ }
40
+ {{/style}}
41
+ }
42
+ {{/edges}}
@@ -0,0 +1,47 @@
1
+ # Sequence Diagram Template
2
+ # Variables: {{title}}, {{actors}}, {{messages}}
3
+
4
+ shape: sequence_diagram
5
+
6
+ # Title
7
+ {{#title}}
8
+ title: {{title}} {
9
+ near: top-center
10
+ shape: text
11
+ style: {
12
+ font-size: 24
13
+ bold: true
14
+ }
15
+ }
16
+ {{/title}}
17
+
18
+ # Actor definitions
19
+ {{#actors}}
20
+ {{id}}: {{label}} {
21
+ {{#shape}}shape: {{shape}}{{/shape}}
22
+ {{#style}}
23
+ style: {
24
+ {{#fill}}fill: "{{fill}}"{{/fill}}
25
+ }
26
+ {{/style}}
27
+ }
28
+ {{/actors}}
29
+
30
+ # Messages/Interactions
31
+ {{#messages}}
32
+ {{from}} -> {{to}}: {{label}} {
33
+ {{#style}}
34
+ style: {
35
+ {{#stroke}}stroke: "{{stroke}}"{{/stroke}}
36
+ {{#strokeDash}}stroke-dash: {{strokeDash}}{{/strokeDash}}
37
+ }
38
+ {{/style}}
39
+ }
40
+ {{#response}}
41
+ {{to}} -> {{from}}: {{response}} {
42
+ style: {
43
+ stroke-dash: 3
44
+ }
45
+ }
46
+ {{/response}}
47
+ {{/messages}}
@@ -0,0 +1,164 @@
1
+ # Content Creation Guide
2
+
3
+ A comprehensive guide to creating SEO-optimized content with the MyAIDev Method.
4
+
5
+ ## Overview
6
+
7
+ The MyAIDev Method content creation workflow helps you produce high-quality, SEO-optimized content efficiently. This guide covers the entire process from topic selection to publication.
8
+
9
+ ## Getting Started
10
+
11
+ ### Prerequisites
12
+
13
+ - MyAIDev Method installed (`npx myaidev-method init --claude`)
14
+ - Content workflow enabled (`npx myaidev-method content --claude`)
15
+ - (Optional) WordPress credentials configured for publishing
16
+
17
+ ### Quick Start
18
+
19
+ 1. **Generate content specification:**
20
+ ```bash
21
+ /myai-content-writer "Your Topic Here" --type blog-post
22
+ ```
23
+
24
+ 2. **Review and edit the generated content**
25
+
26
+ 3. **Verify content quality:**
27
+ ```bash
28
+ /myai-coordinate-content ./content/
29
+ ```
30
+
31
+ 4. **Publish to WordPress:**
32
+ ```bash
33
+ /myai-wordpress-publish ./content/your-article.md
34
+ ```
35
+
36
+ ## Content Types
37
+
38
+ ### Blog Post
39
+ - Standard article format
40
+ - 1500+ words recommended
41
+ - Sections: Introduction, Main Content, Conclusion, Call-to-Action
42
+
43
+ ### Tutorial
44
+ - Step-by-step instructional content
45
+ - 2000+ words recommended
46
+ - Sections: Overview, Prerequisites, Steps, Troubleshooting, Conclusion
47
+
48
+ ### How-To Guide
49
+ - Problem-solving focused
50
+ - 1200+ words recommended
51
+ - Sections: Introduction, Requirements, Step-by-Step, Tips, Summary
52
+
53
+ ### Listicle
54
+ - List-based article
55
+ - 1800+ words recommended
56
+ - Sections: Introduction, List Items, Summary
57
+
58
+ ### Product Review
59
+ - Evaluation content
60
+ - 1500+ words recommended
61
+ - Sections: Overview, Features, Pros/Cons, Verdict, Alternatives
62
+
63
+ ### Comparison
64
+ - Side-by-side analysis
65
+ - 2500+ words recommended
66
+ - Sections: Introduction, Criteria, Comparison Table, Detailed Analysis, Recommendation
67
+
68
+ ## Writing Tones
69
+
70
+ | Tone | Description | Best For |
71
+ |------|-------------|----------|
72
+ | Professional | Formal vocabulary, no contractions | B2B, corporate content |
73
+ | Conversational | Accessible, uses contractions | B2C, lifestyle content |
74
+ | Technical | Specialized vocabulary | Developer docs, specs |
75
+ | Casual | Informal, friendly | Social media, blogs |
76
+ | Authoritative | Expert, confident | Thought leadership |
77
+
78
+ ## SEO Best Practices
79
+
80
+ ### Title Optimization
81
+ - Keep titles between 30-60 characters
82
+ - Include primary keyword near the beginning
83
+ - Use power words (Ultimate, Complete, Essential, Proven)
84
+
85
+ ### Meta Description
86
+ - 120-160 characters
87
+ - Include primary keyword
88
+ - Compelling call-to-action
89
+
90
+ ### Content Structure
91
+ - Use H2 and H3 headings strategically
92
+ - Include keywords in at least one heading
93
+ - Break up text with bullet points and numbered lists
94
+
95
+ ### Keyword Usage
96
+ - Target 0.5-2.5% keyword density
97
+ - Include primary keyword in first paragraph
98
+ - Use keyword variations naturally throughout
99
+
100
+ ## Content Verification
101
+
102
+ The content verification process checks:
103
+
104
+ 1. **Knowledge Redundancy** - Is the content unique?
105
+ 2. **AI Detection** - Does it read naturally?
106
+ 3. **Quality Assessment** - Structure, depth, accuracy
107
+
108
+ ### Redundancy Scores
109
+
110
+ | Score | Meaning | Action |
111
+ |-------|---------|--------|
112
+ | High | Very similar to existing content | Rewrite substantially |
113
+ | Medium | Some overlap with existing content | Add unique insights |
114
+ | Low | Mostly original | Minor tweaks |
115
+ | Minimal | Highly original | Ready to publish |
116
+
117
+ ## Workflow Integration
118
+
119
+ ### Standard Workflow
120
+
121
+ ```
122
+ 1. Topic Research → Content Specification
123
+ 2. Content Generation → Draft
124
+ 3. Content Verification → Quality Check
125
+ 4. Revision (if needed) → Final Draft
126
+ 5. Publishing → Live Content
127
+ ```
128
+
129
+ ### Batch Processing
130
+
131
+ For multiple articles:
132
+
133
+ ```bash
134
+ # Verify all content in directory
135
+ /myai-coordinate-content ./content-queue/ --dry-run
136
+
137
+ # Publish approved content
138
+ /myai-coordinate-content ./content-queue/ --force
139
+ ```
140
+
141
+ ## Troubleshooting
142
+
143
+ ### Common Issues
144
+
145
+ **Content too short:**
146
+ - Expand sections with more detail
147
+ - Add examples and case studies
148
+ - Include FAQs section
149
+
150
+ **Low SEO score:**
151
+ - Check keyword placement
152
+ - Add more headings
153
+ - Include internal/external links
154
+
155
+ **High redundancy:**
156
+ - Add unique perspective or data
157
+ - Include personal experiences
158
+ - Reference recent developments
159
+
160
+ ## Related Documentation
161
+
162
+ - [WordPress Publishing Guide](wordpress-publishing-guide.md)
163
+ - [Visual Generation Guide](visual-generation-guide.md)
164
+ - [Deployment Guide](deployment-guide.md)