web-deploy
Build and deploy websites, web apps, and APIs to production.
Best use case
web-deploy is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Build and deploy websites, web apps, and APIs to production.
Teams using web-deploy should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/web-deploy/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How web-deploy Compares
| Feature / Agent | web-deploy | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Build and deploy websites, web apps, and APIs to production.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# web-deploy
Build and deploy websites, web apps, and APIs to production.
## Local Preview Workflow
```bash
# Static site
npx http-server ./dist -p 8080 -c-1
# Next.js
npm run dev # Development (hot reload)
npm run build && npm run start # Production preview
# FastAPI
uvicorn app.main:app --reload --port 8000
# Vite-based
npm run dev # Dev server
npm run build && npx serve dist # Production preview
```
## Deployment Targets
### Vercel (Frontend / Next.js / Static)
```bash
# First time setup
npx vercel link
# Preview deployment
npx vercel
# Production deployment
npx vercel --prod
# Environment variables
npx vercel env add SECRET_KEY
```
**Best for:** Next.js apps, React SPAs, static sites, serverless functions.
**Config:** `vercel.json` (usually not needed for Next.js)
```json
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "nextjs"
}
```
### Railway (Backend / APIs / Databases)
```bash
# First time setup
railway login
railway init
# Deploy
railway up
# Add database
railway add --plugin postgresql
# Environment variables
railway variables set SECRET_KEY=value
# View logs
railway logs
```
**Best for:** Backend APIs, databases, long-running processes, Docker containers.
### GitHub Pages (Static Sites)
```bash
# Using gh-pages package
npm install -D gh-pages
# Add to package.json scripts: "deploy": "gh-pages -d dist"
npm run build && npm run deploy
```
**Best for:** Documentation, simple static sites, project pages.
### Canvas (Clawdbot Workspace)
Deploy to `~/clawd/canvas/` for local serving through the clawdbot gateway.
```bash
cp -r ./dist/* ~/clawd/canvas/my-project/
```
## Pre-Deploy Checklist
- [ ] Build succeeds locally (`npm run build` / `python -m build`)
- [ ] No TypeScript/lint errors
- [ ] Tests pass
- [ ] Environment variables set on target platform
- [ ] `.env` / secrets NOT in git
- [ ] `robots.txt` and `sitemap.xml` if public site
- [ ] Favicon and meta tags set
- [ ] HTTPS configured (automatic on Vercel/Railway)
- [ ] Error pages (404, 500) configured
- [ ] Performance: images optimized, code split, no huge bundles
## Rollback
```bash
# Vercel — redeploy previous
npx vercel rollback
# Railway — redeploy previous
railway rollback
# Git-based — revert and push
git revert HEAD && git push
```
## Domain Setup
```bash
# Vercel
npx vercel domains add mydomain.com
# DNS: Point CNAME to cname.vercel-dns.com
# Or A record to 76.76.21.21
```Related Skills
Deploy Kit — Skill de Déploiement Web
Simplifie le déploiement d'apps web sur **Vercel**, **Railway** et **Supabase** via leurs CLIs.
Deploy Moltbot to Fly.io
Deploy Moltbot (Clawdbot) to Fly.io with proper configuration, persistent storage, and device pairing.
deploy-pilot
Manages the full deploy cycle — build validation, GitHub push, Vercel deployment, and health checks.
solo-deploy
Deploy project to hosting platform — read stack YAML for exact config, detect local CLI tools (vercel, wrangler.
sparkbtcbot-proxy-deploy
Deploy a serverless Spark Bitcoin L2 proxy on Vercel with spending limits, auth, and Redis logging.
railway-deploy
This skill should be used when the user wants to push code to Railway, says "railway up", "deploy", "deploy.
appdeploy
Deploy web apps with backend APIs, database, and file storage. Use when the user asks to deploy or publish a website or web app and wants a public URL. Uses HTTP API via curl.
paylock
Non-custodial SOL escrow for AI agent deals.
agent-reputation
summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.
Telecom Agent Skill
Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.
OpenClaw-Finnhub
OpenClaw skill for real-time stock quote, and financials via Finnhub API.
```markdown
# OpenClaw-Last.fm