From ai-generation-skills
Analyzes article structure, identifies positions for visual aids, and generates illustrations using Type (infographic, flowchart, timeline) × Style (minimal, blueprint, watercolor) matrix. Invoke for article illustration requests.
npx claudepluginhub xy121718/baoyu-skills --plugin ai-generation-skillsThis skill uses the workspace's default tool permissions.
Analyze articles, identify illustration positions, generate images with Type × Style consistency.
prompts/system.mdreferences/config/first-time-setup.mdreferences/config/preferences-schema.mdreferences/prompt-construction.mdreferences/styles.mdreferences/styles/blueprint.mdreferences/styles/chalkboard.mdreferences/styles/editorial.mdreferences/styles/elegant.mdreferences/styles/fantasy-animation.mdreferences/styles/flat-doodle.mdreferences/styles/flat.mdreferences/styles/intuition-machine.mdreferences/styles/minimal.mdreferences/styles/nature.mdreferences/styles/notion.mdreferences/styles/pixel-art.mdreferences/styles/playful.mdreferences/styles/retro.mdreferences/styles/scientific.mdAnalyzes article structure, identifies positions for visual aids, generates illustrations using Type (infographic, flowchart, timeline) × Style (minimal, blueprint, watercolor) approach. For 'illustrate article', 'add images', or 'generate images for article' requests.
Analyzes article structure, identifies positions for visual aids, generates illustrations using Type × Style × Palette approach. Useful for requests to illustrate articles or add images.
Analyzes markdown article content, identifies positions needing visual aids, and generates illustrations in styles like tech, warm, minimal, playful, elegant.
Share bugs, ideas, or general feedback.
Analyze articles, identify illustration positions, generate images with Type × Style consistency.
| Dimension | Controls | Examples |
|---|---|---|
| Type | Information structure | infographic, scene, flowchart, comparison, framework, timeline |
| Style | Visual aesthetics | notion, warm, minimal, blueprint, watercolor, elegant |
Combine freely: --type infographic --style blueprint
| Type | Best For |
|---|---|
infographic | Data, metrics, technical |
scene | Narratives, emotional |
flowchart | Processes, workflows |
comparison | Side-by-side, options |
framework | Models, architecture |
timeline | History, evolution |
See references/styles.md for Core Styles, full gallery, and Type × Style compatibility.
- [ ] Step 1: Pre-check (EXTEND.md, references, config)
- [ ] Step 2: Analyze content
- [ ] Step 3: Confirm settings (AskUserQuestion)
- [ ] Step 4: Generate outline
- [ ] Step 5: Generate images
- [ ] Step 6: Finalize
1.5 Load Preferences (EXTEND.md) ⛔ BLOCKING
test -f .baoyu-skills/baoyu-article-illustrator/EXTEND.md && echo "project"
test -f "$HOME/.baoyu-skills/baoyu-article-illustrator/EXTEND.md" && echo "user"
| Result | Action |
|---|---|
| Found | Read, parse, display summary |
| Not found | ⛔ Run first-time-setup |
Full procedures: references/workflow.md
| Analysis | Output |
|---|---|
| Content type | Technical / Tutorial / Methodology / Narrative |
| Purpose | information / visualization / imagination |
| Core arguments | 2-5 main points |
| Positions | Where illustrations add value |
CRITICAL: Metaphors → visualize underlying concept, NOT literal image.
Full procedures: references/workflow.md
ONE AskUserQuestion, max 4 Qs. Q1-Q3 REQUIRED.
| Q | Options |
|---|---|
| Q1: Type | [Recommended], infographic, scene, flowchart, comparison, framework, timeline, mixed |
| Q2: Density | minimal (1-2), balanced (3-5), per-section (Recommended), rich (6+) |
| Q3: Style | [Recommended], minimal-flat, sci-fi, hand-drawn, editorial, scene, Other |
| Q4: Language | When article language ≠ EXTEND.md setting |
Full procedures: references/workflow.md
Save outline.md with frontmatter (type, density, style, image_count) and entries:
## Illustration 1
**Position**: [section/paragraph]
**Purpose**: [why]
**Visual Content**: [what]
**Filename**: 01-infographic-concept-name.png
Full template: references/workflow.md
⛔ BLOCKING: Prompt files MUST be saved before ANY image generation.
prompts/NN-{type}-{slug}.md with YAML frontmatter--prompt without saving prompt files firstdirect/style/palette)Full procedures: references/workflow.md
Insert  after paragraphs.
Article Illustration Complete!
Article: [path] | Type: [type] | Density: [level] | Style: [style]
Images: X/N generated
illustrations/{topic-slug}/
├── source-{slug}.{ext}
├── references/ # if provided
├── outline.md
├── prompts/
└── NN-{type}-{slug}.png
Slug: 2-4 words, kebab-case. Conflict: append -YYYYMMDD-HHMMSS.
| Action | Steps |
|---|---|
| Edit | Update prompt → Regenerate → Update reference |
| Add | Position → Prompt → Generate → Update outline → Insert |
| Delete | Delete files → Remove reference → Update outline |
| File | Content |
|---|---|
| references/workflow.md | Detailed procedures |
| references/usage.md | Command syntax |
| references/styles.md | Style gallery |
| references/prompt-construction.md | Prompt templates |
| references/config/first-time-setup.md | First-time setup |