From a39c8eb0bd069ba432700749e9a5245106df9744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Liu=20=E5=AE=9D=E7=8E=89?= Date: Sat, 24 Jan 2026 17:19:42 -0600 Subject: [PATCH] refactor(baoyu-article-illustrator): extract content to reference files - Simplify SKILL.md by extracting usage and prompt templates - Add references/usage.md for command syntax - Add references/prompt-construction.md for prompt templates - Add default_output_dir preference option - Reorganize workflow from 5 to 6 steps with Pre-check phase --- skills/baoyu-article-illustrator/SKILL.md | 466 ++++++------------ .../references/config/preferences-schema.md | 11 + .../references/prompt-construction.md | 127 +++++ .../references/usage.md | 66 +++ 4 files changed, 366 insertions(+), 304 deletions(-) create mode 100644 skills/baoyu-article-illustrator/references/prompt-construction.md create mode 100644 skills/baoyu-article-illustrator/references/usage.md diff --git a/skills/baoyu-article-illustrator/SKILL.md b/skills/baoyu-article-illustrator/SKILL.md index 41662d7..83732a3 100644 --- a/skills/baoyu-article-illustrator/SKILL.md +++ b/skills/baoyu-article-illustrator/SKILL.md @@ -7,236 +7,188 @@ description: Analyzes article structure, identifies positions requiring visual a Analyze articles, identify illustration positions, generate images with Type × Style consistency. -## Usage - -```bash -# Auto-select type and style based on content -/baoyu-article-illustrator path/to/article.md - -# Specify type -/baoyu-article-illustrator path/to/article.md --type infographic - -# Specify style -/baoyu-article-illustrator path/to/article.md --style blueprint - -# Combine type and style -/baoyu-article-illustrator path/to/article.md --type flowchart --style notion - -# Specify density -/baoyu-article-illustrator path/to/article.md --density rich - -# Direct content input -/baoyu-article-illustrator -[paste content] -``` - -## Options - -| Option | Description | -|--------|-------------| -| `--type ` | Illustration type (see Type Gallery) | -| `--style ` | Visual style (see Style Gallery) | -| `--density ` | Image count: minimal / balanced / rich | - ## Two Dimensions | Dimension | Controls | Examples | |-----------|----------|----------| -| **Type** | Information structure, content layout | infographic, scene, flowchart, comparison, framework, timeline | -| **Style** | Visual aesthetics, colors, mood | notion, warm, minimal, blueprint, watercolor, elegant | +| **Type** | Information structure, layout | infographic, scene, flowchart, comparison, framework, timeline | +| **Style** | Visual aesthetics, mood | notion, warm, minimal, blueprint, watercolor, elegant | -Type × Style can be freely combined. Example: `--type infographic --style blueprint` creates technical data visualization with schematic aesthetics. +Type × Style can be freely combined. Example: `--type infographic --style blueprint` ## Type Gallery -| Type | Description | Best For | -|------|-------------|----------| -| `infographic` | Data visualization, charts, metrics | Technical articles, data analysis, comparisons | -| `scene` | Atmospheric illustration, mood rendering | Narrative articles, personal stories, emotional content | -| `flowchart` | Process diagrams, step visualization | Tutorials, workflows, decision trees | -| `comparison` | Side-by-side, before/after contrast | Product comparisons, option evaluations | -| `framework` | Concept maps, relationship diagrams | Methodologies, models, architecture design | -| `timeline` | Chronological progression | History, project progress, evolution | - -## Density Options - -| Density | Count | Description | -|---------|-------|-------------| -| `minimal` | 1-2 | Core concepts only | -| `balanced` (Default) | 3-5 | Major sections coverage | -| `rich` | 6+ | Rich visual support | +| Type | Best For | +|------|----------| +| `infographic` | Data, metrics, technical articles | +| `scene` | Narratives, personal stories, emotional content | +| `flowchart` | Tutorials, workflows, processes | +| `comparison` | Side-by-side, before/after, options | +| `framework` | Methodologies, models, architecture | +| `timeline` | History, progress, evolution | ## Style Gallery -| Style | Description | Best For | -|-------|-------------|----------| -| `notion` (Default) | Minimalist hand-drawn line art | Knowledge sharing, SaaS, productivity | -| `elegant` | Refined, sophisticated | Business, thought leadership | -| `warm` | Friendly, approachable | Personal growth, lifestyle, education | -| `minimal` | Ultra-clean, zen-like | Philosophy, minimalism, core concepts | -| `blueprint` | Technical schematics | Architecture, system design, engineering | -| `watercolor` | Soft artistic with natural warmth | Lifestyle, travel, creative | -| `editorial` | Magazine-style infographic | Tech explainers, journalism | -| `scientific` | Academic precise diagrams | Biology, chemistry, technical research | +| Style | Best For | +|-------|----------| +| `notion` (Default) | Knowledge sharing, SaaS, productivity | +| `elegant` | Business, thought leadership | +| `warm` | Personal growth, lifestyle, education | +| `minimal` | Philosophy, core concepts | +| `blueprint` | Architecture, system design | +| `watercolor` | Lifestyle, travel, creative | +| `editorial` | Tech explainers, journalism | +| `scientific` | Academic, technical research | -Full style specifications: `references/styles/