figure-description

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Figure Description for Patents

专利附图说明(Figure Description)

Process patent figures and generate drawing descriptions based on: $ARGUMENTS
Unlike
/paper-figure
which generates data plots, this skill processes user-provided technical diagrams and assigns reference numerals.
处理专利附图并基于**$ARGUMENTS**生成附图说明。
与生成数据图表的
/paper-figure
不同,本工具用于处理用户提供的技术图表并分配参考编号(Reference Numerals)。

Constants

常量

  • FIGURE_DIR = "patent/figures/"
    — Output directory for figure descriptions
  • REFERENCE_NUMERAL_PREFIX = 100
    — Starting numeral for first figure's components
  • NUMERAL_SERIES = 100
    — Each figure uses a separate 100-series (Fig 1: 100-199, Fig 2: 200-299, etc.)
  • FIGURE_DIR = "patent/figures/"
    — 附图说明的输出目录
  • REFERENCE_NUMERAL_PREFIX = 100
    — 第一幅图组件的起始编号
  • NUMERAL_SERIES = 100
    — 每幅图使用独立的百位数编号系列(图1:100-199,图2:200-299,以此类推)

Inputs

输入

  1. User-provided figures (PNG, JPG, SVG, PDF) — search for them in the project directory
  2. patent/INVENTION_DISCLOSURE.md
    — for understanding what components to identify
  3. patent/CLAIMS.md
    — for mapping numerals to claim elements
  1. 用户提供的附图(PNG、JPG、SVG、PDF格式)—— 在项目目录中搜索这些文件
  2. patent/INVENTION_DISCLOSURE.md
    — 用于明确需要识别的组件
  3. patent/CLAIMS.md
    — 用于将编号映射到权利要求要素

Workflow

工作流程

Step 1: Discover Figures

步骤1:发现附图

  1. Search the project directory for figure files:
    • Check
      patent/figures/
      ,
      figures/
      , root directory
    • Look for PNG, JPG, SVG, PDF files
    • Check INVENTION_BRIEF.md or INVENTION_DISCLOSURE.md for figure references
  2. List all discovered figures with their paths
  3. If figures are missing that claims require, note them as
    [MISSING: description needed]
  1. 在项目目录中搜索附图文件:
    • 检查
      patent/figures/
      figures/
      以及根目录
    • 查找PNG、JPG、SVG、PDF格式的文件
    • 查看INVENTION_BRIEF.md或INVENTION_DISCLOSURE.md中的附图引用
  2. 列出所有发现的附图及其路径
  3. 如果权利要求所需的附图缺失,标注为
    [MISSING: description needed]

Step 2: Analyze Each Figure

步骤2:分析每幅附图

For each figure found:
  1. Read the image using the Read tool (supports image files)
  2. Identify components: What labeled or visually distinct components are shown?
  3. Identify connections: How do components relate to each other?
  4. Identify flow: If it's a flowchart or sequence, what is the step order?
对于每幅找到的附图:
  1. 读取图像:使用Read工具读取(支持图像文件)
  2. 识别组件:图中显示了哪些带标注或视觉上可区分的组件?
  3. 识别连接关系:组件之间如何关联?
  4. 识别流程:如果是流程图或序列图,步骤顺序是什么?

Step 3: Assign Reference Numerals

步骤3:分配参考编号(Reference Numerals)

For each figure, assign numerals using the series convention:
FigureNumeral Range
FIG. 1100-199
FIG. 2200-299
FIG. 3300-399
For each identified component:
  • Assign the next available numeral in the series
  • Cross-reference to the claim elements it supports
  • Note if a component appears in multiple figures (use same numeral across figures)
按照编号系列规则为每幅附图分配编号:
附图编号范围
图1100-199
图2200-299
图3300-399
对于每个识别出的组件:
  • 分配该系列中下一个可用的编号
  • 关联其对应的权利要求要素
  • 标注组件是否出现在多幅附图中(多幅附图中使用相同编号)

Step 4: Generate Drawing Descriptions

步骤4:生成附图说明

