Skills

Jurisdiction Format

Compile patent application into jurisdiction-specific filing format.

Install

npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill jurisdiction-format -g -a claude-code -y
Category
Engineering
Updated
4d ago
License
MIT
Context cost
Mediumabout 1,542 tokens
Runs scripts
No, instructions only

What it does

Compile patent application into jurisdiction-specific filing format. Use when user says \"格式转换\", \"jurisdiction format\", \"国家格式\", \"compile patent\", or wants formatted patent documents for CN/US/EP filing.

Jurisdiction Format: Patent Filing Compilation

Compile the patent application into filing-ready format based on: $ARGUMENTS

Analogous to /paper-compile but for patent document formatting instead of LaTeX.

Constants

  • JURISDICTION = "auto", From pipeline or args: CN, US, EP, ALL
  • PATENT_TYPE = "invention", invention (发明专利) or utility_model (实用新型, CN only)
  • OUTPUT_FORMAT = "markdown", markdown (for review) or docx (for filing, requires python-docx)
  • OUTPUT_DIR = "patent/output/", Base output directory

Inputs

  1. patent/CLAIMS.md, drafted claims
  2. patent/specification/, all specification sections (title, technical_field, background, summary, drawings_description, detailed_description, abstract)
  3. patent/figures/, figure descriptions and numeral index
  4. patent/INVENTION_DISCLOSURE.md, for metadata

Shared References

Load ../shared-references/patent-format-cn.md for CNIPA document structure and formatting rules. Load ../shared-references/patent-format-us.md for USPTO document structure. Load ../shared-references/patent-format-ep.md for EPO document structure.

Workflow

Step 1: Determine Output Jurisdictions

From $ARGUMENTS or constant:

  • CN -> Generate CNIPA format only
  • US -> Generate USPTO format only
  • EP -> Generate EPO format only
  • ALL -> Generate all three formats

Step 2: Generate CN Format (if CN or ALL)

Output to patent/output/CN/:

权利要求书 (Claims)

  • Extract claims from patent/CLAIMS.md
  • Format per CNIPA conventions:
    • Independent claims: "1. 一种[主题]的方法,...其特征在于..."
    • Dependent claims: "2. 根据权利要求1所述的方法,其特征在于..."
  • Ensure Chinese terminology is correct (所述, 其特征在于, 包括, 等)
Read the whole SKILL.md on GitHub

More in Engineering