$npx -y skills add szsip239/teamclaw --skill baoyu-cover-imageGenerates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 9 color palettes and 6 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover
| 1 | # Cover Image Generator |
| 2 | |
| 3 | Generate elegant cover images for articles with 5-dimensional customization. |
| 4 | |
| 5 | ## Usage |
| 6 | |
| 7 | ```bash |
| 8 | # Auto-select dimensions based on content |
| 9 | /baoyu-cover-image path/to/article.md |
| 10 | |
| 11 | # Quick mode: skip confirmation |
| 12 | /baoyu-cover-image article.md --quick |
| 13 | |
| 14 | # Specify dimensions |
| 15 | /baoyu-cover-image article.md --type conceptual --palette warm --rendering flat-vector |
| 16 | |
| 17 | # Style presets (shorthand for palette + rendering) |
| 18 | /baoyu-cover-image article.md --style blueprint |
| 19 | |
| 20 | # With reference images |
| 21 | /baoyu-cover-image article.md --ref style-ref.png |
| 22 | |
| 23 | # Direct content input |
| 24 | /baoyu-cover-image --palette mono --aspect 1:1 --quick |
| 25 | [paste content] |
| 26 | ``` |
| 27 | |
| 28 | ## Options |
| 29 | |
| 30 | | Option | Description | |
| 31 | |--------|-------------| |
| 32 | | `--type <name>` | hero, conceptual, typography, metaphor, scene, minimal | |
| 33 | | `--palette <name>` | warm, elegant, cool, dark, earth, vivid, pastel, mono, retro | |
| 34 | | `--rendering <name>` | flat-vector, hand-drawn, painterly, digital, pixel, chalk | |
| 35 | | `--style <name>` | Preset shorthand (see [Style Presets](references/style-presets.md)) | |
| 36 | | `--text <level>` | none, title-only, title-subtitle, text-rich | |
| 37 | | `--mood <level>` | subtle, balanced, bold | |
| 38 | | `--font <name>` | clean, handwritten, serif, display | |
| 39 | | `--aspect <ratio>` | 16:9 (default), 2.35:1, 4:3, 3:2, 1:1, 3:4 | |
| 40 | | `--lang <code>` | Title language (en, zh, ja, etc.) | |
| 41 | | `--no-title` | Alias for `--text none` | |
| 42 | | `--quick` | Skip confirmation, use auto-selection | |
| 43 | | `--ref <files...>` | Reference images for style/composition guidance | |
| 44 | |
| 45 | ## Five Dimensions |
| 46 | |
| 47 | | Dimension | Values | Default | |
| 48 | |-----------|--------|---------| |
| 49 | | **Type** | hero, conceptual, typography, metaphor, scene, minimal | auto | |
| 50 | | **Palette** | warm, elegant, cool, dark, earth, vivid, pastel, mono, retro | auto | |
| 51 | | **Rendering** | flat-vector, hand-drawn, painterly, digital, pixel, chalk | auto | |
| 52 | | **Text** | none, title-only, title-subtitle, text-rich | title-only | |
| 53 | | **Mood** | subtle, balanced, bold | balanced | |
| 54 | | **Font** | clean, handwritten, serif, display | clean | |
| 55 | |
| 56 | Auto-selection rules: [references/auto-selection.md](references/auto-selection.md) |
| 57 | |
| 58 | ## Galleries |
| 59 | |
| 60 | **Types**: hero, conceptual, typography, metaphor, scene, minimal |
| 61 | → Details: [references/types.md](references/types.md) |
| 62 | |
| 63 | **Palettes**: warm, elegant, cool, dark, earth, vivid, pastel, mono, retro |
| 64 | → Details: [references/palettes/](references/palettes/) |
| 65 | |
| 66 | **Renderings**: flat-vector, hand-drawn, painterly, digital, pixel, chalk |
| 67 | → Details: [references/renderings/](references/renderings/) |
| 68 | |
| 69 | **Text Levels**: none (pure visual) | title-only (default) | title-subtitle | text-rich (with tags) |
| 70 | → Details: [references/dimensions/text.md](references/dimensions/text.md) |
| 71 | |
| 72 | **Mood Levels**: subtle (low contrast) | balanced (default) | bold (high contrast) |
| 73 | → Details: [references/dimensions/mood.md](references/dimensions/mood.md) |
| 74 | |
| 75 | **Fonts**: clean (sans-serif) | handwritten | serif | display (bold decorative) |
| 76 | → Details: [references/dimensions/font.md](references/dimensions/font.md) |
| 77 | |
| 78 | ## File Structure |
| 79 | |
| 80 | Output directory per `default_output_dir` preference: |
| 81 | - `same-dir`: `{article-dir}/` |
| 82 | - `imgs-subdir`: `{article-dir}/imgs/` |
| 83 | - `independent` (default): `cover-image/{topic-slug}/` |
| 84 | |
| 85 | ``` |
| 86 | <output-dir>/ |
| 87 | ├── source-{slug}.{ext} # Source files |
| 88 | ├── refs/ # Reference images (if provided) |
| 89 | │ ├── ref-01-{slug}.{ext} |
| 90 | │ └── ref-01-{slug}.md # Description file |
| 91 | ├── prompts/cover.md # Generation prompt |
| 92 | └── cover.png # Output image |
| 93 | ``` |
| 94 | |
| 95 | **Slug**: 2-4 words, kebab-case. Conflict: append `-YYYYMMDD-HHMMSS` |
| 96 | |
| 97 | ## Workflow |
| 98 | |
| 99 | ### Progress Checklist |
| 100 | |
| 101 | ``` |
| 102 | Cover Image Progress: |
| 103 | - [ ] Step 0: Check preferences (EXTEND.md) ⛔ BLOCKING |
| 104 | - [ ] Step 1: Analyze content + save refs + determine output dir |
| 105 | - [ ] Step 2: Confirm options (6 dimensions) ⚠️ unless --quick |
| 106 | - [ ] Step 3: Create prompt |
| 107 | - [ ] Step 4: Generate image |
| 108 | - [ ] Step 5: Completion report |
| 109 | ``` |
| 110 | |
| 111 | ### Flow |
| 112 | |
| 113 | ``` |
| 114 | Input → [Step 0: Preferences] ─┬─ Found → Continue |
| 115 | └─ Not found → First-Time Setup ⛔ BLOCKING → Save EXTEND.md → Continue |
| 116 | ↓ |
| 117 | Analyze + Save Refs → [Output Dir] → [Confirm: 6 Dimensions] → Prompt → Generate → Complete |
| 118 | ↓ |
| 119 | (skip if --quick or all specified) |
| 120 | ``` |
| 121 | |
| 122 | ### Step 0: Load Preferences ⛔ BLOCKING |
| 123 | |
| 124 | Check EXTEND.md existence (priority: project → user): |
| 125 | ```bash |
| 126 | test -f .baoyu-skills/baoyu-cover-image/EXTEND.md && echo "project" |
| 127 | test -f "$HOME/.baoyu-skills/baoyu-cover-image/EXTEND.md" && echo "user" |
| 128 | ``` |
| 129 | |
| 130 | | Result | Action | |
| 131 | |--------|--------| |
| 132 | | Found | Load, display summary → Continue | |
| 133 | | Not found | ⛔ Ru |