story-generator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseStory Generator
故事生成器
This skill generates complete graphic novel narratives about physicists and scientists for intelligent textbooks built with MkDocs Material.
该技能可为基于MkDocs Material搭建的智能教材生成完整的物理学家及科学家漫画叙事内容。
When to Use This Skill
适用场景
Use this skill when:
- The user requests a new graphic novel story about a scientist or physicist
- Adding a story to a Physics History Graphic Novels section
- Creating educational narrative content with image prompts for AI image generation
- The user mentions "story", "graphic novel", or "narrative" about a historical scientist
在以下场景中使用此技能:
- 用户请求创作关于科学家或物理学家的新漫画故事时
- 为「物理史漫画」板块添加故事时
- 创作带有AI图像生成提示词的教育叙事内容时
- 用户提及关于历史科学家的「故事」「漫画」或「叙事内容」时
Story Structure
故事结构
Each story follows a consistent structure designed to engage high school students:
每个故事都遵循统一结构,以吸引高中生的注意力:
Required Components
必备组件
- YAML Frontmatter - Title, description, social media image paths
- Cover Image - With detailed generation prompt in block
<details> - Narrative Prompt - Background context for generating the story
- Prologue - Hook introducing the scientist's significance
- Chapters (12-14) - Each with narrative text, image placeholder, and image prompt
- Epilogue - Lessons table summarizing what made the scientist successful
- Call to Action - Inspiring message connecting to readers
- Quotes - 2-3 memorable quotes from the scientist
- References - Academic sources (can use placeholders initially)
- YAML Frontmatter - 标题、描述、社交媒体图片路径
- 封面图 - 在块中包含详细的生成提示词
<details> - 叙事提示词 - 用于生成故事的背景上下文
- 序章 - 引入科学家重要性的钩子内容
- 章节(12-14章) - 每章包含叙事文本、图片占位符和图像提示词
- 尾声 - 总结科学家成功要素的表格
- 行动号召 - 连接读者的励志寄语
- 名言 - 2-3句科学家的经典名言
- 参考文献 - 学术来源(初期可使用占位符)
Image Prompt Requirements
图像提示词要求
Every image prompt must specify:
- Wide-landscape 16:9 format
- Period-appropriate art style (e.g., "Victorian", "Art Nouveau", "Renaissance")
- Specific scene details and characters
- Color palette guidance
- Emotional tone and mood
每张图片的提示词必须明确:
- 宽屏横向16:9格式
- 符合时代的艺术风格(例如:「维多利亚风格」「新艺术风格」「文艺复兴风格」)
- 具体的场景细节和人物
- 色彩调色板指引
- 情感基调与氛围
Workflow
工作流程
Step 1: Gather Information
步骤1:收集信息
Before writing, identify:
- The scientist's name and birth/death years
- Key discoveries or contributions
- Central theme (e.g., "overcoming doubters", "persistence through failure")
- Historical period and appropriate art style
- 3-5 key life events that form the narrative arc
开始写作前,确认以下信息:
- 科学家的姓名及生卒年份
- 关键发现或贡献
- 核心主题(例如:「质疑声中前行」「在失败中坚持」)
- 历史时期及对应的艺术风格
- 构成叙事主线的3-5个关键人生事件
Step 2: Create Story Directory
步骤2:创建故事目录
bash
mkdir -p docs/stories/<scientist-name>Use lowercase with hyphens for directory names (e.g., , ).
nikola-teslamarie-curiebash
mkdir -p docs/stories/<scientist-name>目录名使用小写字母加连字符(例如:, )。
nikola-teslamarie-curieStep 3: Write the Story
步骤3:撰写故事
Create with the following structure:
docs/stories/<scientist-name>/index.mdmarkdown
---
title: <Catchy Title> - <Scientist Name>'s <Theme>
description: A graphic-novel story of how <brief description>...
image: /stories/<scientist-name>/cover.png
og:image: /stories/<scientist-name>/cover.png
twitter:image: /stories/<scientist-name>/cover.png
social:
cards: false
---创建,并遵循以下结构:
docs/stories/<scientist-name>/index.mdmarkdown
---
title: <吸睛标题> - <科学家姓名>的<主题>
description: 这是一则关于<简要描述>的漫画故事...
image: /stories/<scientist-name>/cover.png
og:image: /stories/<scientist-name>/cover.png
twitter:image: /stories/<scientist-name>/cover.png
social:
cards: false
---<Catchy Title>: <Subtitle>
<吸睛标题>:<副标题>


