Skip to content

JimLiu/baoyu-skills / skills/baoyu-article-illustrator

baoyu-article-illustrator

Verified

Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".

FileKindSize
SKILL.mdskill md12.2 KB
prompts/system.mdmarkdown1.1 KB
references/codex-imagegen.mdmarkdown3.6 KB
references/config/first-time-setup.mdmarkdown3.3 KB
references/config/preferences-schema.mdmarkdown3.8 KB
references/palettes/macaron.mdmarkdown1.3 KB
references/palettes/mono-ink.mdmarkdown1.7 KB
references/palettes/neon.mdmarkdown1.0 KB
references/palettes/warm.mdmarkdown1.0 KB
references/prompt-construction.mdmarkdown14.9 KB
references/style-presets.mdmarkdown5.2 KB
references/styles.mdmarkdown10.0 KB
references/styles/blueprint.mdmarkdown1.8 KB
references/styles/chalkboard.mdmarkdown2.2 KB
references/styles/editorial.mdmarkdown1.7 KB
references/styles/elegant.mdmarkdown1.7 KB
references/styles/fantasy-animation.mdmarkdown1.9 KB
references/styles/flat-doodle.mdmarkdown1.8 KB
references/styles/flat.mdmarkdown1.6 KB
references/styles/ink-notes.mdmarkdown4.2 KB
references/styles/intuition-machine.mdmarkdown1.8 KB
references/styles/minimal.mdmarkdown1.6 KB
references/styles/nature.mdmarkdown1.7 KB
references/styles/notion.mdmarkdown1.6 KB
references/styles/pixel-art.mdmarkdown1.9 KB
references/styles/playful.mdmarkdown1.7 KB
references/styles/retro.mdmarkdown1.6 KB
references/styles/scientific.mdmarkdown1.7 KB
references/styles/screen-print.mdmarkdown2.6 KB
references/styles/sketch-notes.mdmarkdown4.6 KB
references/styles/sketch.mdmarkdown1.7 KB
references/styles/vector-illustration.mdmarkdown1.9 KB
references/styles/vintage.mdmarkdown1.8 KB
references/styles/warm.mdmarkdown1.7 KB
references/styles/watercolor.mdmarkdown1.8 KB
references/usage.mdmarkdown1.5 KB
references/workflow.mdmarkdown12.6 KB

references/config/preferences-schema.md

View on GitHub
---
name: preferences-schema
description: EXTEND.md YAML schema for baoyu-article-illustrator user preferences
---

# Preferences Schema

## Full Schema

```yaml
---
version: 1

watermark:
  enabled: false
  content: ""
  position: bottom-right  # bottom-right|bottom-left|bottom-center|top-right

preferred_style:
  name: null              # Built-in or custom style name
  description: ""         # Override/notes

preferred_palette: null   # Built-in palette name (macaron|warm|neon) or null

language: null            # zh|en|ja|ko|auto

default_output_dir: null  # same-dir|illustrations-subdir|independent

preferred_image_backend: auto  # auto|ask|<backend-id>

generation_batch_size: 4       # 1-8, used when backend/runtime supports batch or parallel generation

custom_styles:
  - name: my-style
    description: "Style description"
    color_palette:
      primary: ["#1E3A5F", "#4A90D9"]
      background: "#F5F7FA"
      accents: ["#00B4D8", "#48CAE4"]
    visual_elements: "Clean lines, geometric shapes"
    typography: "Modern sans-serif"
    best_for: "Business, education"
---
```

## Field Reference

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `version` | int | 1 | Schema version |
| `watermark.enabled` | bool | false | Enable watermark |
| `watermark.content` | string | "" | Watermark text (@username or custom) |
| `watermark.position` | enum | bottom-right | Position on image |
| `preferred_style.name` | string | null | Style name or null |
| `preferred_style.description` | string | "" | Custom notes/override |
| `preferred_palette` | string | null | Palette override (macaron, warm, neon, or null) |
| `language` | string | null | Output language (null = auto-detect) |
| `default_output_dir` | enum | null | Output directory preference (null = ask each time) |
| `preferred_image_backend` | string | `auto` | Image backend selection. `auto` = prefer runtime-native tool, fall back to the only installed backend, ask if multiple non-native are present. `ask` = always confirm on every run. `<backend-id>` (e.g., `codex-imagegen`, `baoyu-image-gen`, `image_generate`) = pin this backend when available; fall back to `auto` when it isn't. Absent = `auto`. Resolution logic: `SKILL.md` `## Image Generation Tools`. |
| `generation_batch_size` | int | 4 | Number of images to dispatch per batch when the backend has native batch support or the runtime can issue parallel generation calls. Clamp invalid values to 1-8. Current user request overrides this value. |
| `custom_styles` | array | [] | User-defined styles |

## Custom Style Fields

| Field | Required | Description |
|-------|----------|-------------|
| `name` | Yes | Unique style identifier (kebab-case) |
| `description` | Yes | What the style conveys |
| `color_palette.primary` | No | Main colors (array) |
| `color_palette.background` | No | Background color |
| `color_palette.accents` | No | Accent colors (array) |
| `visual_elements` | No | Decorative elements |
| `typography` | No | Font/lettering style |
| `best_for` | No | Recommended content types |

## Example: Minimal Preferences

```yaml
---
version: 1
watermark:
  enabled: true
  content: "@myusername"
preferred_style:
  name: notion
---
```

## Example: Full Preferences

```yaml
---
version: 1
watermark:
  enabled: true
  content: "@myaccount"
  position: bottom-right

preferred_style:
  name: notion
  description: "Clean illustrations for tech articles"

language: zh

preferred_image_backend: codex-imagegen

generation_batch_size: 4

custom_styles:
  - name: corporate
    description: "Professional B2B style"
    color_palette:
      primary: ["#1E3A5F", "#4A90D9"]
      background: "#F5F7FA"
      accents: ["#00B4D8", "#48CAE4"]
    visual_elements: "Clean lines, subtle gradients, geometric shapes"
    typography: "Modern sans-serif, professional"
    best_for: "Business, SaaS, enterprise"
---
```
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