baoyu-comic

from jimliu/baoyu-skills

No description

2.7K stars308 forksUpdated Jan 26, 2026
npx skills add https://github.com/jimliu/baoyu-skills --skill baoyu-comic

SKILL.md

Knowledge Comic Creator

Create original knowledge comics with flexible art style × tone combinations.

Usage

/baoyu-comic posts/turing-story/source.md
/baoyu-comic article.md --art manga --tone warm
/baoyu-comic  # then paste content

Options

Visual Dimensions

OptionValuesDescription
--artligne-claire (default), manga, realistic, ink-brush, chalkArt style / rendering technique
--toneneutral (default), warm, dramatic, romantic, energetic, vintage, actionMood / atmosphere
--layoutstandard (default), cinematic, dense, splash, mixed, webtoonPanel arrangement
--aspect3:4 (default, portrait), 4:3 (landscape), 16:9 (widescreen)Page aspect ratio
--langauto (default), zh, en, ja, etc.Output language

Partial Workflow Options

OptionDescription
--storyboard-onlyGenerate storyboard only, skip prompts and images
--prompts-onlyGenerate storyboard + prompts, skip images
--images-onlyGenerate images from existing prompts directory
--regenerate NRegenerate specific page(s) only (e.g., 3 or 2,5,8)

Details: references/partial-workflows.md

Art Styles (画风)

Style中文Description
ligne-claire清线Uniform lines, flat colors, European comic tradition (Tintin, Logicomix)
manga日漫Large eyes, manga conventions, expressive emotions
realistic写实Digital painting, realistic proportions, sophisticated
ink-brush水墨Chinese brush strokes, ink wash effects
chalk粉笔Chalkboard aesthetic, hand-drawn warmth

Tones (基调)

Tone中文Description
neutral中性Balanced, rational, educational
warm温馨Nostalgic, personal, comforting
dramatic戏剧High contrast, intense, powerful
romantic浪漫Soft, beautiful, decorative elements
energetic活力Bright, dynamic, exciting
vintage复古Historical, aged, period authenticity
action动作Speed lines, impact effects, combat

Preset Shortcuts

Presets with special rules beyond art+tone:

PresetEquivalentSpecial Rules
--style ohmsha--art manga --tone neutralVisual metaphors, NO talking heads, gadget reveals
--style wuxia--art ink-brush --tone actionQi effects, combat visuals, atmospheric elements
--style shoujo--art manga --tone romanticDecorative elements, eye details, romantic beats

Compatibility Matrix

Art Style✓✓ Best✓ Works✗ Avoid
ligne-claireneutral, warmdramatic, vintage, energeticromantic, action
manganeutral, romantic, energetic, actionwarm, dramaticvintage
realisticneutral, warm, dramatic, vintageactionromantic, energetic
ink-brushneutral, dramatic, action, vintagewarmromantic, energetic
chalkneutral, warm, energeticvintagedramatic, action, romantic

Details: references/auto-selection.md

Auto Selection

Content signals determine default art + tone + layout (or preset):

Content SignalsRecommended
Tutorial, how-to, programming, educationalohmsha preset
Pre-1950, classical, ancientrealistic + vintage
Personal story, mentorligne-claire + warm
Martial arts, wuxiawuxia preset
Romance, school lifeshoujo preset
Biography, balancedligne-claire + neutral

When preset is recommended: Load references/presets/{preset}.md and apply all special rules.

Details: references/auto-selection.md

Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.ts
  3. Replace all ${SKILL_DIR} in this document with the actual path

Script Reference:

ScriptPurpose
scripts/merge-to-pdf.tsMerge comic pages into PDF

File Structure

Output directory: comic/{topic-slug}/

  • Slug: 2-4 words kebab-case from topic (e.g., alan-turing-bio)
  • Conflict: append timestamp (e.g., turing-story-20260118-143052)

Contents:

FileDescription
source-{slug}.{ext}Source files
analysis.mdContent analysis
storyboard.mdStoryboard with panel breakdown
characters/characters.mdCharacter definitions
characters/characters.pngCharacter reference sheet
prompts/NN-{cover|page}-[slug].mdGeneration prompts
NN-{cover|page}-[slug].pngGenerated images
{topic-slug}.pdfFinal merged PDF

Language Handling

...

Read full content

Repository Stats

Stars2.7K
Forks308