Write formal drawing descriptions (附图说明):
For CN jurisdiction (Chinese):
图1是[发明名称]的系统结构示意图;
图2是[发明名称]的方法流程图;
图3是[具体组件]的详细结构示意图;
For US/EP jurisdiction (English):
FIG. 1 is a block diagram illustrating the system architecture according to one embodiment;
FIG. 2 is a flowchart illustrating the method steps according to one embodiment;
FIG. 3 is a detailed view of the processing module of FIG. 1;
撰写正式的附图说明:
针对中国(CN)地区
图1是[发明名称]的系统结构示意图;
图2是[发明名称]的方法流程图;
图3是[具体组件]的详细结构示意图;
针对美国/欧洲(US/EP)地区
FIG. 1 is a block diagram illustrating the system architecture according to one embodiment;
FIG. 2 is a flowchart illustrating the method steps according to one embodiment;
FIG. 3 is a detailed view of the processing module of FIG. 1;

Step 5: Generate Reference Numeral Index

步骤5:生成参考编号索引(Reference Numeral Index)

Create a complete mapping:
markdown
undefined
创建完整的映射表:
markdown
undefined

Reference Numeral Index

Reference Numeral Index

NumeralComponent NameFigure(s)Claim Element
100SystemFIG. 1Claim X preamble
102ProcessorFIG. 1Claim X, element 1
104MemoryFIG. 1Claim X, element 2
106Communication busFIG. 1Claim X, element 3
200MethodFIG. 2Claim 1 preamble
202Receiving stepFIG. 2Claim 1, step 1
204Processing stepFIG. 2Claim 1, step 2
undefined
NumeralComponent NameFigure(s)Claim Element
100SystemFIG. 1Claim X preamble
102ProcessorFIG. 1Claim X, element 1
104MemoryFIG. 1Claim X, element 2
106Communication busFIG. 1Claim X, element 3
200MethodFIG. 2Claim 1 preamble
202Receiving stepFIG. 2Claim 1, step 1
204Processing stepFIG. 2Claim 1, step 2
undefined

Step 6: Cross-Reference to Claims

步骤6:与权利要求交叉引用

Verify that every claim element has at least one reference numeral:
Claim ElementFigureNumeralStatus
[element][which fig][numeral]Covered / [MISSING]
If any claim element has no corresponding figure or numeral, flag it:
  • [MISSING FIGURE: Need a diagram showing {element description}]
  • [MISSING NUMERAL: Component {name} in figure {X} needs a numeral]
验证每个权利要求要素至少对应一个参考编号:
权利要求要素附图编号状态
[element][which fig][numeral]已覆盖 / [缺失]
如果任何权利要求要素没有对应的附图或编号,标记出来:
  • [MISSING FIGURE: Need a diagram showing {element description}]
  • [MISSING NUMERAL: Component {name} in figure {X} needs a numeral]

Step 7: Output

步骤7:输出

Write
patent/figures/figure_descriptions.md
:
markdown
undefined
写入
patent/figures/figure_descriptions.md
markdown
undefined

Figure Descriptions

Figure Descriptions

FIG. 1 — [Description]

FIG. 1 — [Description]

[Formal one-paragraph description with all reference numerals]
[包含所有参考编号的正式段落说明]

FIG. 2 — [Description]

FIG. 2 — [Description]

[Formal one-paragraph description with all reference numerals] ...

Write `patent/figures/numeral_index.md`:
```markdown
[包含所有参考编号的正式段落说明] ...

写入`patent/figures/numeral_index.md`:
```markdown

Reference Numeral Index

Reference Numeral Index

[Complete table of all numerals, components, figures, and claim mappings]
undefined
[包含所有编号、组件、附图及权利要求映射的完整表格]
undefined

Key Rules

核心规则

  • Every component in every figure must have a reference numeral.
  • Every reference numeral must be explained in the specification.
  • Numeral series must be consistent: 100-series for FIG. 1, 200-series for FIG. 2.
  • If the same component appears in multiple figures, use the SAME numeral.
  • Do NOT modify user-provided figures -- only describe them.
  • Flag missing figures that the claims require but the user has not provided.
  • Drawing descriptions are one sentence each, in a consistent format.
  • 每幅附图中的每个组件都必须有一个参考编号。
  • 每个参考编号都必须在说明书中进行解释。
  • 编号系列必须保持一致:图1使用100系列,图2使用200系列。
  • 如果同一组件出现在多幅附图中,使用相同的编号。
  • 不得修改用户提供的附图——仅对其进行描述。
  • 标记权利要求所需但用户未提供的缺失附图。
  • 附图说明为单句格式,保持一致。