v0.7.0 — Block Runner ships a skill
Block Runner now ships a skill. Agents get markedly better conversions when told how to
use the tool, so the instructions travel with the package instead of being rediscovered by
every consumer.
npx block-runner skill # print the guide — nothing installed or written
npx block-runner skill --install # install it as a skillMeasured on the project's own 53-fixture benchmark, the guide takes the corpus from 28 to
97, with 0 invalid and 0 fallbacks. Those figures come from a controlled harness rather than
a live session, so treat them as a ceiling.
Added
- The skill, shipped in the package and readable by any harness.
skill/GUIDE.mdis the
content;skill/SKILL.mdis a thin wrapper over it.skill --installwrites both into
.claude/skills/block-runner/, with--dirfor harnesses that keep skills elsewhere. The
guide covers which command to reach for, the block mappings per section type, the
validate/fix loop, and how to fail safely without stranding the user. assemble— build blocks from a described structure, not from markup. The command the
skill drives. Give it an intent tree (JSON naming which blocks go where) and it builds the
result withcreateBlock, so the output cannot be invalid. Describing a structure suits a
model far better than authoring block markup, which is where invalid output comes from.
Also available asassemble/extractIntent/realizelibrary exports.- A hint when a conversion falls back. A
convertrun that drops to Custom HTML now says
so on stderr and inreport.hint, pointing at the path that usually handles that input
cleanly. It is advisory: it never affects the exit code, the summary counts, or--strict.
Changed
- Media resolution and brand-token repair are shared by every path.
convertand
assemblenow run the same finalization, so a tree built from intent resolves images and
maps colours onto theme presets exactly as a converted one does.
Notes
--stylingand--css-outdo not apply toassembleand are rejected with an explanation:
an intent tree carries structure and content, never the source CSS. Useconvertwhen the
styling matters.- Malformed or empty intent input is a hard failure (exit
1) naming what went wrong, rather
than a successful run that produced nothing. convert,validate, andfixare unchanged. Verified by running the benchmark at the
previous release and at this one: identical scores across all 53 fixtures.