beautiful-article
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBeautiful Article
Beautiful Article
背景原则
Background Principles
AI 生成内容越复杂,输出媒介越重要。HTML 的价值在于同时提升信息密度、视觉清晰度、分享便利性和交互能力:表格、SVG、CSS、代码片段、可调控件、复制与导出按钮,可以让读者不只是“看完”,而是能比较、定位、调整、复查和继续使用。Beautiful Article 的目的,是把原本枯燥、线性、难以消化的文字材料,转换成视觉体验更漂亮、阅读节奏更清晰、也更容易审阅和分享的单文件网页文章。
The more complex the AI-generated content, the more important the output medium. The value of HTML lies in simultaneously enhancing information density, visual clarity, sharing convenience, and interactivity: tables, SVG, CSS, code snippets, adjustable controls, copy and export buttons allow readers not just to "finish reading", but to compare, locate, adjust, review, and continue using the content. The purpose of Beautiful Article is to transform originally dull, linear, hard-to-digest textual materials into single-file web articles with better visual experience, clearer reading rhythm, and easier review and sharing.
边界(先判断要不要进这个 Skill)
Boundaries (First Judge Whether to Enter This Skill)
- 最终主产物是 single HTML 文章,不是网页应用。
- 文章可以有 自由层(任意 HTML / CSS / JS / React:交互、布局排版、动效、小工具、 按需的 SVG / canvas 图解),但必须服务阅读、解释、论证、节奏或审美。
Raw - 不生成:后台、表单、拖拽工作台、完整 dashboard、产品原型、通用 Web App。
- 信息密度由用户确认;默认保留 100% 信息,生成长文式网页文章。
如果用户要的是应用而不是文章,停下来澄清,不要进入本 Skill。
- The final main product is a single HTML article, not a web application.
- The article can have a free layer (any HTML / CSS / JS / React: interactions, layout typesetting, animations, small tools, on-demand SVG / canvas illustrations), but it must serve reading, explanation, argumentation, rhythm, or aesthetics.
Raw - Do not generate: backends, forms, drag-and-drop workbenches, complete dashboards, product prototypes, or general web apps.
- Information density is confirmed by the user; 100% information retention is default, producing long-form web articles.
If the user wants an application instead of an article, stop and clarify, do not enter this Skill.
工作流总览
Workflow Overview
Phase 0 Intake 判断是否进入本 Skill + 初步文章类型
▼
Phase 1 Source → Markdown URL/PDF/DOCX/MD/文本 → source.md + extraction-notes.md
└ 主 Agent 内联 5 条 checklist 自查(仅复杂/低置信源升级 SubAgent)
▼
Phase 2 Editorial Planning 一份 plan.md(Brief / Outline / Theme / Assets 四段)
└ 主 Agent 内联自查(无 SubAgent、无 review 文件)
▼
Phase 3 Plan Checkpoint ★Checkpoint 1 必须停。逐项确认 5 件事:文章类型(含标配保留比例)/ 主题 / 版式 / 配图模式 / 封面
▼
Phase 4 First Spread 首屏 + 第一节 + 一个代表性视觉块(脚手架在此创建)
└ First Spread Reviewer SubAgent(写 review/first-spread-review.md)
└ ★Checkpoint 2 必须停。逐项确认 2 件事:验收结论 / 开发模式 A/B
▼
Phase 5 Full Article Build 生成完整网页文章(默认单 Agent,超长可按 Section 隔离)
└ Section Reviewer SubAgent(以消息返回 pass/fail,无须写 review 文件)
▼
Phase 6 Final Review Editorial / Visual / Technical 三视角终审(写 review/final-review.md)
▼
Phase 7 Repair 最小切片修复,有修复才写 repair-log.md
▼
Phase 8 Delivery ★Checkpoint 3 必须停。逐项确认交付决策 → 交付 article.html + 简短编辑说明工作区结构(脚手架创建;这些文件是 Skill 的长期记忆,不要只依赖聊天上下文记决策):
text
<workspace>/
source/ original.* source.md source.<lang>.md(需翻译时) extraction-notes.md
plan/ plan.md # 单一规划文件:Brief / Outline / Theme / Assets 四段
article/ Cover.tsx(默认) Article.tsx sections/ raw-blocks/ assets/ article.html(产物)
review/ first-spread-review.md final-review.md # 仅这两份是常规产物
source-review.md(仅复杂源) repair-log.md(仅有修复时)
index.html package.json vite.config.ts tsconfig*.json (构建工装)Phase 0 Intake Judge whether to enter this Skill + preliminary article type
▼
Phase 1 Source → Markdown URL/PDF/DOCX/MD/text → source.md + extraction-notes.md
└ Main Agent inline 5 checklist items for self-inspection (only upgrade to SubAgent for complex/low-confidence sources)
▼
Phase 2 Editorial Planning A plan.md (four sections: Brief / Outline / Theme / Assets)
└ Main Agent inline self-inspection (no SubAgent, no review files)
▼
Phase 3 Plan Checkpoint ★Checkpoint 1 Must stop. Confirm 5 items one by one: article type (including standard retention ratio) / theme / layout / image mode / cover
▼
Phase 4 First Spread First screen + first section + one representative visual block (scaffold created here)
└ First Spread Reviewer SubAgent (write review/first-spread-review.md)
└ ★Checkpoint 2 Must stop. Confirm 2 items one by one: acceptance conclusion / development mode A/B
▼
Phase 5 Full Article Build Generate complete web article (default single Agent, can be isolated by Section for extra-long articles)
└ Section Reviewer SubAgent (return pass/fail via message, no need to write review files)
▼
Phase 6 Final Review Three-perspective final review: Editorial / Visual / Technical (write review/final-review.md)
▼
Phase 7 Repair Minimal slice repair, write repair-log.md only if there are repairs
▼
Phase 8 Delivery ★Checkpoint 3 Must stop. Confirm delivery decisions one by one → deliver article.html + brief editing instructionsWorkspace structure (created by scaffold; these files are the long-term memory of the Skill, do not rely only on chat context to remember decisions):
text
<workspace>/
source/ original.* source.md source.<lang>.md(when translation is needed) extraction-notes.md
plan/ plan.md # Single planning file: four sections of Brief / Outline / Theme / Assets
article/ Cover.tsx(default) Article.tsx sections/ raw-blocks/ assets/ article.html(product)
review/ first-spread-review.md final-review.md # Only these two are regular products
source-review.md(only for complex sources) repair-log.md(only when there are repairs)
index.html package.json vite.config.ts tsconfig*.json (build tools)硬性质检协议(贯穿整个 Skill)
Rigid Quality Inspection Protocol (Throughout the Skill)
质检方式按节点区分 —— 不是所有质检都要开 SubAgent,也不是所有质检都要写文件。
误开 SubAgent / 误写文件是首要性能问题,按下表严格执行:
| 节点 | 质检方式 | 产物 | 为什么 |
|---|---|---|---|
| Phase 1 Source(默认) | 主 Agent 内联 5 条 checklist | 无文件 | 主 Agent 反正要通读 source.md |
| Phase 1 Source(仅复杂/低置信源) | Source Reviewer SubAgent(对照 | | 静默丢失只能 diff 抓到 |
| Phase 2 Plan / Checkpoint 1 前 | 主 Agent 内联自查(禁止开 SubAgent) | 无文件 | plan 是文字决策且 200-400 行,上下文是热的,SubAgent 冷启反而更慢 |
| Phase 4 First Spread / Checkpoint 2 前 | First Spread Reviewer SubAgent | | 首屏定调,多一道独立眼睛更稳 |
| Phase 5 每个 Section | Section Reviewer SubAgent | 以消息返回 pass/fail + 修复点(不写文件) | 一篇可能 5-15 节,N 份 review 文件无人再读 |
| Phase 6 终审 / Checkpoint 3 前 | Editorial + Visual + Technical Reviewer SubAgent | | 交付物的一部分,留档有价值 |
铁律:
- Plan Checkpoint(Phase 2 → Checkpoint 1)严禁开 SubAgent 做质检。主 Agent 写完 plan.md
后就地对照 5 条清单(见 的 Plan 自查段)核查、按结论 改完
references/review-checklist.md,不要写任何 review 文件,然后进入 Checkpoint 1。plan/plan.md - First Spread / Final 必须用 SubAgent(这两个节点 SubAgent 价值 > 开销);只有探测不到 SubAgent 环境才由主 Agent 兜底,并在文件首注明"无 SubAgent 环境,主 Agent 兜底"。
- Section Reviewer 用 SubAgent,但返回值是消息(pass / fail + 修复点);fail 项主 Agent
收到后直接修,不要让 SubAgent 写 文件。
review/section-NN-review.md - 拿到任何质检结论 —— 先按 fail 项把产出改完,再汇报"做完了 + 自检结论 + 改了什么"。 直接拿原始结论汇报但不修复 = 违规。
- 决策收集铁律 · 禁止静默替用户选择:在每个 Checkpoint(1 / 2 / 3),所有需要用户确认的
决策项必须每项独立列出 + 等用户答复。Agent 可以推荐("我推荐 X,因为 …"),但
不能"已经替你定了 X,如果不对再说" —— 这等于剥夺选择机会。
- 优先:如果环境有 工具,每个决策项作为一个独立 question(一次调用可 传多个 question),用户能用选择卡逐项确认。
AskQuestion - 否则:停下来在消息里把所有问题编号列出(每个问题独占一段、写清推荐项 + 理由 + 备选项),明确说"我等你逐项答复后再继续",不要继续做任何后续工作。
- 绝不:把多项决策打包成一个"全选我推荐的 / 全部 OK 吗?"yes/no 问题;也不要在 "推荐一句话"后默认直接进下一步。
- 优先:如果环境有
各节点的 checklist 与 SubAgent prompt 模板见 。
references/review-checklist.mdQuality inspection methods vary by node —— not all inspections require starting a SubAgent, nor do all require writing files.
Incorrectly starting a SubAgent / incorrectly writing files is the primary performance issue, strictly follow the table below:
| Node | Inspection Method | Product | Reason |
|---|---|---|---|
| Phase 1 Source (Default) | Main Agent inline 5 checklist items | No files | The Main Agent has to read source.md anyway |
| Phase 1 Source (Only for complex/low-confidence sources) | Source Reviewer SubAgent (diff against | | Silent loss can only be caught via diff |
| Phase 2 Plan / Before Checkpoint 1 | Main Agent inline self-inspection (Prohibit starting SubAgent) | No files | The plan is a text-based decision with 200-400 lines, the context is hot, cold-starting a SubAgent is slower |
| Phase 4 First Spread / Before Checkpoint 2 | First Spread Reviewer SubAgent | | The first screen sets the tone, an extra independent check is more reliable |
| Phase 5 Each Section | Section Reviewer SubAgent | Return pass/fail + repair points via message (no files) | An article may have 5-15 sections, N review files will not be read again |
| Phase 6 Final Review / Before Checkpoint 3 | Editorial + Visual + Technical Reviewer SubAgent | | It is part of the deliverable, valuable for archiving |
Iron Rules:
- Plan Checkpoint (Phase 2 → Checkpoint 1) Prohibit starting SubAgent for quality inspection. After the Main Agent finishes writing plan.md, on-site check against the 5-item checklist (see the Plan self-inspection section in ), revise
references/review-checklist.mdaccording to the conclusion, do not write any review files, then enter Checkpoint 1.plan/plan.md - First Spread / Final Review must use SubAgent (the value of SubAgent at these two nodes > cost); only if the SubAgent environment is not detectable, the Main Agent will take over, and note "No SubAgent environment, Main Agent takes over" at the top of the file.
- Section Reviewer uses SubAgent, but the return value is a message (pass / fail + repair points); when receiving fail items, the Main Agent directly fixes them, do not let SubAgent write files.
review/section-NN-review.md - After receiving any quality inspection conclusion —— first revise the output according to the fail items, then report "completed + self-inspection conclusion + changes made". Reporting the original conclusion directly without fixing = violation.
- Iron Rule for Decision Collection · Prohibit Silent Selection for Users: At each Checkpoint (1 / 2 / 3), all decision items requiring user confirmation must be listed independently + wait for user reply. The Agent can make recommendations ("I recommend X because …"), but cannot say "I've already decided X for you, let me know if it's wrong" —— this deprives the user of the right to choose.
- Priority: If the environment has the tool, each decision item is treated as an independent question (multiple questions can be passed in one call), and the user can confirm each item via selection cards.
AskQuestion - Otherwise: Stop and list all questions numbered in the message (each question occupies a separate paragraph, clearly stating the recommended option + reason + alternatives), explicitly say "I will wait for your item-by-item reply before continuing", do not proceed with any subsequent work.
- Never: Package multiple decisions into a single "Accept all my recommendations / All OK?" yes/no question; also do not proceed to the next step by default after a "recommendation sentence".
- Priority: If the environment has the
Checklists and SubAgent prompt templates for each node can be found in .
references/review-checklist.md各阶段文件读取指南(渐进加载,别一次全读)
File Reading Guide for Each Phase (Progressive Loading, Do Not Read All at Once)
| 阶段 | 必读 | 按需查 |
|---|---|---|
| Phase 0 Intake | | —— |
| Phase 1 Source→MD | | |
| Phase 2 Planning | | |
| Phase 4 First Spread / Phase 5 Build(每节回看) | | |
| Phase 6/7 Review & Repair | | —— |
| Phase 8 Delivery | | |
长会话里 agent 容易遗忘原则 —— Phase 5 会重复实现 N 个 Section,每次开工 前回看+component-policy.md+ 当前主题raw-policy.md。theme-profiles/<id>.md
| Phase | Must Read | Read On Demand |
|---|---|---|
| Phase 0 Intake | | —— |
| Phase 1 Source→MD | | |
| Phase 2 Planning | | |
| Phase 4 First Spread / Phase 5 Build (Review before each section) | | |
| Phase 6/7 Review & Repair | | —— |
| Phase 8 Delivery | | |
Agents tend to forget principles in long sessions —— Phase 5 will implement N Sections repeatedly, review+component-policy.md+ current themeraw-policy.mdbefore starting each time.theme-profiles/<id>.md
Phase 0 —— Intake
Phase 0 —— Intake
判断是否进入本 Skill,给出初步文章类型与输出模式(默认 single HTML)。
| 用户给的东西 | 该做的 |
|---|---|
| 一个或多个素材(URL/PDF/DOCX/MD/文本/截图) | 进入 Phase 1 |
| 只说"帮我做篇 X 文章"但没素材 | 反问:先要素材或大纲。Skill 不替用户凭空构思内容 |
| 明显要的是应用 / 工具 / dashboard | 停下来澄清,不进入本 Skill |
捕获目标语言:开场就记录用户期望的最终文章语言(如用户提到"用中文/做成英文版"等)。
- 用户指定了语言 → 记进 Brief 段的"目标语言"。若与源材料语言不一致,Phase 1 需先产出一份地道翻译版源文,后续基于翻译版编写(见 Phase 1)。
plan/plan.md - 用户未指定 → 默认最终文章语言跟随源材料语言,不做翻译。
自检:用户要的是文章还是网页应用?是否需要完整信息?是否要先索取更多素材?
用户有没有指定最终语言?与源语言是否一致?
Judge whether to enter this Skill, give preliminary article type and output mode (default single HTML).
| User Provided Content | Actions to Take |
|---|---|
| One or more materials (URL/PDF/DOCX/MD/text/screenshot) | Enter Phase 1 |
| Only says "Help me write an X article" but no materials | Ask back: Request materials or outline first. The Skill does not create content out of thin air for users |
| Clearly wants an application / tool / dashboard | Stop and clarify, do not enter this Skill |
Capture Target Language: Record the user's expected final article language at the beginning (e.g., if the user mentions "use Chinese / make it English version").
- User specified language → Record in the "Target Language" section of the Brief in . If it is inconsistent with the source material language, Phase 1 needs to first produce a natural translation of the source text, and subsequent work will be based on the translated version (see Phase 1).
plan/plan.md - User did not specify → Default to final article language follows source material language, no translation.
Self-inspection: Does the user want an article or a web application? Is full information retention required? Do you need to request more materials first? Did the user specify the final language? Is it consistent with the source language?
Phase 1 —— Source → Markdown
Phase 1 —— Source → Markdown
把任意输入统一成 ,把不确定项写进 。
规则与各类输入处理见 ;可借助
MarkItDown 主路径或轻量 fallback 脚本做 PDF/DOCX/HTML 抽取。
source/source.mdsource/extraction-notes.mdreferences/source-to-markdown.md落盘后由主 Agent 内联自查( 的 5 条 checklist),按结论修复
再进入 Phase 2;仅当 标记低置信 / 复杂源时,才升级为独立 Source Reviewer
SubAgent 并对照 做 diff 式核查(写 )。
references/source-to-markdown.mdextraction-notes.mdoriginal.*review/source-review.md语言处理(紧接抽取之后):判断 的语言。
source.md- 用户未指定目标语言,或目标语言与源一致 → 不翻译,后续直接基于 编写, 最终文章语言 = 源语言。
source.md - 用户指定了目标语言且与源不一致 → 先产出地道翻译版 (如
source/source.<lang>.md/source.zh.md),作为后续 Phase 2+ 的事实底座;原文source.en.md保留 备查。翻译要求:用地道的目标语言、去除翻译腔(按目标语言的表达习惯重组句子,不逐字直译, 不留生硬的外语语序 / 被动堆叠 / 异国标点),术语 / 数字 / 代码 / 公式 / 引用保持准确,结构与 信息保留比例不变。翻译说明写进source.md。extraction-notes.md
Unify any input into , write uncertain items into .
Rules and processing for various inputs can be found in ; you can use the MarkItDown main path or lightweight fallback scripts for PDF/DOCX/HTML extraction.
source/source.mdsource/extraction-notes.mdreferences/source-to-markdown.mdAfter saving to disk, the Main Agent performs inline self-inspection (5 checklist items in ), fixes according to the conclusion, then enters Phase 2; only when marks low-confidence / complex sources, upgrade to an independent Source Reviewer SubAgent and perform diff-based inspection against (write ).
references/source-to-markdown.mdextraction-notes.mdoriginal.*review/source-review.mdLanguage Processing (Immediately after extraction): Determine the language of .
source.md- User did not specify target language, or target language is consistent with source → No translation, subsequent work is directly based on , final article language = source language.
source.md - User specified target language and it is inconsistent with source → First produce a natural translation (e.g.,
source/source.<lang>.md/source.zh.md), which serves as the fact base for subsequent Phase 2+; keep the originalsource.en.mdfor reference. Translation requirements: Use natural target language, eliminate translation腔 (restructure sentences according to the expression habits of the target language, do not translate word-for-word, avoid rigid foreign language word order / passive stacking / non-standard punctuation), keep terms / numbers / code / formulas / references accurate, and maintain the same structure and information retention ratio. Write translation instructions intosource.md.extraction-notes.md
Phase 2 —— Editorial Planning
Phase 2 —— Editorial Planning
形成编辑方案,不直接写 HTML。只产出一份 (四段:Brief / Outline /
Theme / Assets),模板见 :
plan/plan.mdreferences/plan-template.md- Brief:目标读者 / 文章类型 / 信息保留比例 / 必须保留 / 可删减 / 语气 / 主要观点 / 阅读目标 / 目标语言 / 版式宽度 / TOC / 配图策略。
- Outline:Hero / Lead / Summary / Section 列表 / 每节保留哪些信息 / 每节是否需要 Raw·Table·CodeBlock·Formula·Image / 结尾方式。
- Theme:选定主题 + 理由 + 冲突说明(见 )。
references/theme-selection.md - Assets:配图策略与逐图计划(见 ;
references/asset-policy.md模式下本段 写一句话即可)。none
文章类型路由见 ;信息密度与组件比例见
。
references/article-types.mdreferences/information-density.md自检方式 · 强约束:写完 后由主 Agent 内联对照 5 条 Plan 自查清单核查
(见 的 Plan 自查段),按结论改完 ,直接进入
Checkpoint 1,禁止开 SubAgent,禁止写 。
plan/plan.mdreferences/review-checklist.mdplan/plan.mdreview/plan-review.mdFormulate an editorial plan, do not write HTML directly. Only produce one (four sections: Brief / Outline / Theme / Assets), template can be found in :
plan/plan.mdreferences/plan-template.md- Brief: Target readers / article type / information retention ratio / must retain / can delete / tone / main viewpoints / reading goals / target language / layout width / TOC / image strategy.
- Outline: Hero / Lead / Summary / Section list / information to retain in each section / whether each section needs Raw·Table·CodeBlock·Formula·Image / ending method.
- Theme: Selected theme + reason + conflict explanation (see ).
references/theme-selection.md - Assets: Image strategy and item-by-item image plan (see ; write one sentence in this section for
references/asset-policy.mdmode).none
Article type routing can be found in ; information density and component ratio can be found in .
references/article-types.mdreferences/information-density.mdSelf-inspection Method · Strong Constraint: After writing , the Main Agent inline checks against the 5-item Plan self-inspection checklist (see the Plan self-inspection section in ), revises according to the conclusion, directly enter Checkpoint 1, prohibit starting SubAgent, prohibit writing .
plan/plan.mdreferences/review-checklist.mdplan/plan.mdreview/plan-review.mdPhase 3 —— Plan Checkpoint(★硬节点 · Checkpoint 1,必须停)
Phase 3 —— Plan Checkpoint (★Hard Node · Checkpoint 1, Must Stop)
铁律:禁止静默替用户选择。每个决策项必须独立列出、独立等用户答复。
可以推荐("我推荐 X,因为 …"),不能说"已经替你定了 X,如果不对告诉我"——后者等于把
默认值偷渡过去、剥夺选择机会。
收集方式(按环境二选一):
- 优先 工具:每项作为一个独立 question 传入(一次调用可传多个 question), 用户用选择卡逐项确认。
AskQuestion - 无 工具:停下来在消息里把每个问题**编号列出 + 独占一段 + 写清推荐项 + 理由
AskQuestion- 备选项**,明确说"我等你逐项答复后再继续",不要继续做任何后续工作。
无论哪种方式:每个独立决策对应一个独立问题,不要打包成"全部 OK 吗?" yes/no。
必须独立确认的 5 项(缺一不可):
| # | 决策项 | 选项(语义化标签 · 含标配信息保留比例) | 备注 |
|---|---|---|---|
| 1 | 文章类型(信息保留比例打包在内) | 完整长文 / 归档 | AI 推荐一个并写一句理由。比例已绑进类型选项,不再单独成题(否则会出现 |
| 2 | 主题 | tufte / press / 其它已注册主题(读 | AI 推荐一个并写一句理由 |
| 3 | 版式宽度 | narrow / regular / wide / full | AI 推荐一个;默认 |
| 4 | 配图模式(必选 · 不允许"默认通过") | none / user-assets / placeholders / ai-generated | 一句话"只决定是否使用外部 |
| 5 | 封面(3:4 书封式题图,位于 TOC + 正文之上) | 开(默认) / 关 | AI 推荐"开",并给一句构图想法(哪种主视觉 + 选哪个封面模板 A/B/C/D/E)。 |
TOC 默认开:因为它只有一个开关 + 几乎所有文章都该开,可以在 Plan Checkpoint 开场说明
里以"默认 TOC 开,要关告诉我"一句话带过,不必单独成题。
已经走默认值、不必单独问的事项(仍然要在开场说明里明示"如要改请告诉我",给用户机会
反悔,不能完全藏起来):
- 最终文章语言:跟随源语言(除非用户已经在前文指定 / 已经翻译完成)。
- 是否允许编辑删减、重组、改写语气:默认允许(按上面的信息保留比例执行)。
- 是否要先看首屏样张:默认会先做(这就是 Phase 4)。
- TOC:默认开。
主题用户说"你定" → 取你推荐的第一个,在选项里仍要把它和其它候选并列,标"默认 · AI
推荐",留反悔余地,不能直接跳过主题问题。
如何偏离信息保留比例的"标配":每个文章类型都自带一个推荐保留比例(见上表)。绝大
多数情况走标配即可。如果用户想精修(比如 "longform 但只要 60%" → 一篇被深度编辑过的长文),
让用户在开场说明后的自由文本里写一句"我要 <类型> + <X%>" 覆盖。AI 收到覆盖后要在
的 Brief 段同时记下"类型 / 标配保留 / 用户覆盖到 X%",并提醒用户这是"非标配
组合"——这类组合需要主 Agent 在写每节时手动调整正文/视觉比例。
plan/plan.mdPlan Checkpoint 开场消息模板(在收集决策之前先发一条简短说明):
plan/plan.md 已经写好(自检通过)。我会逐项跟你确认 5 件事:文章类型 / 主题 / 版式宽度 /
配图模式 / 封面。
我的推荐先放在这里供参考(不会替你选):
- 类型:<X>(含标配信息保留 <Y%>。理由:…)
- 主题:<theme>(理由:…)
- 版式宽度:<width>(理由:…)
- 配图模式:<策略>(理由:…)
- 封面:开 / 关(理由:…;若开,构图想法:…)
默认走但你可以推翻:语言跟随源语言;允许编辑删减重组;TOC 开;接下来会先做首屏样张。
信息保留比例如要偏离类型标配,下面回答完直接告诉我具体百分比(如 "longform 但只要 60%")。
下面逐项请你确认。发完上面这条说明后,立刻用 AskQuestion 传 5 个 question(或在无工具环境下编号列出 5
个问题、停下等答复)。5 项全部收齐答复才能进 Phase 4;若用户在自由文本里给了"非标配保留
比例",先确认 AI 已经记进 再进 Phase 4。
plan/plan.mdIron Rule: Prohibit Silent Selection for Users. Each decision item must be listed independently and wait for user reply independently.
You can make recommendations ("I recommend X because …"), cannot say "I've already decided X for you, let me know if it's wrong" —— the latter sneaks in the default value and deprives the user of the right to choose.
Collection Methods (Choose One According to Environment):
- Priority Tool: Pass each item as an independent question (multiple questions can be passed in one call), and the user confirms each item via selection cards.
AskQuestion - No Tool: Stop and list each question numbered + in a separate paragraph + clearly stating recommended option + reason + alternatives in the message, explicitly say "I will wait for your item-by-item reply before continuing", do not proceed with any subsequent work.
AskQuestion
Regardless of the method: Each independent decision corresponds to one independent question, do not package into "All OK?" yes/no.
5 Items That Must Be Confirmed Independently (No Exceptions):
| # | Decision Item | Options (Semantic Tags · Include Standard Information Retention Ratio) | Notes |
|---|---|---|---|
| 1 | Article Type (information retention ratio is included) | Full long-form / archive | AI recommends one and writes a reason. The ratio is bound to the type option, no separate question (otherwise pseudo-combinations like |
| 2 | Theme | tufte / press / other registered themes (read | AI recommends one and writes a reason |
| 3 | Layout Width | narrow / regular / wide / full | AI recommends one; default |
| 4 | Image Mode (Mandatory · "Default pass" is not allowed) | none / user-assets / placeholders / ai-generated | One sentence: "Only decides whether to use external |
| 5 | Cover (3:4 book-style cover image, located above TOC + main text) | On (default) / Off | AI recommends "On", and gives a composition idea (which main visual + which cover template A/B/C/D/E to choose). |
TOC is On by Default: Since it only has one switch + almost all articles should have it on, you can mention it in the opening explanation of the Plan Checkpoint with "TOC is on by default, let me know if you want to turn it off", no need for a separate question.
Items That Follow Default Values and Do Not Need Separate Questions (still need to explicitly state "Let me know if you want to change" in the opening explanation to give the user a chance to change their mind, cannot hide completely):
- Final article language: Follows source language (unless the user has specified it earlier / translation has been completed).
- Whether editing, deleting, reorganizing, and rewriting tone is allowed: Allowed by default (implemented according to the above information retention ratio).
- Whether to preview the first screen sample first: Yes by default (this is Phase 4).
- TOC: On by default.
If the user says "You decide" for the theme → Select your first recommendation, still list it alongside other candidates in the options, mark "Default · AI Recommended", leave room for regret, cannot skip the theme question directly.
How to Deviate from the "Standard" Information Retention Ratio: Each article type has a recommended retention ratio (see the table above). Most cases can follow the standard. If the user wants to refine (e.g., "longform but only 60%" → a deeply edited long article), let the user write a sentence in the free text after the opening explanation "I want <type> + <X%>" to override. After receiving the override, the AI must record "type / standard retention / user overrides to X%" in the Brief section of , and remind the user that this is a "non-standard combination" —— such combinations require the Main Agent to manually adjust the main text/visual ratio when writing each section.
plan/plan.mdPlan Checkpoint Opening Message Template (Send a Short Explanation Before Collecting Decisions):
plan/plan.md has been written (self-inspection passed). I will confirm 5 items with you one by one: article type / theme / layout width / image mode / cover.
My recommendations are provided for reference (I will not choose for you):
- Type: <X> (includes standard information retention <Y%>. Reason: …)
- Theme: <theme> (Reason: …)
- Layout Width: <width> (Reason: …)
- Image Mode: <strategy> (Reason: …)
- Cover: On / Off (Reason: …; if On, composition idea: …)
Default settings that you can override: Language follows source language; editing, deleting, and reorganizing are allowed; TOC is on; the first screen sample will be made next. If you want to deviate from the standard information retention ratio for the type, tell me the specific percentage directly after answering the questions below (e.g., "longform but only 60%").
Please confirm each item below.After sending the above explanation, immediately pass 5 questions via AskQuestion (or list 5 numbered questions in a non-tool environment and wait for replies). Only enter Phase 4 after receiving all 5 replies; if the user provides a "non-standard retention ratio" in free text, first confirm that the AI has recorded it in before entering Phase 4.
plan/plan.mdPhase 4 —— First Spread(文章版"第一章验收")
Phase 4 —— First Spread ("Chapter 1 Acceptance" for Articles)
先做"封面(若开) + 首屏 + 第一节 + 一个代表性视觉块"。脚手架在这里创建工作区:
bash
undefinedFirst create "Cover (if On) + first screen + first section + one representative visual block". Scaffold creates the workspace here:
bash
undefined默认开封面
Cover is On by default
bash <path-to-beautiful-article>/scripts/scaffold.sh ./my-article --theme=<id>
bash <path-to-beautiful-article>/scripts/scaffold.sh ./my-article --theme=<id>
Checkpoint 1 用户选了"封面 · 关"
User selected "Cover · Off" in Checkpoint 1
bash <path-to-beautiful-article>/scripts/scaffold.sh ./my-article --theme=<id> --no-cover
bash <path-to-beautiful-article>/scripts/scaffold.sh --list-themes
它创建 Vite + React + TS 工作区(从 npm 安装 `reacticle` 最新发布版)+ `source/ plan/
review/` 记忆目录 + assembler `article/Article.tsx` + 一个示例 section 组件
(+ 默认 `article/Cover.tsx`,除非 `--no-cover`)。详见 `references/scaffold.md`。
首屏(Hero / Lead)写进 assembler `article/Article.tsx`;**第一个 Section 必须写成独立组件**
`article/sections/01-*.tsx`(这是后续并行的代码锚点,见 `references/section-build.md`)。
**封面**(若开)替换 `article/Cover.tsx` 里的 `<CoverPlaceholder />` 为按主题 + 文章主旨
定制的图文构图,**外壳(3:4 容器 + 打印分页)不要动**。封面设计指南见 `references/cover.md`。
`npm run dev` 预览。它决定标题气质 / 字号 / 内容密度 / Raw 风格 / 配图方式 / 主题是否合适。
**第一个 Section 完成后,按硬性质检协议创建 First Spread Reviewer SubAgent**,写
`review/first-spread-review.md`(**含封面 5 条自检**,见 `references/cover.md`),改完
再进 Checkpoint 2。
---bash <path-to-beautiful-article>/scripts/scaffold.sh ./my-article --theme=<id> --no-cover
bash <path-to-beautiful-article>/scripts/scaffold.sh --list-themes
It creates a Vite + React + TS workspace (installs the latest released version of `reacticle` from npm) + `source/ plan/ review/` memory directories + assembler `article/Article.tsx` + a sample section component (+ default `article/Cover.tsx`, unless `--no-cover`). See `references/scaffold.md` for details.
Write the first screen (Hero / Lead) into the assembler `article/Article.tsx`; **the first Section must be written as an independent component** `article/sections/01-*.tsx` (this is the code anchor for subsequent parallel development, see `references/section-build.md`). **Cover** (if On) replaces `<CoverPlaceholder />` in `article/Cover.tsx` with a customized image-text composition based on the theme + article主旨, **do not modify the shell (3:4 container + print pagination)**. Cover design guidelines can be found in `references/cover.md`.
Preview with `npm run dev`. It determines the title temperament / font size / content density / Raw style / image mode / whether the theme is appropriate.
**After completing the first Section, create First Spread Reviewer SubAgent according to the Rigid Quality Inspection Protocol**, write `review/first-spread-review.md` (**includes 5 self-inspection items for cover**, see `references/cover.md`), fix before entering Checkpoint 2.
---Checkpoint 2 · First Spread(★硬节点,必须停)
Checkpoint 2 · First Spread (★Hard Node, Must Stop)
让用户验收首屏 + 第一个 Section,并选定后续开发模式。同样适用 Checkpoint 1 的决策收
集铁律:两项独立确认,禁止打包;优先 AskQuestion,无工具则编号列出、停下等答复。
先发一条简短消息:
首屏 + 第一个 Section 做好了,npm run dev 在 localhost 预览。
质检结论见 review/first-spread-review.md(已按 fail 项改完,列出修了哪些)。
下面两件事请你独立确认:1) 验收结论 2) 后续开发模式。然后用 AskQuestion 传两个独立 question(或编号列出两个问题,停下等答复):
- 验收结论 —— 选项:/
通过 · 进入完整生成/局部修改 · 我会另起一条说改哪里。主题或版式不合适 · 回到 Checkpoint 1 - 后续开发模式 —— 选项:/
A · 单 Agent 顺序(默认 · 最稳 · 风格最统一)。B · 多 Agent 并行(最快 · 风格轻微差异)
不要把这两件事打包成"通过 + A,OK 吗?" —— 用户可能"通过验收但想用 B"或反之。
两题都收齐答复后进入 Phase 5。
Let the user accept the first screen + first Section, and select the subsequent development mode. The decision collection iron rule of Checkpoint 1 also applies: Two items must be confirmed independently, prohibit packaging; priority AskQuestion, list numbered questions and wait for replies if no tool.
First send a short message:
The first screen + first Section is ready, preview with npm run dev on localhost.
Quality inspection conclusion can be found in review/first-spread-review.md (already fixed according to fail items, list of changes made is included).
Please confirm two items independently: 1) Acceptance conclusion 2) Subsequent development mode.Then pass two independent questions via AskQuestion (or list two numbered questions and wait for replies):
- Acceptance Conclusion —— Options: /
Pass · Enter full generation/Partial modification · I will specify changes in another message.Theme or layout is inappropriate · Return to Checkpoint 1 - Subsequent Development Mode —— Options: /
A · Single Agent sequential (default · most stable · most consistent style).B · Multiple Agent parallel (fastest · slight style differences)
Do not package these two items into "Pass + A, OK?" —— The user may "pass acceptance but want to use B" or vice versa.
Enter Phase 5 after receiving replies to both questions.
Phase 5 —— Full Article Build
Phase 5 —— Full Article Build
按 Checkpoint 2 选定的开发模式生成完整文章。详见 +
+ 。
references/section-build.mdreferences/component-policy.mdreferences/raw-policy.md铁律 · 每个 Section 必须是独立组件文件(),坚决不允许把
多个 Section 直接写进一个组件。 只是 assembler:import 并排序各
Section,由主 Agent 拥有。大型 Raw 同样隔离到 。文件级隔离
是多 Agent 并行的前提。
article/sections/NN-*.tsxarticle/Article.tsxarticle/raw-blocks/NN-*.tsx开发模式(Checkpoint 2 选定):
- A · 单 Agent 顺序(默认):主 Agent 顺序写每个 ,最稳、风格最统一。
sections/NN-*.tsx - B · 多 Agent 并行:subagent 各拥有一个 文件并行开发;主 Agent 负责合并与稳定性 —— 维护
sections/NN-*.tsx的 import 与顺序、跑Article.tsx/npm run typecheck、 兜底主题与风格一致、解决冲突。subagent prompt 模板见build。references/section-build.md
其余原则:正文是主体;所有 Raw 用 主题 token,禁止野生样式;100% 信息保留以长文
结构为主、Raw / 配图做增强;低信息密度可提高视觉块比例,但仍必须是文章形态。
--ra-*每个 Section 完成后必须按硬性质检协议走 Section Reviewer SubAgent:是否完成 outline
任务 / 是否符合信息保留比例 / 是否与前后衔接 / 是否过度组件化 / 是否有足够正文 / Raw 与
配图是否有明确目的 / 本节序号自洽。
SubAgent 以消息返回 pass/fail + 修复点(pass 则一行 OK;fail 则列出修复点),不要写
文件。主 Agent 收到 fail 项后直接修对应 section 文件,
然后再汇报本节交付。
review/section-NN-review.mdGenerate the complete article according to the development mode selected in Checkpoint 2. See + + for details.
references/section-build.mdreferences/component-policy.mdreferences/raw-policy.mdIron Rule · Each Section must be an independent component file (), 坚决不允许把多个 Section 直接写进一个组件(坚决不允许 translates to "strictly prohibit writing multiple Sections directly into one component"). is only an assembler: import and sort each Section, owned by the Main Agent. Large Raw blocks are also isolated into . File-level isolation is the prerequisite for multiple Agent parallel development.
article/sections/NN-*.tsxarticle/Article.tsxarticle/raw-blocks/NN-*.tsxDevelopment Modes (Selected in Checkpoint 2):
- A · Single Agent sequential (default): Main Agent writes each sequentially, most stable and consistent in style.
sections/NN-*.tsx - B · Multiple Agent parallel: Subagents each own one file for parallel development; Main Agent is responsible for merging and stability —— maintains the import and order of
sections/NN-*.tsx, runsArticle.tsx/npm run typecheck, ensures theme and style consistency, resolves conflicts. Subagent prompt templates can be found inbuild.references/section-build.md
Other Principles: Main text is the main body; all Raw blocks use theme tokens, prohibit wild styles; 100% information retention focuses on long-form structure, with Raw / images as enhancements; low information density can increase the proportion of visual blocks, but it must still be in article form.
--ra-*After completing each Section, must follow the Rigid Quality Inspection Protocol to use Section Reviewer SubAgent: Whether the outline task is completed / whether it meets the information retention ratio / whether it connects with previous and subsequent sections / whether it is over-componentized / whether there is enough main text / whether Raw blocks and images have clear purposes / whether the section number is consistent.
SubAgent returns pass/fail + repair points via message (pass = one line OK; fail = list repair points), do not write files. After receiving fail items, the Main Agent directly fixes the corresponding section file, then reports the delivery of this section.
review/section-NN-review.mdPhase 6 —— Final Review(三视角终审)
Phase 6 —— Final Review (Three-Perspective Final Review)
从读者 / 主题 / 技术三个视角验收,产出 + 修复列表。
完整硬性清单见 。推荐三个 Reviewer(无 Teams 时至少
一个独立 SubAgent):
review/final-review.mdreferences/review-checklist.md- Editorial Reviewer:文章性、信息取舍、结构。
- Visual Reviewer:主题、Raw、配图、移动端。
- Technical Reviewer:构建、控制台、代码 / 公式、可访问性。
核心红线:它仍是一篇文章(不是应用)· 信息保留比例符合 Plan · 必须保留的信息没丢 ·
主题气质统一 · Raw 无野生样式 · 没有明显 AI 味 · 桌面 + 移动端可读 · HTML 可构建可打开可分享。
Accept from three perspectives: reader / theme / technical, produce + repair list.
Complete rigid checklist can be found in . It is recommended to use three Reviewers (at least one independent SubAgent if no Teams):
review/final-review.mdreferences/review-checklist.md- Editorial Reviewer: Article nature, information selection, structure.
- Visual Reviewer: Theme, Raw blocks, images, mobile adaptation.
- Technical Reviewer: Build, console, code / formulas, accessibility.
Core Red Lines: It is still an article (not an application) · Information retention ratio conforms to the Plan · No key information from the source material is lost unexpectedly · Theme temperament is consistent · Raw blocks have no wild styles · No obvious AI flavor · Readable on desktop + mobile · HTML can be built, opened, and shared.
Phase 7 —— Repair(最小切片)
Phase 7 —— Repair (Minimal Slice)
按最小单位修复,规则见 。禁止:只反馈一处就重写整篇 /
为修视觉改动已确认的文章结构 / 为压缩信息删掉用户指定必须保留的内容。有修复才写
(无修复 / 一次过则不写)。
references/repair-policy.mdreview/repair-log.mdRepair according to minimal units, rules can be found in . Prohibit: Rewriting the entire article just to fix one issue / modifying the confirmed article structure for visual fixes / deleting content specified by the user to be retained for information compression. Write only if there are repairs (no repairs / one-pass = no need to write).
references/repair-policy.mdreview/repair-log.mdCheckpoint 3 · Final(★交付确认)
Checkpoint 3 · Final (★Delivery Confirmation)
终审改完后,停下来让用户独立确认交付决策(不要"我打算导出 HTML 了,没问题就这样"
直接跳过)。优先 AskQuestion,无工具则在消息里编号列出问题、停下等答复。
- 交付决策 —— 选项:/
通过 · 导出 HTML 交付/通过 · 同时导出 HTML + PDF/还有局部修复 · 我会列出具体修哪里。先停一停 · 我要再看看
只有这一项决策,但仍要主动停下来问,不要静默走默认导出 HTML。
After fixing according to the final review, stop and let the user independently confirm the delivery decision (do not skip directly with "I plan to export HTML, no problem so I'll proceed"). Priority AskQuestion, list numbered questions in the message and wait for replies if no tool.
- Delivery Decision —— Options: /
Pass · Export HTML for delivery/Pass · Export HTML + PDF simultaneously/Partial repairs needed · I will list specific changes.Pause · I want to review again
There is only one decision item, but still actively stop and ask, do not silently export HTML by default.
Phase 8 —— Delivery
Phase 8 —— Delivery
构建并交付(命令见 ):
references/html-output.md- (自包含单页,CSS + JS 内联,断网可打开)—— 主交付物。
article/article.html - 可选 :仅当 Checkpoint 3 用户选了"通过 · 同时导出 HTML + PDF" 时才生成。命令:
article/article.pdf脚本探测系统已装的 chromium-family 浏览器,注入bashbash <path-to-beautiful-article>/scripts/html-to-pdf.sh覆盖(TOC 从左右栅格塌 成上下排布、TOC 独占首页),headless 打印。零 npm 依赖。详细原理 / 故障排除见@media print。references/pdf-output.md - 简短编辑说明:文章类型 / 信息保留比例 / 主题 / 配图策略 / 主要编辑取舍。
Build and deliver (commands can be found in ):
references/html-output.md- (self-contained single page, CSS + JS inline, accessible offline) —— Main deliverable.
article/article.html - Optional : Only generate if the user selects "Pass · Export HTML + PDF simultaneously" in Checkpoint 3. Command:
article/article.pdfThe script detects installed chromium-family browsers in the system, injectsbashbash <path-to-beautiful-article>/scripts/html-to-pdf.shoverrides (TOC collapses from left-right grid to top-bottom layout / TOC occupies the first page alone), and prints in headless mode. Zero npm dependencies. See@media printfor detailed principles / troubleshooting.references/pdf-output.md - Brief editing instructions: Article type / information retention ratio / theme / image strategy / main editing choices.
默认策略
Default Strategies
- 输出 single HTML;文章类型 ;信息保留 100%。
longform - 语言:用户未指定则跟随源材料语言;指定且与源不一致则先产出地道翻译版
再据此编写(去翻译腔,见 Phase 1)。
source/source.<lang>.md - 主题:技术 / 证据优先 ,叙事 / 评论优先
tufte(按源材料推荐)。press - 版式:宽度默认 、TOC 默认开(与主题解耦,见
regular,均在 Checkpoint 确认)。references/layout.md - 配图:配图模式是 Checkpoint 1 必选项(/
none/user-assets/placeholders),只决定是否使用外部ai-generated,不主动生成 AI 图片。Image - Raw:与配图正交、始终默认存在,鼓励多用,但必须服务具体段落、用主题 token。选 不影响 Raw。
none - 自检:Plan 内联自查(无 SubAgent、无文件);First Spread 与 Final 用 SubAgent + 写文件; Section 用 SubAgent + 消息返回(不写文件)。详见"硬性质检协议"段。
- 决策收集:Checkpoint 1 / 2 / 3 每项独立确认 · 禁止静默替用户选择。可推荐,不能跳过。
优先 工具(每项一个独立 question);无工具则停下、编号列出问题等用户答复。
AskQuestion - 修复:最小切片,有修复才写 。
review/repair-log.md - Colophon · 不可移除:scaffold 在 末尾自带 colophon Raw 块 (
article/Article.tsx,低对比小字、theme token 自适应)。 每篇文章必须保留,禁止删除、禁止移到 Hero 旁边或浮动到角落。切换主题时同步更新 colophon 里的主题名 +Made with [beautiful-article](github 仓库) · <主题> theme的main.tsx两处。<ThemeProvider theme="..."> - 封面 · 默认开 · 必须图文并茂:scaffold 默认在 创建屏幕 3:4 + PDF 独占首页的书封式题图外壳 + 占位(
article/Cover.tsx关闭)。封面位于 TOC + Hero + 正文之上, 独立存在。Phase 4 First Spread 时主 Agent 把--no-cover替换为按 主题 + 文章主旨 定制的图 + 字构图。硬约束:外壳比例 / 打印分页不可动、必须有视觉元素<CoverPlaceholder />- 文字、只用 token、不要远程图片、不要重复 Hero 内容。视觉技术全开放: SVG / CSS / Canvas / 复杂 React 组件 / 任意混搭由 Agent 自选,效果好就行。详见
--ra-*(含 5 条自检 + 5 个构图模板 + 各主题封面起手)。PDF 导出会自动让 封面独占首页、TOC 从第二页开始。references/cover.md
- 文字、只用
- PDF 导出 · 可选:主交付物始终是 。仅当 Checkpoint 3 用户选了 "通过 · 同时导出 HTML + PDF",才跑
article/article.html生成bash <skill>/scripts/html-to-pdf.sh;不选则不动。不要替用户默认导。详见article/article.pdf。references/pdf-output.md
- Output single HTML; article type ; 100% information retention.
longform - Language: If user did not specify, follow source material language; if specified and inconsistent with source, first produce a natural translation then write based on it (eliminate translation腔, see Phase 1).
source/source.<lang>.md - Theme: Prioritize for technical / evidence-focused content, prioritize
tuftefor narrative / comment-focused content (recommend based on source material).press - Layout: Width defaults to , TOC is on by default (decoupled from theme, see
regular, both confirmed in Checkpoint).references/layout.md - Images: Image mode is a mandatory option in Checkpoint 1 (/
none/user-assets/placeholders), only decides whether to use externalai-generated, do not actively generate AI images.Image - Raw: Orthogonal to images, always enabled by default, encourage frequent use, but must serve specific paragraphs and use theme tokens. Selecting does not affect Raw.
none - Self-inspection: Plan inline self-inspection (no SubAgent, no files); First Spread and Final Review use SubAgent + write files; Section uses SubAgent + message return (no files). See "Rigid Quality Inspection Protocol" section.
- Decision Collection: Checkpoint 1 / 2 / 3 confirm each item independently · Prohibit silent selection for users. Can recommend, cannot skip. Priority tool (each item as an independent question); if no tool, stop and list numbered questions to wait for user replies.
AskQuestion - Repair: Minimal slice, write only if there are repairs.
review/repair-log.md - Colophon · Cannot Be Removed: The scaffold comes with a colophon Raw block at the end of (
article/Article.tsx, low-contrast small text, theme token adaptive). Must be retained in every article, prohibit deletion, prohibit moving to beside Hero or floating to the corner. Synchronously update the theme name in the colophon +Made with [beautiful-article](github repo) · <theme> themein<ThemeProvider theme="...">when switching themes.main.tsx - Cover · On by default · Must have both image and text: The scaffold creates a 3:4 screen / PDF first-page exclusive book-style cover shell + placeholder in by default (
article/Cover.tsxturns it off). The cover is located above TOC + Hero + main text, exists independently. In Phase 4 First Spread, the Main Agent replaces--no-coverwith a customized image + text composition based on theme + article主旨. Hard Constraints: Shell ratio / print pagination cannot be modified, must have visual elements + text, only use<CoverPlaceholder />tokens, no remote images, no duplicate Hero content. Visual Technology Fully Open: SVG / CSS / Canvas / complex React components / any mix can be chosen by the Agent, as long as the effect is good. See--ra-*for details (includes 5 self-inspection items + 5 composition templates + starting points for covers of each theme). PDF export will automatically make the cover occupy the first page alone, and TOC starts from the second page.references/cover.md - PDF Export · Optional: The main deliverable is always . Only if the user selects "Pass · Export HTML + PDF simultaneously" in Checkpoint 3, run
article/article.htmlto generatebash <skill>/scripts/html-to-pdf.sh; do not generate if not selected. Do not export PDF by default for users. Seearticle/article.pdffor details.references/pdf-output.md
成功标准
Success Criteria
- 它首先是一篇文章。
- 最终文章语言符合用户意图(未指定=跟随源语言;指定=全文统一为目标语言,地道、无翻译腔、 无残留源语言片段)。
- 用户确认的信息密度被尊重;源材料关键内容没有意外丢失。
- 主题气质统一;配图和 Raw 都服务阅读。
- 页面比 Markdown 更值得读;HTML 可直接打开和分享。
- 40% 信息时读起来像被编辑过的文章,而非缩水摘要;100% 信息时像被精修过的长文, 而非原文搬运。
- It is first and foremost an article.
- The final article language conforms to the user's intention (unspecified = follows source language; specified = unified to target language throughout, natural, no translation腔, no residual source language fragments).
- The user-confirmed information density is respected; no key content from the source material is lost unexpectedly.
- Theme temperament is consistent; images and Raw blocks all serve reading.
- The page is more worth reading than Markdown; HTML can be directly opened and shared.
- At 40% information, it reads like an edited article, not a shortened summary; at 100% information, it reads like a polished long article, not a copy of the original text.
相关资源(按"何时读"标注)
Related Resources (Marked by "When to Read")
| 文件 | 何时读 | 内容 |
|---|---|---|
| Phase 0 | Skill 的 harness 视角、六问、状态文件约定 |
| Phase 1 | 各类输入 → source.md 规则、抽取自检、脚本用法 |
| Phase 2 | 文章类型路由总览(含逐类型链接) |
| Phase 2 选定类型后 | 单类型结构 / 组件 / Raw 边界 / 配图倾向 / 自检 |
| Phase 2 | 信息密度等级、与组件 / 视觉比例的关系 |
| Phase 2 | 单一 |
| Phase 2 | 主题选择、density 与 theme 解耦、新增主题约束 |
| Phase 2 / Checkpoint | 版式:宽度模式(与主题解耦)+ TOC,确认与用法 |
| Phase 2 | 配图四种来源、AI 配图提示词原则、图片自检 |
| Phase 2 / Phase 4 写封面时 | 书封式封面设计指南(屏幕 3:4 / PDF 独占首页):硬约束、视觉技术全开放、构图模板、各主题封面起手、5 条自检 |
| Phase 4/5 | 一节一文件铁律、单/多 Agent 模式、并行 subagent prompt、主 Agent 合并 |
| Phase 4/5 每节 | reacticle 组件协议、prose-first、信息密度与组件比例 |
| Phase 4/5 每节 | Raw 允许 / 禁止、token 驱动、Raw 自检 |
| 构建 / 交付时 | dev / build / 单文件 HTML 命令与产物 |
| Phase 8 Delivery 当用户选 PDF 导出时 | |
| Phase 6 | 各阶段 Reviewer 清单与 prompt 模板 |
| Phase 7 | 最小切片修复对照表 |
| Phase 4 建项目时 | 脚手架做什么、用法、工作区结构、切主题 |
| Phase 2 选主题 / Phase 5 写作 | 主题 authoring profile(给 AI 读,非 CSS) |
| Phase 4 跑一次 | 一键创建文章工作区 |
| Phase 8 Delivery 仅当用户选 PDF | HTML → PDF(headless 浏览器 + 注入 print CSS,零 npm 依赖) |
| 改 PDF 样式时 | |
| Phase 1 | MarkItDown 主路径,适合复杂 PDF / DOCX / HTML |
| Phase 1 | 轻量 fallback,适合 Markdown / TXT / 简单 HTML 或 MarkItDown 不可用时 |
| File | When to Read | Content |
|---|---|---|
| Phase 0 | Harness perspective of the Skill, six questions, state file conventions |
| Phase 1 | Rules for converting various inputs to source.md, extraction self-inspection, script usage |
| Phase 2 | Overview of article type routing (includes links to each type) |
| After selecting type in Phase 2 | Single type structure / components / Raw boundaries / image tendencies / self-inspection |
| Phase 2 | Information density levels, relationship with component / visual ratios |
| Phase 2 | Template for single |
| Phase 2 | Theme selection, decoupling of density and theme, constraints for adding new themes |
| Phase 2 / Checkpoint | Layout: width modes (decoupled from theme) + TOC, confirmation and usage |
| Phase 2 | Four sources of images, principles for AI image prompts, image self-inspection |
| Phase 2 / When writing cover in Phase 4 | Book-style cover design guidelines (3:4 screen / PDF first-page exclusive): hard constraints, fully open visual technology, composition templates, starting points for covers of each theme, 5 self-inspection items |
| Phase 4/5 | Iron rule of one file per section, single/multiple Agent modes, parallel subagent prompt, Main Agent merging |
| Phase 4/5 Before each section | reacticle component protocol, prose-first, relationship between information density and component ratio |
| Phase 4/5 Before each section | Raw allowed / prohibited, token-driven, Raw self-inspection |
| When building / delivering | dev / build / single-file HTML commands and products |
| Phase 8 Delivery when user selects PDF export | Usage of |
| Phase 6 | Reviewer checklists and prompt templates for each phase |
| Phase 7 | Minimal slice repair comparison table |
| When creating project in Phase 4 | What the scaffold does, usage, workspace structure, theme switching |
| When selecting theme in Phase 2 / Writing in Phase 5 | Theme authoring profile (for AI reading, not CSS) |
| Run once in Phase 4 | One-click creation of article workspace |
| Phase 8 Delivery only if user selects PDF | HTML → PDF (headless browser + inject print CSS, zero npm dependencies) |
| When modifying PDF styles | |
| Phase 1 | MarkItDown main path, suitable for complex PDF / DOCX / HTML |
| Phase 1 | Lightweight fallback, suitable for Markdown / TXT / simple HTML or when MarkItDown is unavailable |