halcon-skill
Installation
SKILL.md
HALCON Vision Script Authoring Skill
Use this skill to produce production-grade HALCON vision scripts in either format:
- HDevelop (
.hdev) — XML-based, run withhrun - HDevelopEVO (
.hscript) — plain-text, run withhscriptengine
Both share the same HALCON operators, data model, and control flow. The differences are in file format, procedure syntax, and import mechanism.
Target format
Ask the user which format they need if unclear. Default to .hdev unless the user mentions HDevelopEVO, HScript, .hscript, or hscriptengine.
Required scope
- Generate and edit only HALCON script artifacts unless the user explicitly asks otherwise:
- HDevelop:
.hdev(scripts),.hdvp(single procedure),.hdpl(procedure library) - HDevelopEVO:
.hscript(scripts, procedures, and libraries — all use the same extension)
- HDevelop:
- Prefer deterministic, testable logic with explicit parameters and clear pass/fail outputs.