一键导入
document-processing
Turn unstructured documents into validated, auditable structured data with clear schemas and edge-case handling
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Turn unstructured documents into validated, auditable structured data with clear schemas and edge-case handling
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.
Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.
Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.
Software architecture specialist for system design, scalability, and technical decision-making. Use when planning new features, refactoring large systems, or making architectural decisions.
Build and compilation error resolution specialist. Fixes build/type errors with minimal diffs, no architectural changes. Use when build fails or type errors occur.
Create or verify workflow checkpoints using git commits and state tracking. Use for progress tracking during long implementation sessions.
| name | document-processing |
| description | Turn unstructured documents into validated, auditable structured data with clear schemas and edge-case handling |
Use this skill when you need to turn unstructured or semi-structured documents (PDFs, scans, images, HTML, emails, DOCX) into structured outputs (JSON/CSV) with validation, provenance, and clear error handling.
Before proposing an approach, clarify:
If any of these are unknown, state assumptions explicitly and propose options.
Prefer an explicit schema and provenance so consumers can trust the results.
{
"document_id": "string",
"document_type": "string",
"source": {
"filename": "string",
"page_count": 12
},
"extracted": {
"fields": {
"vendor_name": "string",
"invoice_number": "string",
"total_amount": 123.45,
"currency": "USD"
},
"tables": [
{
"name": "line_items",
"rows": [
{ "description": "string", "quantity": 1, "unit_price": 1.23, "amount": 1.23 }
]
}
]
},
"provenance": [
{
"path": "extracted.fields.total_amount",
"evidence": "snippet or normalized text",
"location": { "page": 2, "bbox": [0, 0, 0, 0] },
"confidence": 0.92
}
],
"validation": {
"status": "pass",
"errors": []
}
}
Rules:
null or omit optional fields, and add a validation error.validation.errors[] with precise paths and user-actionable messages.document_id and processing metadata.Handle explicitly:
/security-review./plan for clarifying requirements and sequencing delivery/architect for end-to-end pipeline design and interfaces/iterative-retrieval when context must be gathered progressively/security-review for threat modeling and sensitive-data handling