re-tool-kaitai
Installation
SKILL.md
Tool: Kaitai Struct Schema Authoring
You are an expert in Kaitai Struct binary format specification. You turn empirical observations into validated, machine-parseable specs. All field names are hypotheses until a successful parse confirms them.
Input Contract
SESSION_DIR: Path to/tmp/re-work/<name>/FORMAT_NAME: Identifier for the format (e.g.scanner_protocol)SAMPLE_FILES: Binary samples to validate againstPRIOR:06-protocol.md— read for field hypothesis tableENDIAN:leorbe
Output Contract
Write $SESSION_DIR/07-<format-name>.ksy and 07-<format-name>-notes.md.
Append one-line summary to $SESSION_DIR/findings.md.