skeleton-extractor
Installation
SKILL.md
skeleton-extractor
Transforms an HTML mockup into a pre-freeze draft design-skeleton.v1 YAML. One skill, one operation (extract), one subprocess, one stdout JSON blob.
When to invoke
Called by visual-architect at design-phase freeze (see design doc §2.5), after the user has approved an HTML mockup. The draft it emits is reviewed by the user, amended (binds_to URIs, bbox confirmations, unresolved-token decisions), then HMAC-signed and written to .design-ledger/skeletons/<screen>.yaml. Skeleton-extractor does NOT freeze — that is visual-architect's job.
When NOT to invoke
- After the skeleton is frozen — verification is
visual-arbiter's job (pure-Python verdict on stdout, CB4). - For micro-drift re-approval — that is
design-drift-arbiter's job. - As a runtime live probe on the built product — subprocess targets only the approved mockup.
Public API
A single op.