Skip to content

Yuan1z0825/nature-skills / skills/nature-paper-to-patent

nature-paper-to-patent

Flagged

Turn research papers or inventor materials into evidence-grounded Chinese invention patent drafts and technical disclosures. Use for 技术交底书、专利撰写、现有技术对比 and Chinese DOCX patent packages; not general manuscript writing.

FileKindSize
README.mdmarkdown2.9 KB
README_EN.mdmarkdown3.3 KB
SKILL.mdskill md4.5 KB
agents/openai.yamlconfig248 B
evals/evals.jsonconfig1.5 KB
manifest.yamlconfig3.1 KB
references/cn-patent-drafting-guide.mdmarkdown8.0 KB
references/corpus-derived-patterns.mdmarkdown3.5 KB
references/corpus-pair-audit.mdmarkdown2.9 KB
references/disclosure/correction_handler.mdmarkdown2.8 KB
references/disclosure/disclosure_builder.mdmarkdown12.1 KB
references/disclosure/disclosure_preview.mdmarkdown917 B
references/disclosure/disclosure_self_check.mdmarkdown5.9 KB
references/disclosure/intake.mdmarkdown943 B
references/disclosure/iteration_context.mdmarkdown4.3 KB
references/disclosure/merger.mdmarkdown3.4 KB
references/disclosure/patent-disclosure-skill-MIT-LICENSE.txtmarkdown1.0 KB
references/disclosure/patent_points_analyzer.mdmarkdown951 B
references/disclosure/prior_art_search.mdmarkdown10.4 KB
references/disclosure/project_scan.mdmarkdown3.6 KB
references/disclosure/template_reference.mdmarkdown9.2 KB
references/disclosure/tooling.mdmarkdown16.2 KB
references/draft-schema.mdmarkdown9.0 KB
references/patent-figure-guide.mdmarkdown2.9 KB
requirements.txtmanifest121 B
scripts/audit_claims.pyscript6.4 KB
scripts/build_patent_package.pyscript6.5 KB
scripts/disclosure/cnipa_epub_crawler.pyscript10.7 KB
scripts/disclosure/cnipa_epub_parse.pyscript8.8 KB
scripts/disclosure/cnipa_epub_search.pyscript5.9 KB
scripts/disclosure/docx_to_md.pyscript3.7 KB
scripts/disclosure/iteration_dialog_log.pyscript3.2 KB
scripts/disclosure/math_render.pyscript12.7 KB
scripts/disclosure/md_to_docx.pyscript32.2 KB
scripts/disclosure/mermaid_render.pyscript15.2 KB
scripts/disclosure/package-lock.jsonmanifest84.4 KB
scripts/disclosure/package.jsonmanifest279 B
scripts/disclosure/pptx_to_md.pyscript4.9 KB
scripts/disclosure/requirements-cnipa.txtmarkdown172 B
scripts/extract_pdf_text.pyscript2.3 KB
scripts/init_patent_project.pyscript3.1 KB
scripts/math_to_omml.pyscript4.8 KB
scripts/render_flowchart_svg.pyscript14.3 KB
scripts/render_patent_docx.pyscript10.3 KB
scripts/validate_patent_draft.pyscript14.6 KB
static/core/output-contract.mdmarkdown2.0 KB
static/core/principles.mdmarkdown1016 B
static/core/workflow.mdmarkdown3.8 KB
static/fragments/invention/algorithm-software.mdmarkdown366 B
static/fragments/invention/apparatus-system.mdmarkdown288 B
static/fragments/invention/mixed.mdmarkdown255 B
static/fragments/invention/process-material.mdmarkdown278 B
static/fragments/source/mixed-project.mdmarkdown369 B
static/fragments/source/pasted-text.mdmarkdown316 B
static/fragments/source/pdf-text.mdmarkdown290 B
static/fragments/source/scanned-pdf.mdmarkdown272 B
static/fragments/task/claim-set.mdmarkdown249 B
static/fragments/task/disclosure-analysis.mdmarkdown236 B
static/fragments/task/disclosure-iteration.mdmarkdown1005 B
static/fragments/task/full-draft.mdmarkdown247 B
static/fragments/task/paper-patent-audit.mdmarkdown280 B
static/fragments/task/technical-disclosure.mdmarkdown1.5 KB
tests/test_audit_claims.pyscript1.6 KB
tests/test_inline_math_paren.pyscript1.7 KB
tests/test_math_to_omml_superscript.pyscript2.2 KB
tests/test_md_to_docx_source_overwrite.pyscript1.4 KB
tests/test_mermaid_render.pyscript2.3 KB
tests/test_validation.pyscript6.0 KB
tests/test_validation_figure_node_ids.pyscript614 B

