一键导入
documaris-add-field-map
Add or update a port call document field map. Use when adding a new form type or updating field sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add or update a port call document field map. Use when adding a new form type or updating field sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deploy the documaris app to Cloudflare Pages. Use when releasing a new version or verifying a deployment.
Run the documaris React/DuckDB WASM web app locally. Use when developing the app, testing form generation, or verifying changes to pipeline.ts or field maps.
Run the documaris test suite. Use when changing field maps, schemas, or pipeline logic to verify contracts are satisfied.
| name | documaris-add-field-map |
| description | Add or update a port call document field map. Use when adding a new form type or updating field sources. |
| license | Apache-2.0 |
| compatibility | Requires Python >=3.12 and uv for schema validation |
| metadata | {"repo":"documaris"} |
Field maps live in field_maps/. Each file maps a document form to indago data sources.
{
"form": "fal_form_1",
"version": "IMO FAL.2/Circ.127",
"fields": [
{
"field_id": "vessel_name",
"label": "Name of ship",
"fill_type": "direct",
"source": "vessel.name"
}
]
}
Fill types:
| Type | Meaning |
|---|---|
direct | Copied verbatim from indago source path |
computed | Derived from multiple indago fields |
llm_summarise | LLM condenses a long source value |
llm_translate | LLM translates to target language |
llm_infer | LLM infers value from surrounding context |
agent_entry | PII entered locally — no server source |
uv run pytest tests/ -v
The contract tests will automatically check that all direct fields resolve in the mock vessel record.