skills/jurisdiction-format/SKILL.md
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.
npx skillsauth add shaun-z/auto-claude-code-research-in-sleep jurisdiction-formatInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Compile the patent application into filing-ready format based on: $ARGUMENTS
Analogous to /paper-compile but for patent document formatting instead of LaTeX.
JURISDICTION = "auto" — From pipeline or args: CN, US, EP, ALLPATENT_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 directorypatent/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 metadataLoad ../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.
From $ARGUMENTS or constant:
CN -> Generate CNIPA format onlyUS -> Generate USPTO format onlyEP -> Generate EPO format onlyALL -> Generate all three formatsOutput to patent/output/CN/:
patent/CLAIMS.mdCombine all specification sections in CNIPA order:
If OUTPUT_FORMAT = "markdown":
If OUTPUT_FORMAT = "docx":
Output to patent/output/US/:
Combine all sections in USPTO order:
Format drawings references as "FIG. 1" (not "Figure 1").
Generate a skeleton ADS with:
Output to patent/output/EP/:
Combine all sections in EPO Rule 42 order:
Format drawings references as "FIG. 1" or "Figure 1".
Verify across all generated formats:
Write patent/output/OUTPUT_SUMMARY.md:
## Patent Filing Documents
### Generated Files
#### CN (CNIPA)
| File | Description | Status |
|------|-------------|--------|
| 权利要求书.md | Claims in CN format | Complete |
| 说明书.md | Description in CN format | Complete |
| 说明书摘要.md | Abstract (CN) | Complete |
#### US (USPTO)
| File | Description | Status |
|------|-------------|--------|
| claims.md | Claims in US format | Complete |
| specification.md | Description in US format | Complete |
| abstract.md | Abstract (US) | Complete |
| ads_template.md | Application Data Sheet skeleton | Complete |
#### EP (EPO)
| File | Description | Status |
|------|-------------|--------|
| claims.md | Claims in EP format | Complete |
| description.md | Description in EP format | Complete |
| abstract.md | Abstract (EP) | Complete |
### Consistency Check
- [ ] All claims present in all formats
- [ ] Reference numerals consistent
- [ ] Language correct per jurisdiction
OUTPUT_FORMAT = "docx", check that python-docx is available; if not, fall back to markdown.development
Generate publication-quality academic illustrations through a local Codex app-server bridge that uses Codex native image generation. This is a separate experimental alternative to `paper-illustration`, intended for Claude Code users who want a GPT-image-style renderer without modifying the original skill.
development
Two-way sync between a local paper directory and an Overleaf project via the Overleaf Git bridge (Premium feature). Lets you keep ARIS audit/edit workflows on the local copy while collaborators edit in the Overleaf web UI. Token never touches the agent — user does the one-time auth via macOS Keychain. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to bridge their ARIS paper directory with an Overleaf project.
development
Zero-context verification that every bibliographic entry in the paper is real, correctly attributed, and used in a context the cited paper actually supports. Uses a fresh cross-model reviewer with web/DBLP/arXiv lookup to catch hallucinated authors, wrong years, fabricated venues, version mismatches, and wrong-context citations (cite present but the cited paper does not establish the claim). Use when user says "审查引用", "check citations", "citation audit", "verify references", "引用核对", or before submission to ensure bibliography integrity.
data-ai
Paragraph-level structural blueprint for 10-12 page systems papers targeting OSDI, SOSP, ASPLOS, NSDI, and EuroSys. Provides page allocation, paragraph templates, and writing patterns. Use when user says "写系统论文", "systems paper structure", "OSDI paper", "SOSP paper", or wants fine-grained structural guidance for a systems conference submission.