whatisgithub

What is patent-disclosure-skill?

fuyuxiang/patent-disclosure-skill — explained in plain English

Analysis updated 2026-06-24

17PythonAudience · pm founderComplexity · 2/5LicenseSetup · easy

In one sentence

A plug-in skill for AI coding assistants like Claude Code and Cursor that guides inventors through a multi-round conversation to produce a complete, formally structured patent disclosure document with SVG diagrams.

Mindmap

mindmap
  root((patent-disclosure))
    What it does
      Guides inventors
      Generates disclosure doc
      Produces SVG figures
    Process
      Multi-round conversation
      Domain classification
      Formal patent language
    Output
      CNIPA structure
      SVG diagrams
      Word export
    Domains
      Computer software
      Electronics
      Mechanical
    Tech stack
      Python
      SVG
      Markdown
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Walk through a guided conversation in your AI coding tool to generate a complete patent disclosure document ready for your patent attorney.

USE CASE 2

Automatically generate black-and-white SVG patent figures such as system diagrams and flowcharts that meet patent office formatting rules.

USE CASE 3

Export your completed patent disclosure and diagrams to a formatted Word file with a single command.

What is it built with?

PythonSVGMarkdown

How does it compare?

fuyuxiang/patent-disclosure-skill0petru/sentimoalingalingling/akasha-wechat
Stars171717
LanguagePythonPythonPython
Setup difficultyeasymoderatehard
Complexity2/53/54/5
Audiencepm founderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min
Use, copy, modify, and distribute freely for any purpose including commercial use, with the original copyright notice kept.

So what is it?

This is a skill (a plug-in set of instructions) for AI coding tools such as Claude Code, Cursor, Windsurf, and similar assistants. Its purpose is to help inventors write patent disclosure documents, which are the detailed technical write-ups that patent attorneys and agents need before they can file a patent application. The skill guides the user through this process using a multi-round conversation rather than asking them to fill out a form. When you activate it, the skill starts by asking a few questions to understand who you are (inventor or patent agent), what you have (a rough verbal description, an existing document, or a code repository), and which technical domain your invention belongs to. From there it asks one focused question at a time to extract the necessary information. The whole conversation typically takes between five and twenty rounds depending on how much material you already have ready. Once it has gathered enough detail, the skill generates a complete patent disclosure document structured the way the China National Intellectual Property Administration expects: technical field, background, description of the invention, technical problem, technical solution, beneficial effects, description of figures, and specific implementation methods. It writes in formal patent language rather than casual AI-generated phrasing, filtering out generic filler phrases automatically. The skill also produces supporting diagrams in SVG format, following the strict rules that patent offices apply to figures: pure black-and-white lines, three-digit reference numbers, no overlapping lead lines. Supported diagram types include system architecture diagrams, flowcharts, and data-flow diagrams. Once the document and diagrams are ready, you can export the whole package to a properly formatted Word file with a single command. The project includes reference files for three technical domains (computer software, electronics and communications, and mechanical manufacturing), each containing a terminology guide and standard sentence patterns used in that field. You can add new domains by creating additional reference files in the same format. The repository is written in Python and is licensed under MIT.

Copy-paste prompts

Prompt 1
I have a rough description of my software invention. Activate the patent-disclosure-skill and start the intake conversation to produce a patent disclosure document.
Prompt 2
The skill generated my patent disclosure but I need to add a second implementation method. How do I continue the conversation to expand that section?
Prompt 3
Generate a system architecture SVG diagram for my invention using the patent-disclosure-skill, showing three components connected by data flow arrows.
Prompt 4
I want to add an electronics domain reference file to patent-disclosure-skill. What format and sections does it need to match the existing computer software reference file?

Frequently asked questions

What is patent-disclosure-skill?

A plug-in skill for AI coding assistants like Claude Code and Cursor that guides inventors through a multi-round conversation to produce a complete, formally structured patent disclosure document with SVG diagrams.

What language is patent-disclosure-skill written in?

Mainly Python. The stack also includes Python, SVG, Markdown.

What license does patent-disclosure-skill use?

Use, copy, modify, and distribute freely for any purpose including commercial use, with the original copyright notice kept.

How hard is patent-disclosure-skill to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is patent-disclosure-skill for?

Mainly pm founder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.