@sketchscreens/extractor
v0.1.4
Published
The agent-first extraction contract: the prompt + parse-signal guidance an agent uses to turn a codebase into a ProjectMap, plus a validate-and-write helper.
Maintainers
Readme
@sketchscreens/extractor
The extraction half of SketchScreens: the agent-first extraction prompt, the write-map validation gate, and static screen enumeration for coverage checks.
prompts/extract.md— the guide a coding agent follows to produce a ProjectMap from source code (sketchscreens promptprints it).bin/write-map.js— validates a candidate map, prints a provenance + coverage report (which discovered routes weren't mapped), and writes it.coverage(map, repoRoot)/auditSourceFiles(map, repoRoot)— compare a map against statically-discovered screens (Next.js App/Pages Router, and more), so a silently-omitted screen can't hide.
Part of the SketchScreens monorepo. Most users want the sketchscreens CLI instead.
