| name | jurisdiction-format |
| title | Jurisdiction Format: Patent Filing Compilation |
| description | 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. |
| author | wanshuiyin |
| author_url | https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/main/skills/jurisdiction-format |
| license | MIT |
| version | 0.1.0 |
| execution_mode | open |
| jurisdiction | cross-jurisdiction |
| practice | ip |
| language | en |
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
patent/CLAIMS.md — drafted claims
patent/specification/ — all specification sections (title, technical_field, background, summary, drawings_description, detailed_description, abstract)
patent/figures/ — figure descriptions and numeral index
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 (所述, 其特征在于, 包括, 等)