with one click
comic-generator
知识漫画生成器,支持多种风格(Ligne Claire/漫画教程风/武侠风等)。将文章/教程/人物传记转换为漫画形式。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
知识漫画生成器,支持多种风格(Ligne Claire/漫画教程风/武侠风等)。将文章/教程/人物传记转换为漫画形式。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | comic-generator |
| description | 知识漫画生成器,支持多种风格(Ligne Claire/漫画教程风/武侠风等)。将文章/教程/人物传记转换为漫画形式。 |
| allowed-tools | Bash, Read, Write, Edit, Glob, Grep, TodoWrite |
将知识内容转换为漫画形式,支持多种风格和布局。
# 基础用法
/comic-generator article.md
# 指定风格
/comic-generator article.md --style ohmsha
# 指定布局
/comic-generator article.md --style classic --layout cinematic
# 指定比例
/comic-generator article.md --aspect 4:3
| 风格 | 说明 | 适用内容 |
|---|---|---|
| classic | Ligne Claire 传统欧漫 | 人物传记、历史 |
| ohmsha | 日式教程漫画(哆啦A梦风) | 技术教程、科普 |
| dramatic | 戏剧性高对比 | 冲突、转折点 |
| warm | 温暖柔和 | 个人故事、成长 |
| sepia | 复古棕褐色调 | 历史、回忆 |
| vibrant | 鲜艳活泼 | 儿童内容、趣味科普 |
| realistic | 写实风格 | 商业、专业内容 |
| wuxia | 武侠水墨风 | 武侠、中国历史 |
| shoujo | 少女漫画风 | 情感、校园 |
| 布局 | 分镜数 | 说明 |
|---|---|---|
| standard | 4-6 | 标准网格,通用 |
| cinematic | 3-4 | 电影感宽幅 |
| dense | 6-9 | 密集信息 |
| splash | 1-2 | 全页大图 |
| mixed | 3-6 | 混合大小 |
| webtoon | 3-5 | 竖向滚动 |
| 比例 | 说明 |
|---|---|
| 3:4 | 竖版(默认) |
| 4:3 | 横版 |
| 16:9 | 宽屏 |
| 内容信号 | 推荐风格 | 推荐布局 |
|---|---|---|
| 教程、入门、指南 | ohmsha | webtoon |
| 编程、AI、技术 | ohmsha | dense |
| 历史、古代 | sepia | cinematic |
| 个人故事、成长 | warm | standard |
| 冲突、突破 | dramatic | splash |
| 武侠、仙侠 | wuxia | splash |
| 情感、校园 | shoujo | standard |
| 传记 | classic | mixed |
用户输入内容
↓
┌─────────────────────────┐
│ 分析内容 │
│ - 目标受众 │
│ - 核心主题 │
│ - 关键人物 │
│ - 推荐页数(5-25页) │
│ - 推荐风格+布局 │
└─────────────────────────┘
↓
输出: analysis.md
┌─────────────────────────┐
│ 生成角色 │
│ - 主角设计 │
│ - 配角设计 │
│ - 视觉规范 │
│ - 角色关系图 │
└─────────────────────────┘
↓
输出: characters/
├── characters.md
└── characters.png
┌─────────────────────────┐
│ 生成分镜 │
│ - 封面设计 │
│ - 每页分镜 │
│ - 对话/旁白 │
│ - 视觉提示 │
└─────────────────────────┘
↓
输出: storyboard.md
提供 3 种变体供选择:
┌─────────────────────────┐
│ 批量生成 │
│ - 保存 prompt │
│ - 调用图像 API │
│ - 保持角色一致性 │
└─────────────────────────┘
↓
输出: 00-cover.png, 01-page.png, ...
# 自动合并所有页面为 PDF
comic/{topic-slug}/
├── source.md # 源内容
├── analysis.md # 内容分析
├── characters/
│ ├── characters.md # 角色规范
│ └── characters.png # 角色参考图
├── storyboard.md # 分镜脚本
├── prompts/
│ ├── 00-cover.md
│ └── NN-page-{slug}.md
├── 00-cover.png # 封面
├── 01-page-{slug}.png # 内容页
├── ...
└── {topic-slug}.pdf # 最终 PDF
/comic-generator regenerate comic/turing-story/ --page 03
/comic-generator add comic/turing-story/ --after 03 --content "新增内容描述"
/comic-generator delete comic/turing-story/ --page 05
import sys
sys.path.insert(0, str(Path.home() / '.claude' / 'skills' / 'shared-lib'))
from illustration import IllustrationGenerator
gen = IllustrationGenerator()
# 使用 comic 专用风格生成
使用 --style ohmsha 时:
默认使用哆啦A梦角色:
要求:
| 特性 | baoyu-comic | comic-generator |
|---|---|---|
| 风格数量 | 9种 | 9种(相同) |
| 布局数量 | 6种 | 6种(相同) |
| 共享库 | 独立 | 使用 shared-lib |
| PDF 合并 | TypeScript | Python |
| 扩展性 | EXTEND.md | YAML 配置 |
references/styles/ - 风格定义references/layouts/ - 布局定义references/storyboard-template.md - 分镜模板references/character-template.md - 角色模板多风格文档写作技能。支持乔木、小红书、Dankoe、微信公众号、Twitter等5种写作风格。Claude 根据内容智能选择风格,按规范撰写文章。
统一配图技能,支持文章配图、封面生成、小红书图片系列、单图修改/添加/删除、3变体风格预览。20种风格×多种布局。
Convert markdown documents to PDF with optional illustrations. Can automatically call illustration-generator if images are missing. Supports Chinese fonts and custom styling.
生成自然真实的双人访谈播客,使用共享TTS模块支持3种引擎(Edge TTS / IndexTTS2 / MiniMax)和情感控制
生成专业 PPT 演示文稿,支持 22 种风格,自动根据内容选择最佳风格,输出到 ~/ppt-output/
Intelligently compress and rewrite documents into TTS-friendly scripts. Uses Claude AI to analyze content, compress to target duration, convert to spoken style with emotional language, and auto-segment. Perfect for video narration.