
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- Repository
- wanshuiyin/Auto-claude-code-research-in-sleep18.4k
- 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,ALLPATENT_TYPE = "invention",invention(发明专利) orutility_model(实用新型, CN only)OUTPUT_FORMAT = "markdown",markdown(for review) ordocx(for filing, requires python-docx)OUTPUT_DIR = "patent/output/", Base output directory
Inputs
patent/CLAIMS.md, drafted claimspatent/specification/, all specification sections (title, technical_field, background, summary, drawings_description, detailed_description, abstract)patent/figures/, figure descriptions and numeral indexpatent/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 onlyUS-> Generate USPTO format onlyEP-> Generate EPO format onlyALL-> 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 (所述, 其特征在于, 包括, 等)
