jurisdiction-formatlisted
Install: claude install-skill wookat/ai-research-skills
# 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 f