myaidev-method 0.3.4 → 0.3.6
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-plugin/plugin.json +0 -1
- package/.env.example +5 -4
- package/CHANGELOG.md +2 -2
- package/CONTENT_CREATION_GUIDE.md +489 -3211
- package/DEVELOPER_USE_CASES.md +1 -1
- package/MODULAR_INSTALLATION.md +2 -2
- package/README.md +39 -33
- package/TECHNICAL_ARCHITECTURE.md +1 -1
- package/USER_GUIDE.md +242 -190
- package/agents/content-editor-agent.md +90 -0
- package/agents/content-planner-agent.md +97 -0
- package/agents/content-research-agent.md +62 -0
- package/agents/content-seo-agent.md +101 -0
- package/agents/content-writer-agent.md +69 -0
- package/agents/infographic-analyzer-agent.md +63 -0
- package/agents/infographic-designer-agent.md +72 -0
- package/bin/cli.js +846 -427
- package/{content-rules.example.md → content-rules-example.md} +2 -2
- package/dist/mcp/health-check.js +82 -68
- package/dist/mcp/mcp-config.json +8 -0
- package/dist/mcp/openstack-server.js +1746 -1262
- package/dist/server/.tsbuildinfo +1 -1
- package/extension.json +21 -4
- package/package.json +181 -184
- package/skills/company-config/SKILL.md +133 -0
- package/skills/configure/SKILL.md +1 -1
- package/skills/myai-configurator/SKILL.md +77 -0
- package/skills/myai-configurator/content-creation-configurator/SKILL.md +516 -0
- package/skills/myai-configurator/content-maintenance-configurator/SKILL.md +397 -0
- package/skills/myai-content-enrichment/SKILL.md +114 -0
- package/skills/myai-content-ideation/SKILL.md +288 -0
- package/skills/myai-content-ideation/evals/evals.json +182 -0
- package/skills/myai-content-production-coordinator/SKILL.md +946 -0
- package/skills/{content-rules-setup → myai-content-rules-setup}/SKILL.md +1 -1
- package/skills/{content-verifier → myai-content-verifier}/SKILL.md +1 -1
- package/skills/myai-content-writer/SKILL.md +333 -0
- package/skills/{infographic → myai-infographic}/SKILL.md +1 -1
- package/skills/myai-proprietary-content-verifier/SKILL.md +175 -0
- package/skills/myai-proprietary-content-verifier/evals/evals.json +36 -0
- package/skills/myai-skill-builder/SKILL.md +699 -0
- package/skills/myai-skill-builder/agents/analyzer-agent.md +137 -0
- package/skills/myai-skill-builder/agents/comparator-agent.md +77 -0
- package/skills/myai-skill-builder/agents/grader-agent.md +103 -0
- package/skills/myai-skill-builder/assets/eval_review.html +131 -0
- package/skills/myai-skill-builder/references/schemas.md +211 -0
- package/skills/myai-skill-builder/scripts/aggregate_benchmark.py +190 -0
- package/skills/myai-skill-builder/scripts/generate_review.py +381 -0
- package/skills/myai-skill-builder/scripts/package_skill.py +91 -0
- package/skills/myai-skill-builder/scripts/run_eval.py +105 -0
- package/skills/myai-skill-builder/scripts/run_loop.py +211 -0
- package/skills/myai-skill-builder/scripts/utils.py +123 -0
- package/skills/myai-visual-generator/SKILL.md +125 -0
- package/skills/myai-visual-generator/evals/evals.json +155 -0
- package/skills/myai-visual-generator/references/infographic-pipeline.md +73 -0
- package/skills/myai-visual-generator/references/research-visuals.md +57 -0
- package/skills/myai-visual-generator/references/services.md +89 -0
- package/skills/myai-visual-generator/scripts/visual-generation-utils.js +1272 -0
- package/skills/myaidev-figma/SKILL.md +212 -0
- package/skills/myaidev-figma/capture.js +133 -0
- package/skills/myaidev-figma/crawl.js +130 -0
- package/skills/myaidev-figma-configure/SKILL.md +130 -0
- package/skills/openstack-manager/SKILL.md +1 -1
- package/skills/payloadcms-publisher/SKILL.md +141 -77
- package/skills/payloadcms-publisher/references/field-mapping.md +142 -0
- package/skills/payloadcms-publisher/references/lexical-format.md +97 -0
- package/skills/security-auditor/SKILL.md +1 -1
- package/src/cli/commands/addon.js +105 -7
- package/src/config/workflows.js +172 -228
- package/src/lib/ascii-banner.js +197 -182
- package/src/lib/{content-coordinator.js → content-production-coordinator.js} +649 -459
- package/src/lib/installation-detector.js +93 -59
- package/src/lib/payloadcms-utils.js +285 -510
- package/src/lib/workflow-installer.js +55 -0
- package/src/mcp/health-check.js +82 -68
- package/src/mcp/openstack-server.js +1746 -1262
- package/src/scripts/configure-visual-apis.js +224 -173
- package/src/scripts/configure-wordpress-mcp.js +96 -66
- package/src/scripts/init/install.js +109 -85
- package/src/scripts/init-project.js +138 -67
- package/src/scripts/utils/write-content.js +67 -52
- package/src/scripts/wordpress/publish-to-wordpress.js +128 -128
- package/src/templates/claude/CLAUDE.md +19 -12
- package/hooks/hooks.json +0 -26
- package/skills/content-coordinator/SKILL.md +0 -130
- package/skills/content-enrichment/SKILL.md +0 -80
- package/skills/content-writer/SKILL.md +0 -285
- package/skills/skill-builder/SKILL.md +0 -417
- package/skills/visual-generator/SKILL.md +0 -140
- /package/skills/{content-writer → myai-content-writer}/agents/editor-agent.md +0 -0
- /package/skills/{content-writer → myai-content-writer}/agents/planner-agent.md +0 -0
- /package/skills/{content-writer → myai-content-writer}/agents/research-agent.md +0 -0
- /package/skills/{content-writer → myai-content-writer}/agents/seo-agent.md +0 -0
- /package/skills/{content-writer → myai-content-writer}/agents/visual-planner-agent.md +0 -0
- /package/skills/{content-writer → myai-content-writer}/agents/writer-agent.md +0 -0
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: visual-generator
|
|
3
|
-
description: Generates high-quality images and videos using AI APIs (Gemini, Imagen, DALL-E, FLUX, Veo). Use when creating hero images, diagrams, infographics, or video content for articles and projects.
|
|
4
|
-
argument-hint: [prompt] [--type=hero] [--service=gemini]
|
|
5
|
-
allowed-tools: [Read, Write, Bash, Task]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Visual Generator Skill
|
|
9
|
-
|
|
10
|
-
Generate high-quality images and videos for content creation using AI generation APIs (Google Gemini Flash, Imagen 3, DALL-E 3, FLUX 2 Pro, Veo 3).
|
|
11
|
-
|
|
12
|
-
## Capabilities
|
|
13
|
-
|
|
14
|
-
- Hero images for articles and landing pages
|
|
15
|
-
- Technical diagrams and architecture illustrations
|
|
16
|
-
- Infographics (data, process, comparison, timeline)
|
|
17
|
-
- Screenshots and UI mockups
|
|
18
|
-
- Video content for demos and tutorials
|
|
19
|
-
|
|
20
|
-
## Supported Services
|
|
21
|
-
|
|
22
|
-
| Service | Type | Cost | Best For |
|
|
23
|
-
|---------|------|------|----------|
|
|
24
|
-
| Gemini 2.5 Flash | Image | $0.02 | Fast, diagrams, general use |
|
|
25
|
-
| Imagen 3 | Image | $0.03 | Premium quality heroes |
|
|
26
|
-
| DALL-E 3 | Image | $0.04-0.12 | Creative, artistic |
|
|
27
|
-
| GPT Image 1.5 | Image | $0.02 | Text-heavy visuals |
|
|
28
|
-
| FLUX 2 Pro | Image | $0.03 | Detailed illustrations |
|
|
29
|
-
| Veo 3 | Video | $0.10 | Product demos, tutorials |
|
|
30
|
-
|
|
31
|
-
## Image Types
|
|
32
|
-
|
|
33
|
-
| Type | Description | Recommended Service |
|
|
34
|
-
|------|-------------|---------------------|
|
|
35
|
-
| `hero` | Article header, main theme | FLUX 2 Pro / Imagen |
|
|
36
|
-
| `illustration` | Abstract concepts, metaphors | FLUX 2 Pro |
|
|
37
|
-
| `diagram` | Technical workflows, architecture | Gemini |
|
|
38
|
-
| `screenshot` | UI mockups, interface designs | GPT Image 1.5 |
|
|
39
|
-
| `infographic-data` | Statistics, metrics, charts | GPT Image 1.5 |
|
|
40
|
-
| `infographic-process` | Step flows, workflows | FLUX 2 Pro |
|
|
41
|
-
| `infographic-comparison` | Side-by-side comparisons | GPT Image 1.5 |
|
|
42
|
-
| `infographic-timeline` | Chronological events | FLUX 2 Pro |
|
|
43
|
-
| `architecture-diagram` | System design, tech stacks | Gemini |
|
|
44
|
-
| `flowchart` | Decision trees, processes | Gemini |
|
|
45
|
-
| `sequence-diagram` | API/service interactions | Gemini |
|
|
46
|
-
| `video` | Product demos, tutorials | Veo 3 |
|
|
47
|
-
|
|
48
|
-
## Prerequisites
|
|
49
|
-
|
|
50
|
-
- At least one API key configured:
|
|
51
|
-
- `GOOGLE_API_KEY` (for Gemini, Imagen, Veo)
|
|
52
|
-
- `OPENAI_API_KEY` (for DALL-E, GPT Image)
|
|
53
|
-
- `FAL_KEY` (for FLUX 2 Pro)
|
|
54
|
-
|
|
55
|
-
Run `/myai-configure visual` to set up API keys.
|
|
56
|
-
|
|
57
|
-
## Process
|
|
58
|
-
|
|
59
|
-
1. **Configuration Check**: Verify API keys are configured
|
|
60
|
-
2. **Requirements Gathering**: Collect prompt, type, and preferences
|
|
61
|
-
3. **Cost Estimation**: Show estimated cost and check budget
|
|
62
|
-
4. **Generation**: Generate image/video using selected service
|
|
63
|
-
5. **Asset Management**: Save to organized directory structure
|
|
64
|
-
6. **Markdown Reference**: Return embed code for content
|
|
65
|
-
|
|
66
|
-
## File Organization
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
content-assets/
|
|
70
|
-
├── images/
|
|
71
|
-
│ └── YYYY-MM-DD/
|
|
72
|
-
│ └── {type}-{description}-{id}.png
|
|
73
|
-
└── videos/
|
|
74
|
-
└── YYYY-MM-DD/
|
|
75
|
-
└── video-{description}-{id}.mp4
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Parameters
|
|
79
|
-
|
|
80
|
-
| Parameter | Description | Default |
|
|
81
|
-
|-----------|-------------|---------|
|
|
82
|
-
| `prompt` | What the image/video should depict | Required |
|
|
83
|
-
| `--type` | Image type (see table above) | hero |
|
|
84
|
-
| `--service` | Preferred generation service | auto |
|
|
85
|
-
| `--quality` | low, medium, high | medium |
|
|
86
|
-
| `--size` | 1024x1024, 1792x1024, 1024x1792 | 1024x1024 |
|
|
87
|
-
| `--description` | Short description for filename | auto |
|
|
88
|
-
|
|
89
|
-
## Budget Management
|
|
90
|
-
|
|
91
|
-
The skill tracks daily and monthly spending:
|
|
92
|
-
- Default daily budget: $5.00
|
|
93
|
-
- Default monthly budget: $50.00
|
|
94
|
-
|
|
95
|
-
Configure limits in `.env`:
|
|
96
|
-
```
|
|
97
|
-
VISUAL_DAILY_BUDGET=10.00
|
|
98
|
-
VISUAL_MONTHLY_BUDGET=100.00
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## HTML Conversion Alternative
|
|
102
|
-
|
|
103
|
-
For data-driven visuals requiring pixel-perfect accuracy, use HTML conversion instead of AI generation:
|
|
104
|
-
|
|
105
|
-
| Use Case | Tool |
|
|
106
|
-
|----------|------|
|
|
107
|
-
| Exact numbers/data | HTML Conversion |
|
|
108
|
-
| Precise text labels | HTML/D2 Conversion |
|
|
109
|
-
| Charts and graphs | HTML Conversion |
|
|
110
|
-
| Creative/artistic | AI Generation |
|
|
111
|
-
|
|
112
|
-
## Example Usage
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
# Basic hero image
|
|
116
|
-
/myaidev-method:generate-visual "Modern developer workspace" --type=hero
|
|
117
|
-
|
|
118
|
-
# Technical diagram
|
|
119
|
-
/myaidev-method:generate-visual "Microservices architecture with API gateway" --type=architecture-diagram --service=gemini
|
|
120
|
-
|
|
121
|
-
# Data infographic
|
|
122
|
-
/myaidev-method:generate-visual "5 Key API Metrics: Latency <50ms, Uptime 99.99%" --type=infographic-data --service=gpt-image-1.5
|
|
123
|
-
|
|
124
|
-
# Video content
|
|
125
|
-
/myaidev-method:generate-visual "Product demo showing login flow" --type=video --service=veo3
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
## Integration
|
|
129
|
-
|
|
130
|
-
- Works with `/myaidev-method:content-writer` via `--with-images` flag
|
|
131
|
-
- Automatic asset organization and cost tracking
|
|
132
|
-
- Markdown reference generation for easy embedding
|
|
133
|
-
|
|
134
|
-
## Error Handling
|
|
135
|
-
|
|
136
|
-
- Rate limiting: Wait 60 seconds and retry, or switch service
|
|
137
|
-
- Budget exceeded: Shows usage and suggests increasing limits
|
|
138
|
-
- API errors: Provides helpful guidance and alternatives
|
|
139
|
-
|
|
140
|
-
Always prioritize user experience, cost transparency, and quality results.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|