Prologue – <Hook Title>
序章 – <钩子标题>
[Opening narrative establishing the scientist's importance]

[介绍科学家重要性的开篇叙事]

Chapter 1 – <Chapter Title>
第1章 – <章节标题>
[Chapter narrative...]

[Continue for 12-14 chapters...]
[章节叙事内容...]

[持续创作12-14章...]
Epilogue – What Made <Scientist> Different?
尾声 – <科学家>的成功秘诀
[Summary of lessons learned]
| Challenge | How <Scientist> Responded | Lesson for Today |
|---|---|---|
| ... | ... | ... |
[总结学到的经验]
| 挑战 | <科学家>的应对方式 | 当代启示 |
|---|---|---|
| ... | ... | ... |
Call to Action
行动号召
[Inspiring message connecting to readers]
"Quote from scientist"
—<Scientist Name>
[连接读者的励志寄语]
"科学家名言"
—<科学家姓名>
References
参考文献
- Title - Description [Continue with 4-6 references]
**Important:** Always use `.png` extension for image references (not `.jpg`).- 标题 - 描述 [继续添加4-6条参考文献]
**注意:** 图片引用请始终使用`.png`格式(不要用`.jpg`)。Step 4: Add to Navigation
步骤4:添加到导航栏
Edit to add the story in chronological order by birth year:
mkdocs.ymlyaml
- Stories:
- Overview: stories/index.md
- <Scientist Name> - <Title>: stories/<scientist-name>/index.mdReference chronological order:
- Archimedes (287 BC)
- Galileo (1564)
- Newton (1643)
- Faraday (1791)
- Tesla (1856)
- Marie Curie (1867)
- Rutherford (1871)
- Lise Meitner (1878)
- Einstein (1879)
- Chien-Shiung Wu (1912)
- Vera Rubin (1928)
编辑,按出生年份 chronological order添加故事:
mkdocs.ymlyaml
- Stories:
- Overview: stories/index.md
- <Scientist Name> - <Title>: stories/<scientist-name>/index.md参考时间顺序:
- 阿基米德(公元前287年)
- 伽利略(1564年)
- 牛顿(1643年)
- 法拉第(1791年)
- 特斯拉(1856年)
- 玛丽·居里(1867年)
- 卢瑟福(1871年)
- 莉泽·迈特纳(1878年)
- 爱因斯坦(1879年)
- 吴健雄(1912年)
- 维拉·鲁宾(1928年)
Step 5: Add Grid Card to Stories Index
步骤5:在故事首页添加网格卡片
Edit to add a card using MkDocs Material grid format:
docs/stories/index.mdmarkdown
- **[<Story Title>](<scientist-name>/index.md)**

<2-4 sentence compelling description emphasizing the story's theme>编辑,使用MkDocs Material的网格格式添加卡片:
docs/stories/index.mdmarkdown
- **[<故事标题>](<scientist-name>/index.md)**

<2-4句强调故事主题的引人入胜的描述>Writing Guidelines
写作指南
Target Audience
目标受众
- High school students (grades 9-12)
- Age 14-18
- Introductory physics background
- Reading level: accessible but not dumbed down
- 高中生(9-12年级)
- 年龄14-18岁
- 具备基础物理知识
- 阅读水平:通俗易懂但不过于低幼
Narrative Style
叙事风格
- Use active voice and vivid descriptions
- Include dialogue when historically appropriate
- Balance drama with educational accuracy
- Emphasize the human story behind discoveries
- Show struggles, failures, and persistence
- Connect historical events to modern technology
- 使用主动语态和生动描述
- 在符合史实的前提下加入对话
- 平衡戏剧冲突与教育准确性
- 强调发现背后的人文故事
- 展现奋斗、失败与坚持
- 连接历史事件与现代科技
Theme Development
主题设定
Choose a central theme that resonates with teenagers:
- Overcoming doubters and skeptics
- Persistence through failure
- Self-education and curiosity
- Fighting against discrimination
- Seeing what others couldn't see
- Staying humble despite success
选择能引起青少年共鸣的核心主题:
- 克服质疑与偏见
- 在失败中坚持
- 自主学习与好奇心
- 对抗歧视
- 发现他人未察觉的事物
- 成功后保持谦逊
Historical Accuracy
史实准确性
- Research key dates, events, and relationships
- Use historically accurate details in image prompts
- Note any creative liberties in the narrative prompt
- Include verifiable quotes when possible
- 研究关键日期、事件和人物关系
- 在图像提示词中使用符合史实的细节
- 在叙事提示词中注明任何艺术加工的部分
- 尽可能使用可查证的名言
Art Style Reference by Era
按时代划分的艺术风格参考
| Era | Suggested Art Style |
|---|---|
| Ancient (before 500 AD) | Classical Mediterranean, mosaic-inspired |
| Renaissance (1400-1600) | Italian Renaissance, warm lighting |
| Enlightenment (1600-1800) | Baroque, Dutch Golden Age |
| Victorian (1800-1900) | Pre-Raphaelite, industrial |
| Gilded Age (1870-1900) | Art Nouveau, American industrial |
| Early Modern (1900-1950) | Art Deco, Modernist |
| Mid-Century (1950-1980) | Atomic Age, clean lines |
| Contemporary | Photorealistic with period elements |
| 时代 | 推荐艺术风格 |
|---|---|
| 古代(公元500年前) | 地中海古典风格、马赛克风 |
| 文艺复兴(1400-1600年) | 意大利文艺复兴风格、暖色调光线 |
| 启蒙运动(1600-1800年) | 巴洛克风格、荷兰黄金时代风格 |
| 维多利亚时代(1800-1900年) | 前拉斐尔派、工业风 |
| 镀金时代(1870-1900年) | 新艺术风格、美国工业风 |
| 早期现代(1900-1950年) | 装饰艺术风格、现代主义 |
| 中期现代(1950-1980年) | 原子时代风格、简洁线条 |
| 当代 | 写实风格搭配时代元素 |
Checklist
检查清单
After completing a story, verify:
- Story directory created:
docs/stories/<name>/ - has full narrative and all image prompts
index.md - All image references use extension
.png - YAML frontmatter has title, description, and image paths
- Added to navigation in chronological order
mkdocs.yml - Grid card added to
docs/stories/index.md - 12-14 chapters with consistent structure
- Epilogue includes lessons table
- References section present (placeholders OK initially)
- Image prompts specify 16:9 format and period style
完成故事后,请验证:
- 已创建故事目录:
docs/stories/<name>/ - 包含完整叙事和所有图像提示词
index.md - 所有图片引用使用格式
.png - YAML Frontmatter包含标题、描述和图片路径
- 已按时间顺序添加到导航栏
mkdocs.yml - 已在中添加网格卡片
docs/stories/index.md - 包含12-14章结构统一的内容
- 尾声包含经验总结表格
- 存在参考文献板块(初期可使用占位符)
- 图像提示词明确了16:9格式和符合时代的艺术风格