deploy-it
Skill4 starsChanged 25 days agoMITView on GitHub
Deployment patterns for Vercel, Netlify, Replit, Firebase Hosting, Railway, Render, and Cloudflare. Use when user wants to deploy, publish, go live, host a website, or mentions these platforms. Also use when troubleshooting deployment issues like "works locally but not deployed" or environment variable problems.
- Installs packages
- Commits and pushes
2 other projects use a version of this.
Adopted by
Most recently taken up by
- I-Onlabs/claude-code-skillsword for word, first seen Oct 25, 2026
- duncan-buildroom/freeskillstheir own version, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 1
- I-Onlabs/claude-code-skills★ 4100% same
Edited · 0
None found.
Wrote their own version · 1
- duncan-buildroom/freeskills★ 65same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository169 other files it gives its agents.
- epub-skill/CLAUDE.mdCLAUDE.md
- linear-cli-skill/CLAUDE.mdCLAUDE.md
- AgentDB Advanced FeaturesSkill
- AgentDB Learning PluginsSkill
- AgentDB Memory PatternsSkill
- AgentDB Performance OptimizationSkill
- AgentDB Vector SearchSkill
- agent-evalSkill
- agentic-jujutsuSkill
- agile-product-ownerSkill
- ai-tool-pickerSkill
- algorithmic-artSkill
- api-connectorSkill
- api-design-patternsSkill
- architecture-diagram-creatorSkill
- article-extractorSkill
- aws-agentic-aiSkill
- aws-cdk-developmentSkill
- aws-cost-operationsSkill
- aws-serverless-edaSkill
- biogeobearsSkill
- brainstormingSkill
- brand-guidelinesSkill
- canvas-designSkill
- capa-officerSkill
- ceo-advisorSkill
- changelog-generatorSkill
- code-auditorSkill
- codebase-documenterSkill
- code-executionSkill
- code-explainerSkill
- code-refactorSkill
- code-reviewerSkill
- code-transferSkill
- content-creatorSkill
- content-research-writerSkill
- conversation-analyzerSkill
- csv-data-summarizerSkill
- cto-advisorSkill
- d3-vizSkill
- dashboard-creatorSkill
- defense-in-depthSkill
- developer-growth-analysisSkill
- dispatching-parallel-agentsSkill
- doc-coauthoringSkill
- docxSkill
- domain-name-brainstormerSkill
- dwa-councilSkill
- error-fixerSkill
- escalation-reasoningSkill
- evaluator-optimizerSkill
- executing-plansSkill
- extract-from-pdfsSkill
- fda-consultant-specialistSkill
- feature-planningSkill
- file-operationsSkill
- file-organizerSkill
- finishing-a-development-branchSkill
- firebase-buddySkill
- flowchart-creatorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Update DNS at your registrar
- Very specific: line 191
Make sure npm run build works locally first
- Distinctive: line 192
Check the build logs on the platform
- Distinctive: line 196
SPA routing issue: Add redirect rules:
- Distinctive: line 217
Check build logs (platform dashboard)
- Very specific: line 218
Run npm run build locally to see the error
- Distinctive: line 229
Check if deployment actually completed
- Distinctive: line 234
Add CORS headers to your API
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deploy It
Get your app live without the headache.
Quick Comparison
| Platform | Best For | Free Tier | Deploy Command |
| Vercel | Next.js, React | Generous | npx vercel |
| Netlify | Static sites, JAMstack | Generous | npx netlify deploy --prod |
| Railway | Full-stack, databases | $5/month credit | railway up |
| Render | APIs, Docker, databases | Limited | Git push |
| Cloudflare Pages | Static, edge functions | Very generous | Git push |
| Firebase | Firebase projects | Limited | firebase deploy |
| Replit | Quick prototypes | Limited | Click Deploy |
Vercel (Best for Next.js)
First Time Setup
npm i -g vercel
vercel login
vercelDeploy Updates
vercel --prodEnvironment Variables
- Go to vercel.com → Your project → Settings → Environment Variables
- Add your variables
- Redeploy (important!)
Custom Domain
- Settings → Domains → Add
- Update DNS at your registrar
vercel.json (optional config)
{
"rewrites": [{ "source": "/(.*)", "destination": "/" }],
"headers": [
{
"source": "/api/(.*)",
"headers": [{ "key": "Cache-Control", "value": "no-store" }]
}
]
}Netlify
First Time Setup
npm i -g netlify-cli
netlify login
netlify initDeploy
netlify deploy --prodBuild Settings (netlify.toml)
[build]
command = "npm run build"
publish = "dist" # or "build" or ".next" or "out"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200Environment Variables
Site Settings → Build & deploy → Environment
Railway (Full-Stack + Databases)
First Time Setup
npm i -g @railway/cli
railway login
railway initDeploy
railway upAdd Database
- Dashboard → New → Database (Postgres, MySQL, Redis, MongoDB)
- Variables are auto-added to your app
Environment Variables
Dashboard → Variables → Add
Render
Deploy via GitHub
- Connect GitHub repo
- Choose Web Service or Static Site
- Set build command:
npm run build - Set start command:
npm start
Environment Variables
Dashboard → Environment → Add
render.yaml (optional)
services:
- type: web
name: my-app
env: node
buildCommand: npm install && npm run build
startCommand: npm startCloudflare Pages (Fast + Free)
Deploy via GitHub
- Connect GitHub repo
- Set build command:
npm run build - Set output directory:
distorbuildorout
Environment Variables
Settings → Environment variables
_redirects (for SPA)
/* /index.html 200Firebase Hosting
Setup
npm i -g firebase-tools
firebase login
firebase init hostingDeploy
npm run build
firebase deploy --only hostingfirebase.json (SPA config)
{
"hosting": {
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{ "source": "**", "destination": "/index.html" }
]
}
}Replit
- Hit the Deploy button in your Replit
- Choose deployment type (Static/Web Service)
- Done
Keeping it Running
For backends, you may need Replit's paid tier to keep it always-on.
Common Deployment Problems
"Works locally, broken on deploy"
Check environment variables:
- They must be set in the platform's dashboard
- Next.js:
NEXT_PUBLIC_prefix for client-side vars - Redeploy after adding env vars
Check build output:
- Make sure
npm run buildworks locally first - Check the build logs on the platform
"404 on page refresh"
SPA routing issue. Add redirect rules:
Vercel (vercel.json):
{ "rewrites": [{ "source": "/(.*)", "destination": "/" }] }Netlify (_redirects in public folder):
/* /index.html 200"API routes not working"
- Vercel: API routes work automatically for Next.js
- Netlify: Need Netlify Functions (different syntax)
- Cloudflare: Need Workers or Pages Functions
- Others: Need separate backend deployment
"Build failed"
- Check build logs (platform dashboard)
- Run
npm run buildlocally to see the error - Common issues:
- Missing dependencies (add to package.json)
- TypeScript errors
- Missing env vars (undefined at build time)
- Case sensitivity (Linux servers are case-sensitive)
"Site shows old version"
- Clear CDN cache (usually in dashboard)
- Hard refresh browser: Cmd+Shift+R
- Check if deployment actually completed
"CORS errors"
- Backend and frontend on different domains
- Add CORS headers to your API
- Or use same-origin deployment
Pre-Deploy Checklist
npm run buildworks locally- All environment variables documented
- API keys NOT in code (use env vars)
console.logstatements cleaned up- Error handling in place
- Loading states for async operations
- Mobile responsive
Which Platform?
Use Vercel if: Next.js project, want easiest experience
Use Netlify if: Static site, JAMstack, want forms/functions
Use Railway if: Need a database, full-stack app
Use Render if: Need Docker, cron jobs, background workers
Use Cloudflare if: Want speed, generous free tier, edge functions
Use Firebase if: Already using Firebase backend
Use Replit if: Quick prototype, want to share link fast
Environment Variable Cheat Sheet
| Framework | Client-side prefix | Server-side |
| Next.js | NEXT_PUBLIC_ | No prefix |
| Vite | VITE_ | No prefix |
| Create React App | REACT_APP_ | N/A |
| SvelteKit | PUBLIC_ | No prefix |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

