Patent Write

Drafts or polishes a Chinese invention patent, from claims and abstract to detailed embodiments, using only the technical details you provide.

Writing & Editingpatentschinesetechnical writingintellectual propertyby xstongxue3.1kGitHub

What it is

Patent Write helps engineers, researchers and patent agents produce Chinese invention patent applications. The skill and its templates are written in Chinese and follow Chinese patent drafting conventions. You give it a description of your technical solution, an existing draft or a reference patent, and it writes the title, abstract, background, summary of the invention, claims, figure descriptions and detailed embodiments, either as a complete document or one section at a time.

It works structure first: it pins down the innovation and what is to be protected, builds the claims, with a broad first claim and narrower dependent claims, and then writes the other sections around them. Each section has its own rules, for example tying every defect named in the background to a matching benefit, defining variables before formulas, and making sure every figure is referenced in the embodiments. Given a reference patent, it extracts reusable structure and phrasing without copying the technical content. It can also produce black-and-white figures with Chinese labels as Draw.io files.

A full run ends with a consistency review listing must-fix and optional issues, such as one component going by two names or claims drifting away from the description. Sections are separated so you can paste them into a Word template. It will not invent experimental data, results or hardware parameters, and marks gaps as to be supplied. Many of its worked examples come from the author's own patent on an AI grading system, so it fits method, system, device and storage-medium patents best.

What it can do

  • Writes a complete Chinese invention patent in order: claims, title, abstract, background, summary, figure descriptions and embodiments.
  • Builds claim sets with a broad independent claim and dependent claims that narrow steps, parameters and formulas.
  • Rewrites or fills in a single section, such as the abstract or the detailed embodiments.
  • Extracts reusable structure and phrasing from a reference patent without copying its technical content.
  • Creates black-and-white Draw.io flowcharts, architecture diagrams and system block diagrams with Chinese labels.
  • Reviews a draft for consistent terms, claims that match the description, and figures that are never referenced.

When to use it

  • Your team built a new scheduling algorithm and you need a first draft of a Chinese invention patent from the design document.
  • Your draft's first claim only says 'obtain, process, output' and needs real structure before filing.
  • Your company's patent agent sent a reference patent and asked you to write yours in the same style.
  • Before filing, you want to check that every term, figure number and step label is consistent across the document.

How it works

  1. 1The agent works out whether you want a full patent, one section, a style extraction from a reference patent, or a final review.
  2. 2It gathers your technical solution, drafts, reference patents, diagrams and innovation points, and lists anything missing.
  3. 3It loads the writing rules and template for each section and drafts strictly from your material.
  4. 4For a full patent it writes the claims first, then the other sections, then a self-check, without stopping for approval at each step.
  5. 5It delivers each section separated and labeled, plus Draw.io figure files if you asked for diagrams.

Try asking

“Write a complete Chinese invention patent based on this technical description of our image-matching method”
“Draft the independent and dependent claims in Chinese for this technical solution”
“Learn the structure of this reference patent and write our abstract and background in the same style”
“Check this patent draft for inconsistent terms and figures that are never referenced”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/xstongxue/best-skills/tree/main/skills/patent-write
pnpm
pnpm dlx skills add https://github.com/xstongxue/best-skills/tree/main/skills/patent-write

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the patent-write folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/xstongxue/best-skills.git
mkdir -p ~/.claude/skills
cp -r best-skills/skills/patent-write ~/.claude/skills/patent-write

Then just ask in plain language, for example: “Write a complete Chinese invention patent based on this technical description of our image-matching method”