Chinese Document Table Extraction & Field Validator
БесплатноЗапускает вложенные скриптыНе проверенExtract structured tables and key fields from Chinese PDF, scanned images, Excel (xlsx) and Word (docx) documents, then validate every extracted value and…
от tingyun01210 установок в других каталогахОб этом скилле
Chinese Document Table Extraction & Field Validator
This skill turns messy Chinese business documents into machine-readable records, then audits those records so a human reviewer knows exactly what to trust.
Two halves, always in this order:
- Extraction — read tables out of a PDF / scan / xlsx / docx / csv file, keeping the physical origin of every cell (page, table id, row index, column index).
- Validation — check the extracted records against a document-type field profile (required fields, amount format, date format, identifier shape, totals) and mark every problem instead of silently repairing it.
The hard rule of this skill: a value that cannot be pointed back to a source location is
unverified, and a value that is missing is reported as missing. Nothing is guessed.
When to use this skill
Use it when the request is one of these shapes:
- "Extract the transaction table from this Chinese bank statement (对账单解析)."
- "Pull invoice number, date, amount and tax amount out of these Chinese VAT invoices (中文发票识别)."
- "Get policy number, insured party, sum insured and payment term out of this insurance contract (保单信息提取)."
- "Turn this payroll or social-insurance spreadsheet into structured records and check the totals (工资表/社保公积金表)."
- "Extract the line-item tables from this logistics waybill, customs declaration, or bid attachment."
- "Pull the numeric note tables out of a Chinese financial report (财报附注)."
- "Validate these already-extracted Chinese invoice records and tell me what is broken (表格字段校验)."
- Any pipeline step that reads Chinese documents and needs traceable, validated output rather than free text.
Do not use it for:
- Drafting, polishing, translating or summarizing Chinese prose documents. There is no table to extract and the validation half has nothing to audit.
- Legal, tax or accounting opinions. This skill reports what a document says; it does not judge whether the document is correct, lawful or complete in a legal sense.
- Images that are photographs of physical scenes, screenshots of chat threads, or handwriting-only notes with no table structure.
- Documents in English or other Latin-script languages only — the field profiles and format rules here are built for Chinese 单据 (bills/forms) conventions.
- Anything that needs a human sign-off on authenticity (印章 verification, watermark checks, signature authenticity). This skill extracts pixels-to-text, not truth.
Input contract
The skill must refuse to start and must state what is missing if any of these are absent.
| # | Required input | If missing | If ambiguous |
|---|---|---|---|
| 1 | The source file (pdf / png / jpg / xlsx / docx / csv) or a path to it | Refuse. Ask for the file and list the supported extensions. Never fabricate a document. | If several files are given, ask which one to process first, or process each and label outputs by filename |
| 2 | Document type profile (bank statement / VAT invoice / insurance policy / payroll / logistics / customs / generic) | Do not guess silently. Ask the user to pick one, and offer the list below | If the type is clear from the layout or filename, use it but state the assumption in the output header |
| 3 | Field expectations — either a built-in profile or a custom field list | If the user says "extract everything", extract every column but mark the profile as generic and apply only universal checks |
If a custom field list is partially named, apply it and report which named fields were not found |
| 4 | Output target (table only / JSON only / both) | Default to both and say so | — |
Optional but recommended: page or sheet range, currency assumption, whether the document is a scan (affects OCR expectations), and the tolerance for sum reconciliation.
Built-in document profiles
| Profile key | 中文 | Typical fields (中文原文 → English) |
|---|---|---|
bank_statement |
银行对账单 / 交易明细 | 交易日期 transaction date, 摘要 summary, 借方发生额 debit, 贷方发生额 credit, 余额 balance, 对方户名 counterparty |
vat_invoice |
增值税发票 | 发票代码 invoice code, 发票号码 invoice number, 开票日期 issue date, 金额 amount, 税额 tax amount, 价税合计 total, 销方名称 seller |
insurance_policy |
保单 / 保险合同 | 保单号 policy number, 投保人 policyholder, 被保人 insured, 保险标的 subject, 保额 sum insured, 缴费期 payment term, 生效日期 effective date |
payroll |
工资表 / 社保公积金表 | 姓名 name, 工号 employee no, 身份证号 ID no, 应发工资 gross pay, 个人所得税 tax, 社保 personal social insurance, 公积金 housing fund, 实发工资 net pay |
logistics |
运单 / 报关单 | 运单号 waybill no, 收发货人 shipper/consignee, 品名 goods, 数量 quantity, 重量 weight, 运费 freight |
customs |
报关单 | 报关单号 declaration no, 商品编号 HS code, 数量 quantity, 单价 unit price, 金额 amount, 币制 currency |
generic |
通用明细表 | every detected column name, header row + data rows |
Rejection rules (hard)
- No source file → refuse, do not produce a "sample" answer.
- Source file present but unreadable / encrypted / corrupt → refuse, state the library
Установить Chinese Document Table Extraction & Field Validator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Chinese Document Table Extraction & Field Validator?
Extract structured tables and key fields from Chinese PDF, scanned images, Excel (xlsx) and Word (docx) documents, then validate every extracted value and flag anomalies with page/row/column traceability. Use when you need 中文PDF表格提取 (Chinese PDF table extraction), 中文发票识别 (Chinese invoice recognition), 保单信息提取 (insurance policy field extraction), 对账单解析 (bank statement parsing), 表格字段校验 (table field validation) or 中文文档结构化 (Chinese document structuring). Outputs a fixed-shape table plus a JSON record set where every field carries a source citation (page, table id, row, column) or an explicit unverified marker, plus a validation report listing missing required fields, malformed amounts, impossible dates, invalid invoice numbers, total-vs-detail sum mismatches and duplicate rows. Ships runnable scripts: scripts/extract_tables.py (PDF/XLSX/DOCX/CSV to records) and scripts/validate_fields.py (completeness, amount, date, id and reconciliation checks). Intended for developers and data teams processing Chinese documents; not a document-authoring or legal-review assistant.
Как установить скилл Chinese Document Table Extraction & Field Validator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Chinese Document Table Extraction & Field Validator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic