halcon-skill
Installation
SKILL.md
HALCON Vision Script Authoring Skill
Generate, refactor, run, and review HALCON vision programs. Preserve the project's existing format; default new programs to .hdev unless HDevelopEVO/.hscript is requested. Ask only when the choice materially affects an ambiguous task.
Generate or edit HALCON artifacts (.hdev, .hdvp, .hdpl, .hscript) unless the user requests other changes.
Choose the workflow
Read only the references relevant to the task, before using that format or tool.
| Task | Tool and required reference |
|---|---|
| Author or edit HDevelop XML and procedure documentation | HDevelop format |
| Author or edit HDevelopEVO text and imports | HScript format |
Run .hdev code (default: named local procedure or test_*) with explicit inputs, JSON results, optional SVG |
scripts/hdev_call.py — Python runner |
Inspect intermediate .hdev state, step, set breakpoints, inspect vectors or preview iconic values without HDevelop |
scripts/hdev_debug.py — Debugger |
Fallback: execute an existing .hdev program's main(), or run without Python bindings |
hrun — short fallback note |
Execute .hscript |
hscriptengine — HScript engine |