Skip to content

JimLiu/baoyu-skills / skills/baoyu-cover-image

baoyu-cover-image

Verified

Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 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", or "make cover".

FileKindSize
SKILL.mdskill md12.4 KB
references/auto-selection.mdmarkdown2.8 KB
references/base-prompt.mdmarkdown5.3 KB
references/codex-imagegen.mdmarkdown3.6 KB
references/compatibility.mdmarkdown2.4 KB
references/config/first-time-setup.mdmarkdown5.0 KB
references/config/preferences-schema.mdmarkdown6.6 KB
references/config/watermark-guide.mdmarkdown1.7 KB
references/dimensions/font.mdmarkdown3.9 KB
references/dimensions/mood.mdmarkdown3.6 KB
references/dimensions/text.mdmarkdown2.2 KB
references/palettes/cool.mdmarkdown743 B
references/palettes/dark.mdmarkdown753 B
references/palettes/duotone.mdmarkdown1.4 KB
references/palettes/earth.mdmarkdown734 B
references/palettes/elegant.mdmarkdown729 B
references/palettes/macaron.mdmarkdown769 B
references/palettes/mono.mdmarkdown716 B
references/palettes/pastel.mdmarkdown715 B
references/palettes/retro.mdmarkdown933 B
references/palettes/vivid.mdmarkdown751 B
references/palettes/warm.mdmarkdown721 B
references/renderings/chalk.mdmarkdown1.1 KB
references/renderings/digital.mdmarkdown1.1 KB
references/renderings/flat-vector.mdmarkdown1.2 KB
references/renderings/hand-drawn.mdmarkdown1.0 KB
references/renderings/painterly.mdmarkdown1.0 KB
references/renderings/pixel.mdmarkdown961 B
references/renderings/screen-print.mdmarkdown1.5 KB
references/style-presets.mdmarkdown1.4 KB
references/types.mdmarkdown1.3 KB
references/visual-elements.mdmarkdown3.2 KB
references/workflow/confirm-options.mdmarkdown5.0 KB
references/workflow/prompt-template.mdmarkdown8.2 KB
references/workflow/reference-images.mdmarkdown4.6 KB

references/workflow/reference-images.md

View on GitHub
# Reference Image Handling

## Input Detection

| Input Type | Action |
|------------|--------|
| Image file path provided | Copy to `refs/` → can use `--ref` |
| Image in conversation (no path) | **ASK user for file path** with AskUserQuestion |
| User can't provide path | Extract style/palette verbally → append to prompt (NO frontmatter references) |

**CRITICAL**: Only add `references` to prompt frontmatter if files are ACTUALLY SAVED to `refs/` directory.

## File Saving

**If user provides file path**:
1. Copy to `refs/ref-NN-{slug}.{ext}` (NN = 01, 02, ...)
2. **Only** create description file `refs/ref-NN-{slug}.md` when model does NOT support `--ref` (see below)
3. Verify image file exists before proceeding

**When to create description file**:

| Situation | Action |
|-----------|--------|
| Model supports `--ref` (Google, OpenAI, OpenRouter, Replicate, Seedream 4.0+) | Copy image only. **No description file needed.** Pass via `--ref` at generation. |
| Model does NOT support `--ref` (Jimeng, Seedream 3.0) | Copy image + create description file. Embed description in prompt text. |

**Description File Format** (only when needed):
```yaml
---
ref_id: NN
filename: ref-NN-{slug}.{ext}
usage: direct | style | palette
---
[Character or style description to embed in prompt]
```

| Usage | When to Use |
|-------|-------------|
| `direct` | Model sees reference image directly; required if people must appear in output |
| `style` | Extract visual style only (not for people who must appear) |
| `palette` | Extract color scheme only |

## Verbal Extraction (No File)

When user can't provide file path:
1. Analyze image visually, extract: colors, style, composition
2. Create `refs/extracted-style.md` with extracted info
3. DO NOT add `references` to prompt frontmatter
4. Append extracted style/colors directly to prompt text

## Deep Analysis ⚠️

Extract **specific, concrete, reproducible** elements:

| Analysis | Description | Example (good vs bad) |
|----------|-------------|----------------------|
| **Brand elements** | Logos, wordmarks, specific typography | Good: "Logo uses vertical parallel lines for 'm'" / Bad: "Has a logo" |
| **Signature patterns** | Unique decorative motifs, textures | Good: "Woven intersecting curves forming diamond grid" / Bad: "Has patterns" |
| **Color palette** | Exact hex values for key colors | Good: "#2D4A3E dark teal, #F5F0E0 cream" / Bad: "Dark and light colors" |
| **Layout structure** | Specific spatial arrangement | Good: "Bottom 30% dark banner with branding" / Bad: "Has a banner" |
| **Typography** | Font style, weight, spacing, case | Good: "Uppercase, wide letter-spacing" / Bad: "Has text" |
| **Rendering** | Line quality, texture, depth treatment | Good: "Topographic contour lines as background texture" / Bad: "Clean style" |
| **Elements** | Icon vocabulary, decorative motifs | Good: "Geometric intersecting line ornaments at corners" / Bad: "Has decorations" |
| **Content/subject** | What the reference depicts | Factual description |
| **Usage recommendation** | `direct` / `style` / `palette` | Based on analysis |

**Output format**: each element as a bullet that can be copy-pasted into the prompt as a mandatory instruction prefixed with "MUST" or "REQUIRED".

### Character Analysis ⚠️ If Reference Contains People

Use `usage: direct` so the model sees the reference image, and also describe per character: **appearance**, **pose**, **clothing** → with **transformation rules** (stylize to match rendering).

| Extract | Good | Bad |
|---------|------|-----|
| Appearance | "Woman: long wavy blonde hair, friendly smile" | "A woman" |
| Pose | "Standing, facing camera, confident posture" | "Standing" |
| Clothing | "Dark T-shirt, business casual" | "Formal" |
| Transform | "Flat-vector cartoon, keep hair color & clothing" | "Make cartoon" |

Output each character as a MUST/REQUIRED prompt instruction.

## Verification Output

**For saved files**:
```
Reference Images Saved:
- ref-01-{slug}.png ✓ (can use --ref)
- ref-02-{slug}.png ✓ (can use --ref)
```

**For extracted style**:
```
Reference Style Extracted (no file):
- Colors: #E8756D coral, #7ECFC0 mint...
- Style: minimal flat vector, clean lines...
→ Will append to prompt text (not --ref)
```

## Priority Rules

References are **HIGH PRIORITY** inputs:

- **References override defaults**: If reference conflicts with preferred palette/rendering, reference takes precedence
- **Concrete > abstract**: Extract specific elements — not vague "clean style"
- **Mandatory language**: Use "MUST", "REQUIRED" in prompt for reference elements
- **Visible in output**: Verify elements are present after generation; strengthen prompt if not
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall