/site-deploySite Deploy
Zero-account static site deployment and live preview hosting. Build any static site and publish it with one command. No account needed before your first deploy.
- Added
- October 13, 2026
What it does
A conversational deployment skill for AI coding agents (Claude Code, OpenAI Codex). Once added to your project, you can deploy any static site — React, Vue, Svelte, Next.js, Astro, or plain HTML — by simply saying:
/deploy preview
No accounts to create before your first deploy. No dashboards to visit. No config files to hand-edit. The skill handles detection, building, authentication, and hosting inline.
Core principles:
- Zero-account first: Never ask the user to sign up before the first deploy. Auth happens inline, on-demand.
- Provider-agnostic: The core logic is generic. Provider-specific details live in
references/providers.md. Swap providers with/deploy provider <name>. - Framework-agnostic: Auto-detects Vite, Next.js, CRA, SvelteKit, Astro, Gatsby, Nuxt, or plain HTML.
- Versioned deploys:
/deploy savesnapshots a build./deploy shippublishes it./deploy rollbackreverts. - Agent-native: Designed for AI agents, not humans. Integrates with
CLAUDE.md/AGENTS.mdcontext.
Supported providers
| Provider | CLI | Best for |
|---|---|---|
| Surge | surge | Zero-config, instant, temporary URLs (default) |
| Netlify | netlify | Branch previews, form handling, edge functions |
| Vercel | vercel | Serverless-ready, edge network, preview deployments |
| Cloudflare Pages | wrangler | Edge network, Workers integration |
| GitHub Pages | gh-pages | Free forever, versioned by git tags |
Adding a new provider = adding one entry to references/providers.md. No code changes needed.
Commands
| Command | Description |
|---|---|
/deploy init | Detect framework, scaffold .deploy/, first-time setup |
/deploy preview | Build + publish to a temporary live URL |
/deploy save | Save current build as a named version (no publish) |
/deploy ship [version] | Publish a saved version to the live URL |
/deploy status | Show current live URL, last deploy, version history |
/deploy teardown | Take the site offline and free the URL |
/deploy rollback [version] | Re-publish a previous saved version |
/deploy provider <name> | Switch provider (surge, netlify, vercel, cloudflare, gh-pages) |
/deploy sync | Refresh agent context in CLAUDE.md / AGENTS.md |
Architecture
┌─────────────────────────────────────┐
│ /deploy skill │
│ ┌─────────┐ ┌─────────────────┐ │
│ │ Framework │ │ Provider │ │
│ │ Detection │ │ Abstraction │ │
│ └─────┬────┘ └─────────┬───────┘ │
│ │ │ │
│ ▼ ▼ │
│ references/ references/ │
│ frameworks.md providers.md │
│ │ │ │
│ └──────┬─────────┘ │
│ ▼ │
│ .deploy/ │
│ (config, history, versions) │
└─────────────────────────────────────┘
Provider abstraction: All provider-specific logic is isolated in references/providers.md. The skill reads that file to get deploy command, auth command, token handling, teardown command, env var name, and SPA routing needs.
Quick start
- Copy this directory into your project's skills folder (e.g.,
.skills/deploy/). - Run
/deploy init— detects your framework, asks you to choose a provider, scaffolds.deploy/config.yml, and injects a deploy guard intoCLAUDE.mdandAGENTS.md. - Run
/deploy preview— builds your project and publishes it, returning a shareable URL instantly. - Run
/deploy save, then/deploy shipto publish to the live URL.
Project structure
When initialized in a project, it creates:
your-project/
├── .deploy/
│ ├── config.yml # Project + provider config
│ ├── history.log # Deploy history
│ ├── versions/ # Saved build snapshots
│ │ ├── v20260101-120000/
│ │ └── latest
│ └── .<provider>_token # Auth token (gitignored)
├── CLAUDE.md # Injected deploy guard
└── AGENTS.md # Injected deploy guard
Security
- Tokens never committed: All
*_tokenfiles are automatically gitignored - Env file check: The skill refuses to deploy if
.envis not gitignored - No secrets in YAML:
config.ymlnever contains tokens — only the path to the token file - Pre-flight check: Before first deploy, verifies
.gitignorecovers token files
Integration with Iterate
Designed to work alongside iteration skills. After a successful code fix or improvement:
✅ Iteration complete. Run /deploy preview to publish the updated build.
Deploy history is optionally appended to .iterate/history.log, creating a unified timeline of code changes and deployments.
License: MIT