What problem does it solve?
Automates the preparation of a QA-passing preview deployment across major hosts (Vercel, Netlify, and Cloudflare Pages), ensuring previews can be generated without exposing secrets or accidentally deploying to production.
Core Features & Use Cases
- Resolve the target preview host in order: plan.hostingPlan.platform, brief.hostingPlatform, then starter defaults.
- Generate and commit host-specific configuration files: vercel.json (for Vercel), netlify.toml (for Netlify), or wrangler.toml + public/_headers (for Cloudflare Pages).
- Produce an .env.preview.example with public and server variable declarations, and create host-specific setup docs when credentials are missing.
- Update workflow marker and render artifacts to reflect the preview-ready state without exposing secrets or touching production environments.
Quick Start
Invoke the deploy-preview skill on a built site directory to generate a preview-ready configuration for your chosen host.