What problem does it solve? Manually compiling the CONSTRUCT views single-page application risks misconfiguration, stale artifacts, and accidental deletion of generated data files. This Skill runs the Vite production build with strict precondition checks so the SPA is rebuilt safely without wiping views/build/data/ or version.json. ## Core Features & Use Cases - Precondition Validation: Verifies the views/src/ scaffold exists, confirms vite.config.js declares emptyOutDir: false, and warns on template version mismatches before building. - Dependency Management: Detects missing node_modules and runs npm install automatically, including package-lock drift detection. - Invariant Protection: Verifies after the build that views/build/data/ and version.json survived, failing loudly if the two-writer architecture invariant is broken. - Use Case: After editing the SPA source or running views-scaffold, invoke this Skill to produce views/build/index.html and hashed assets while preserving generated data files. ## Quick Start Rebuild the views SPA for my CONSTRUCT installation and confirm the build output and data files are intact.