oce-validation-engine
БесплатноБез исполняемых скриптовНе проверенUse the OpenConstructionERP validation engine: rule packs (BOQ quality, DIN 276, NRM, GAEB, MasterFormat, DPGF) that check estimates at import time and on…
от datadrivenconstruction★ 461 звезда на GitHubОб этом скилле
Validation Engine in OpenConstructionERP
Philosophy
"Validation is a first-class citizen." Every BOQ import (Excel/CSV/GAEB X83/X84) runs the configured rule packs at import time, so violations surface immediately — not when a user is staring at row 452.
Built-in rule packs
| Pack | Checks |
|---|---|
boq_quality |
required fields, unit consistency, duplicate codes, quantity sanity |
| DIN 276 | cost-group codes valid, hierarchy consistent |
| NRM | element codes, measurement rules |
| GAEB | X83/X84 structure, item references |
| MasterFormat / DPGF | classification codes |
Configure the default set via OE_DEFAULT_VALIDATION_RULE_SETS (default ["boq_quality"]); run on demand with POST /api/v1/boqs/{id}/validate/.
Writing custom rules
A rule is: condition + severity + message. Example patterns:
# pseudo-rule: labour share sanity on a BOQ line
def rule_labour_share(line):
labour = line.components_labour_cost
total = line.rate
if total > 0 and labour / total > 0.95:
return {"severity": "warning",
"message": f"Line {line.code}: labour is {labour/total:.0%} of rate"}
Reconciliation rules (the ones that actually catch data problems):
qty × unit_price = costper component line (tolerance ±0.01 or rounding-aware).Σ components = total_resource_cost_per_position(markup applied on top).- classification non-empty at every tree level.
- no negative quantities outside documented deduction lines.
Where validation plugs in
- Import gate —
import_inline_validation(env) runs packs during upload. - On demand —
/boqs/{id}/validate/returns violations with severity. - Continuous — the BOQ quality score updates live as the editor changes lines.
Best practices
- Fail imports on
error-severity, warn onwarning— never block a user silently. - Keep rule messages actionable: name the row, the expected value, the found value.
- Version rule packs with the standards they encode (DIN 276:2018-12, NRM2, …).
- Use validation as the QA agent's deterministic backbone (see
ai-agent-orchestration).
Установить oce-validation-engine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл oce-validation-engine?
Use the OpenConstructionERP validation engine: rule packs (BOQ quality, DIN 276, NRM, GAEB, MasterFormat, DPGF) that check estimates at import time and on demand. Use when verifying BOQ correctness or writing custom validation rules.
Как установить скилл oce-validation-engine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл oce-validation-engine запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic