figure-description
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFigure Description for Patents
专利附图说明(Figure Description)
Process patent figures and generate drawing descriptions based on: $ARGUMENTS
Unlike which generates data plots, this skill processes user-provided technical diagrams and assigns reference numerals.
/paper-figure处理专利附图并基于**$ARGUMENTS**生成附图说明。
与生成数据图表的不同,本工具用于处理用户提供的技术图表并分配参考编号(Reference Numerals)。
/paper-figureConstants
常量
- — Output directory for figure descriptions
FIGURE_DIR = "patent/figures/" - — Starting numeral for first figure's components
REFERENCE_NUMERAL_PREFIX = 100 - — Each figure uses a separate 100-series (Fig 1: 100-199, Fig 2: 200-299, etc.)
NUMERAL_SERIES = 100
- — 附图说明的输出目录
FIGURE_DIR = "patent/figures/" - — 第一幅图组件的起始编号
REFERENCE_NUMERAL_PREFIX = 100 - — 每幅图使用独立的百位数编号系列(图1:100-199,图2:200-299,以此类推)
NUMERAL_SERIES = 100
Inputs
输入
- User-provided figures (PNG, JPG, SVG, PDF) — search for them in the project directory
- — for understanding what components to identify
patent/INVENTION_DISCLOSURE.md - — for mapping numerals to claim elements
patent/CLAIMS.md
- 用户提供的附图(PNG、JPG、SVG、PDF格式)—— 在项目目录中搜索这些文件
- — 用于明确需要识别的组件
patent/INVENTION_DISCLOSURE.md - — 用于将编号映射到权利要求要素
patent/CLAIMS.md
Workflow
工作流程
Step 1: Discover Figures
步骤1:发现附图
- Search the project directory for figure files:
- Check ,
patent/figures/, root directoryfigures/ - Look for PNG, JPG, SVG, PDF files
- Check INVENTION_BRIEF.md or INVENTION_DISCLOSURE.md for figure references
- Check
- List all discovered figures with their paths
- If figures are missing that claims require, note them as
[MISSING: description needed]
- 在项目目录中搜索附图文件:
- 检查、
patent/figures/以及根目录figures/ - 查找PNG、JPG、SVG、PDF格式的文件
- 查看INVENTION_BRIEF.md或INVENTION_DISCLOSURE.md中的附图引用
- 检查
- 列出所有发现的附图及其路径
- 如果权利要求所需的附图缺失,标注为
[MISSING: description needed]
Step 2: Analyze Each Figure
步骤2:分析每幅附图
For each figure found:
- Read the image using the Read tool (supports image files)
- Identify components: What labeled or visually distinct components are shown?
- Identify connections: How do components relate to each other?
- Identify flow: If it's a flowchart or sequence, what is the step order?
对于每幅找到的附图:
- 读取图像:使用Read工具读取(支持图像文件)
- 识别组件:图中显示了哪些带标注或视觉上可区分的组件?
- 识别连接关系:组件之间如何关联?
- 识别流程:如果是流程图或序列图,步骤顺序是什么?
Step 3: Assign Reference Numerals
步骤3:分配参考编号(Reference Numerals)
For each figure, assign numerals using the series convention:
| Figure | Numeral Range |
|---|---|
| FIG. 1 | 100-199 |
| FIG. 2 | 200-299 |
| FIG. 3 | 300-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)
按照编号系列规则为每幅附图分配编号:
| 附图 | 编号范围 |
|---|---|
| 图1 | 100-199 |
| 图2 | 200-299 |
| 图3 | 300-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
undefinedReference Numeral Index
Reference Numeral Index
| Numeral | Component Name | Figure(s) | Claim Element |
|---|---|---|---|
| 100 | System | FIG. 1 | Claim X preamble |
| 102 | Processor | FIG. 1 | Claim X, element 1 |
| 104 | Memory | FIG. 1 | Claim X, element 2 |
| 106 | Communication bus | FIG. 1 | Claim X, element 3 |
| 200 | Method | FIG. 2 | Claim 1 preamble |
| 202 | Receiving step | FIG. 2 | Claim 1, step 1 |
| 204 | Processing step | FIG. 2 | Claim 1, step 2 |
undefined| Numeral | Component Name | Figure(s) | Claim Element |
|---|---|---|---|
| 100 | System | FIG. 1 | Claim X preamble |
| 102 | Processor | FIG. 1 | Claim X, element 1 |
| 104 | Memory | FIG. 1 | Claim X, element 2 |
| 106 | Communication bus | FIG. 1 | Claim X, element 3 |
| 200 | Method | FIG. 2 | Claim 1 preamble |
| 202 | Receiving step | FIG. 2 | Claim 1, step 1 |
| 204 | Processing step | FIG. 2 | Claim 1, step 2 |
undefinedStep 6: Cross-Reference to Claims
步骤6:与权利要求交叉引用
Verify that every claim element has at least one reference numeral:
| Claim Element | Figure | Numeral | Status |
|---|---|---|---|
| [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.mdmarkdown
undefined写入:
patent/figures/figure_descriptions.mdmarkdown
undefinedFigure 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`:
```markdownReference Numeral Index
Reference Numeral Index
[Complete table of all numerals, components, figures, and claim mappings]
undefined[包含所有编号、组件、附图及权利要求映射的完整表格]
undefinedKey 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系列。
- 如果同一组件出现在多幅附图中,使用相同的编号。
- 不得修改用户提供的附图——仅对其进行描述。
- 标记权利要求所需但用户未提供的缺失附图。
- 附图说明为单句格式,保持一致。