ljg-classic

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ljg-classic:古文笺

ljg-classic: Ancient Chinese Annotation Card

原文是主干,注解贴着字词生长,章节解读把整章重新接成一个能运行的判断。最终交付一张标明书名与章节的 PNG 长图。
The original text is the backbone, with annotations attached to characters and words, and chapter interpretations re-connect the entire chapter into a coherent logical framework. The final deliverable is a long PNG image clearly marked with the book title and chapter.

Workflow Notification

Workflow Notification

执行工作流时,只输出文字通知:
text
Running the **AnnotateAndRender** workflow in the **ljg-classic** skill to annotate and render the chapter...
不发送开始、阶段或进度语音;完成语音由系统统一处理。
When executing the workflow, only output text notifications:
text
Running the **AnnotateAndRender** workflow in the **ljg-classic** skill to annotate and render the chapter...
Do not send start, phase, or progress voice notifications; completion voice notifications are handled uniformly by the system.

Workflow Routing

Workflow Routing

WorkflowTriggerFile
AnnotateAndRender逐字注解、彩色夹注、章节解读、生成古文 PNG
Workflows/AnnotateAndRender.md
WorkflowTriggerFile
AnnotateAndRenderCharacter-by-character annotation, color interlinear note, chapter interpretation, generate ancient Chinese PNG
Workflows/AnnotateAndRender.md

快速合同

Quick Contract

  • 输入必须能确定原文、书名、章节;版本不明时保留异文边界。
  • 所有非标点原文片段都有对应注解,不能只挑“重点词”。
  • 青色解释字词与语法,朱色解释整句动作,赭色只标异文与不确定处;章节解读使用暖纸深墨,不用蓝色长正文。
  • 解读继承
    ljg-plain
    的直白中文和
    ljg-writes
    的「条件—机制—结果、迁移、边界」,但不显示「解读边界」等写作脚手架。
  • 默认调用内置
    image_gen
    生成一幅无字、低干扰的章节意旨图,放在章节标题与原文之间;图像不可用时继续生成无图版本并说明。
  • 默认输出
    1080 × auto
    单张长 PNG,同时保留 JSON、HTML 与 manifest 供复验。
  • Input must clearly specify the original text, book title, and chapter; when the version is unclear, retain the boundaries of variant readings.
  • All non-punctuation segments of the original text must have corresponding annotations; do not only pick "key words".
  • Cyan is used to explain characters, words, and grammar; vermilion for explaining the actions of entire sentences; ochre only marks variant readings and uncertain parts; chapter interpretations use warm paper with dark ink, and do not use long blue text.
  • Interpretations inherit the straightforward Chinese of
    ljg-plain
    and the "Condition—Mechanism—Result, Migration, Boundary" framework of
    ljg-writes
    , but do not display writing scaffolds such as "Interpretation Boundary".
  • By default, call the built-in
    image_gen
    to generate a wordless, low-distraction chapter theme image, placed between the chapter title and the original text; if image generation is unavailable, continue to generate a version without the image and explain the situation.
  • By default, output a single long PNG of
    1080 × auto
    , while retaining JSON, HTML, and manifest files for review.

Gotchas

Gotchas

  • “逐字”指原文覆盖率 100%,不等于把固定词拆成失去意义的单字;成词、虚词功能和通假关系按最小有意义单位注。
  • 注解不能改写原文。底本疑似错字、通假或版本差异用
    variant
    标出,不能静默替换。
  • 字词注与句义注若都写成长句,原文会被淹没。字词注只解决局部读法,句义注只补当前动作或因果。
  • 章节解读不是逐句译文的重复,也不是金句合集。它只运行一个主关系,并说明一个可迁移场景或失效边界。
  • 边界要自然写进文章,不另起「解读边界」「应用边界」「迁移测试」之类的方法标题;这些词会让读者从内容中跳回写作后台。
  • 顶部配图负责压缩母题,不负责复述情节。禁止图中文字、书法、印章、水印与高饱和宗教奇观;画面细节太满会抢走原文的第一阅读权。
  • PNG 文件存在不算完成。必须核对真实尺寸、标题章节、注解覆盖、页面底部、整图与长图切片。
  • 图像宽度固定不代表字号固定。文字量增加时先增高页面和调整断行,不能把正文字号压到难读。
  • 标点不能作为可独立换行的单元。句末标点与闭引号跟住前一原文 token;段首引号跟住后一 token,避免孤行。
  • "Character-by-character" means 100% coverage of the original text, not splitting fixed words into meaningless individual characters; set phrases, function words, and interchangeable character relationships are annotated according to the smallest meaningful unit.
  • Annotations cannot rewrite the original text. Suspected wrong characters, interchangeable characters, or version differences in the base text are marked with
    variant
    , and cannot be silently replaced.
  • If both character annotations and sentence annotations are written as long sentences, the original text will be obscured. Character annotations only solve local reading issues, while sentence annotations only supplement the current action or cause-effect relationship.
  • Chapter interpretations are not repetitions of sentence-by-sentence translations, nor collections of golden sentences. They only focus on one core relationship and explain one migratable scenario or failure boundary.
  • Boundaries should be naturally integrated into the text, without separate method titles such as "Interpretation Boundary", "Application Boundary", or "Migration Test"; these terms will pull readers out of the content and back to the writing background.
  • The top illustration is responsible for condensing the core theme, not retelling the plot. Text, calligraphy, seals, watermarks, and high-saturation religious spectacles are prohibited in the image; overly detailed images will take away the primary reading right of the original text.
  • The existence of the PNG file does not mean completion. Must verify the actual size, title and chapter, annotation coverage, page bottom, and the entire image as well as long image slices.
  • Fixed image width does not mean fixed font size. When the text volume increases, first increase the page height and adjust line breaks; do not compress the font size of the main text to the point of being unreadable.
  • Punctuation cannot be treated as an independent line-break unit. End-of-sentence punctuation and closing quotation marks follow the previous original text token; opening quotation marks at the start of a paragraph follow the next token to avoid orphan lines.

Examples

Examples

Example 1:整章古文排版
text
User: 「/ljg-classic 《道德经》第十六章,逐字注解并讲透」
→ 锁定书名、章节与底本
→ 逐段生成字词注、句义注和全章解读
→ 输出一张带书名章节的 1080px 长 PNG
Example 2:用户提供原文
text
User: 「把这段《论语·学而》做成文言文夹注图,最后写完整解读」
→ 原文逐片段覆盖,通假与语法另行标色
→ 解读用直白中文跑通条件、机制和结果
→ 保留 JSON、HTML、PNG 与验收 manifest
Example 3:只翻译一句
text
User: 「这句古文是什么意思?」
→ 不触发 ljg-classic
→ 直接做简短翻译或使用 ljg-plain
Example 1: Full-chapter ancient Chinese typesetting
text
User: 「/ljg-classic 《道德经》第十六章,逐字注解并讲透」
→ Lock the book title, chapter, and base text
→ Generate character annotations, sentence annotations, and full-chapter interpretation paragraph by paragraph
→ Output a 1080px long PNG with the book title and chapter marked
Example 2: User provides original text
text
User: 「把这段《论语·学而》做成文言文夹注图,最后写完整解读」
→ Cover every segment of the original text, mark interchangeable characters and grammar with separate colors
→ Use straightforward Chinese in the interpretation to clarify conditions, mechanisms, and results
→ Retain JSON, HTML, PNG, and acceptance manifest files
Example 3: Translate only one sentence
text
User: 「这句古文是什么意思?」
→ Do not trigger ljg-classic
→ Directly provide a short translation or use ljg-plain