references/disclosure/disclosure_builder.md

View on GitHub
# 技术交底书生成模板(Step 7)

## Contents

- [7.1 章节结构](#71-章节结构)
- [7.2 文档头部模板](#72-文档头部模板)
- [注意事项](#注意事项)
- [7.3 输出文件命名(用户产出目录,必遵循)](#73-输出文件命名用户产出目录必遵循)
- [7.4 系统框图与流程图要点](#74-系统框图与流程图要点)
- [7.5 脱敏要求](#75-脱敏要求)
- [7.7 符号与公式体例(必遵)](#77-符号与公式体例必遵)
- [定稿交付:Markdown + Word(必做)](#定稿交付markdown-word必做)
- [7.6 交付回复:权利要求偏向点(建议交互,必做)](#76-交付回复权利要求偏向点建议交互必做)


详细章节范例与 **mermaid** 图示模版见同目录 **`template_reference.md`**。

## 7.1 章节结构

```
1. 注意事项
2. 一、介绍相关技术背景,描述与本发明技术最相近的现有技术,并说明该现有技术存在的缺点
   - 1.1 现有技术(按技术方向分类,含专利检索结果)
   - 1.2 现有技术存在的缺点
3. 二、针对上述缺点,说明本发明所要解决的技术问题
4. 三、本发明技术方案的详细阐述
   - 3.1 背景
   - 3.2 系统框图(**mermaid**,如 `flowchart` + `subgraph` 分层;交付前经工具转 PNG;**不要** ASCII 文字框图)
   - 3.3 模块功能说明(聚焦作用与关联关系,非输入输出)
   - 3.4 系统流程说明(**mermaid 流程图**,交付前经工具转 PNG;**不要** ASCII 文字/箭头流程图)
   - 3.4.1 符号与公式(出现公式或形式化变量时**须设**;**须**先符号与变量定义、再写公式;体例见 **§7.7** 与 **`template_reference.md` §3.4.1**)
   - 3.5 关键技术参数(参数表「符号」列与 3.4.1 **同形**)
5. 四、与现有技术相比,本发明具有哪些优点?
6. 五、本发明的技术关键点和欲保护点是什么?
7. 六、其它(实施例、技术效果、参数示例)
```

**第一章 1.1 撰写硬性要求**:在「按技术方向分类」的**每一条**现有技术(专利或文献)末尾或表格中,必须给出 **经核验的公开源 URL**(规范与示例见 `prior_art_search.md` 与 `template_reference.md` §1.1)。**国知局检索**(`EPUB_HITS_JSON`)中对该专利给出的 **`abstract` 非空时**:文中「技术方案 / 应用 / 局限」类表述**须以摘要理解为前提**(消化后重写,非整段粘贴),**禁止**与摘要明显矛盾或脱离摘要杜撰;详见 **`prior_art_search.md`**「`abstract` 必用」。

**禁止输出**:交底书正文中**不得**包含「自检清单」章节,例如检查项表格或带状态符号的清单列。自检见 `disclosure_self_check.md`,**内部执行**,不写入交付正文。

**禁止仓库/技能脚注**:交付用 Markdown **末尾不得**出现任何指向本技能或示例仓库的说明,例如「本文件为 `patent-disclosure-skill` 仓库内教学示例」「不构成任何法律或技术承诺」「虚构教学」「详见 `examples/`」等。正文**止于第六章及此前章节**;**不要**在文末追加斜体免责或仓库署名。

## 7.2 文档头部模板

```markdown
# 技术交底书

**案件名称**:[待填写]一种XXX方法及系统

**技术联系人**:
- 姓名:[待填写]
- 电话:[待填写]
- 邮箱:[待填写]

**专利类型**:发明

---

## 注意事项

(1)交底书应使代理人能看懂,尤其是背景技术和详细技术方案,一定要写得全面、清楚、完整;
(2)技术的公开程度,应以本领域普通技术人员不需付出创造性劳动即可进行实施为准。
(3)在与代理人沟通时,对于代理人咨询的技术问题,应给予回答并认真讲解,并且按要求及时正确地补充相应技术材料。
```

## 7.3 输出文件命名(用户产出目录,必遵循)

在用户目录(如 `outputs/{案件标识}/`)写入交底书 **Markdown / Word** 时,**主文件名须体现正文中的「案件名称」**,且**凡向用户落盘交付的定稿均须带时间戳后缀**(见下第 5 点),避免无区分度的固定名(如一律 `disclosure_draft.md`)。

1. **提取**:从 `**案件名称**:` 行取完整发明名称;去掉占位(如 `[待填写]`、`【待填写】`)、首尾空格。
2. **规范化**:删除或替换 Windows 非法字符 `\ / : * ? " < > |` 与换行;连续空格可压为单个空格或删去(中文标题通常无空格亦可)。
3. **长度**:文件名(不含扩展名)建议 **≤ 80 个字符**;超长则**截断**到约 80 字并保留语义完整(例如截在「方法及系统」等结尾词之前),勿用无意义随机串。
4. **定稿命令**:`mermaid_render.py` 的 `-o` / `--docx` 须使用**同一主文件名**,且该主名**必须符合第 5 点**(**案件名 + `_` + 14 位时间戳**)。示例(案件名已按上文规范化、过长已截断时):

   `python3 scripts/disclosure/mermaid_render.py -i "…草稿.md" -o "一种异构计算环境下基于资源画像与限频重排队的批任务调度方法及系统_20260408143025.md"`

   默认同目录生成同名 `.docx`。过程性中间稿(仅自用、非交付)文件名可自定,但**最终交付**不得省略时间戳。

5. **时间戳后缀(凡落盘交付必遵循)**:凡写入用户产出目录、作为**向用户交付**的技术交底书 **`.md` / `.docx`**,主文件名须为:
   **`{§7.3 规范化案件名}_{YYYYMMDDHHmmss}.md`** 与同名 **`.docx`**。
   - **首次定稿**与**迭代合并/纠正**适用**同一规则**;每次交付取**当次落盘时**的**本地时间** 14 位数字(年月日时分秒各 2 位,如 `20260408143025`)。
   - **不要覆盖**已有交付文件;新一次交付即**新时间戳**、新文件名。用户**明确要求**覆盖某路径时从其意。
   - **`mermaid_render.py`** 的 `-o` 与可选 `--docx` 须与上述主名一致。
   - **例外**:用户书面指定文件名时从其意(仍建议保留时间戳以免混淆)。

Agent **落盘时**即采用上述命名,并在回复中写明路径,便于用户对照标题与磁盘文件。

## 7.4 系统框图与流程图要点

- **系统框图与流程图**均仅用 **fenced mermaid**(本地 `mmdc` 渲染,不依赖外网 PlantUML);Word 中以 PNG 为准,**无需**再附 ASCII 文字框图
- mermaid 内节点标签用简短中文/数字,避免 ①②③。可另写简短「流程说明」段落概括各步,**不得**用 ASCII 框线箭头代替图示

## 7.5 脱敏要求

| 类型 | 脱敏方式 | 示例 |
|------|----------|------|
| 业务/行业 | 抽象为通用描述 | 「XX检测」→「多标签分类场景」 |
| 具体分类 | 用 ABC 等替代 | 「类别1、类别2」→「分类A、分类B、分类C」 |
| 具体数值 | 用范围或示例说明 | 「每日 N 人」→「每日一定规模」 |
| 公司/产品 | 不出现具体名称 | 删除或替换为「某系统」 |

## 7.7 符号与公式体例(必遵)

撰写 **3.4.1**、**3.5** 及全文含 LaTeX 的段落时须遵循;正/反例与符号表示例见 **`template_reference.md` §3.4.1**。

### 符号表先行

- 撰写 **3.4.1** 或全文含 LaTeX 时,**先写符号与变量定义**(可按(1)任务/对象下标、(2)节点/环境下标、(3)标量与向量分组),每项至少含:**符号、含义、下标含义(如 \(i\)=任务、\(j\)=节点)、量纲或取值范围**。
- 其后公式、**3.5 参数表**、**第六章实施例**中出现的符号须与符号表 **同形、同义**。
- **禁止同一字母多义**:例如任务侧权重用 \(b\),节点侧饱和度应改用 \(g\)、\(h\) 等其它字母,勿任务/节点共用 \(b\) 表示不同物理量。

### 下标与上标

- **资源维度/类型标签**(cpu、mem、io、peak 等)一律写入 **下标**,维度名用 `\mathrm{cpu}`、`\mathrm{mem}` 等正体,例如 `b_{i,\mathrm{cpu}}`、`a_{j,\mathrm{mem}}`。
- **禁止**用 `^{cpu}`、`^{mem}`、`^{io}` 等 **上标** 表示维度或字段名(易被读作幂次,亦不符合专利正文常见写法)。
- **上标仅用于**:幂次、转置、序号、撇号类标记;**下标用于**对象编号与维度标签。

### LaTeX 分隔与写法(全文统一)

- **行内公式**:全文统一 **`\(...\)`** 或 **`$...$`** 二选一,**不得混用**。
- **块级公式**:全文统一 **`\[...\]`** 或 **`$$...$$`** 二选一,**不得混用**。
- 比较符优先写 `\leq`、`\geq`(定稿工具可兼容 `\le`/`\ge`,正文仍推荐 `\leq`/`\geq`)。
- 块级公式尽量 **单行写完**;需编号时用 `\tag{1}` 或正文写「式 (1)」,**全文择一**并保持体例一致。
- 逻辑连接词(「且」「或」)优先写在公式 **外** 的中文叙述中;若必须写入公式内,用 `\land`/`\lor`,**避免** `\text{且}` 等复杂文本命令(定稿渲染易失败)。

### 跨节一致

- **3.4.1 符号表**、正文首次定义式、**3.5「符号」列**、**第六章实施例** 四处须 **逐字同形**。
- 修改任一处符号时,须同步核对上述各处及 3.3/3.4 文字叙述中的同名变量。

---

## 定稿交付:Markdown + Word(必做)

**版本与覆盖**:凡交付均以 **§7.3 第 5 点**「**案件名 + 时间戳**」落盘,同目录下多文件即版本历史。**可选**:另存 `versions/` 手工快照非强制。

须**同时**交付:

1. **Markdown**:定稿 `.md` **保留** `` ```mermaid`` 围栏源码,并含 ``<!-- ![图示](…png) -->`` 注释引用(由 `mermaid_render.py` 生成)。
2. **Word**:对上一文件执行 `md_to_docx.py`,或使用一条命令:

`python3 scripts/disclosure/mermaid_render.py -i <含图示的草稿.md> -o "<案件名_YYYYMMDDHHmmss>.md"`(默认在同目录生成**同名** `.docx`;可用 `--docx` 指定路径,`--no-docx` 跳过 Word。Word 失败时见终端提示的手动命令。)

(mermaid 依赖 Node/mmdc、`pip install -r requirements.txt` 见 `references/disclosure/tooling.md`。)

## 7.6 交付回复:权利要求偏向点(建议交互,必做)

每次向用户**交付**本技能产出的定稿(已写明 **`{案件名}_{YYYYMMDDHHmmss}.md` / `.docx` 路径**)时,在**同一条对话回复**中**追加**一段**仅供用户选用**的交互引导(**不得**写入交底书正文、不得出现在 `.md`/`.docx` 内)。

**须交代清楚:**

1. 用户若希望对**第五章「技术关键点和欲保护点」**做更贴近**权利要求书撰写习惯**的强化,可**用一句话说明侧重点**。
2. 承接方式:Agent **`Read`** **`iteration_context.md`**,再按 **`merger.md`** 以**当前交付稿为基准**合并,**另存**新时间戳 **`.md` / `.docx`**(§7.3 第 5 点),并维护 **`交底书修订对话记录.md`**。
3. **禁止捏造偏向**:对话里提出的「可对举的两类侧重点」**必须**能从**当前定稿与上游已用材料**中推出——包括 Step 2 扫描文档、Step 3–4 已整理专利点、**第三至五章已写明的技术方案与保护点表述**;**不得**为了凑交互而编造本案未涉及的场景、模块或行业词。若全文仅有一条清晰保护主线,**只须忠实概括该主线**并询问是否改为更「方法/系统/流程步骤」或更「装置/模块」等**书式侧重**(仍须对应文中已有结构,不新增技术事实)。
4. 在满足上条前提下,可给出**两组可对举的偏向**(用语须**摘编或概括**自正文已有概念,而非套用泛例);句式可参考:

> 若您希望权利要求/保护点表述更偏「……」或更偏「……」(**二者均须与本稿已阐述的技术路线或保护点一致,仅为书式或强调重心之择**),请说明侧重点;我可按 **`iteration_context.md`** 与 **`merger.md`** 另存一版,对**第五章做权利要求书式强化**(无新材料时其它章节以衔接一致为前提,尽量保持既有结论)。

**合并 / 纠正迭代**若再次交付定稿,**仍须**附带本节同类引导(可缩短为 1~2 句,但须保留「第五章」「新时间戳」「iteration_context + merger」三要素之一或等效说明,且**仍遵守「不捏造」**)。
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall