deploy
Skill3 starsChanged 15 days agoMITView on GitHub
Pre-deploy check for "it works on my machine but breaks in production". Finds env vars missing on the host, hardcoded localhost URLs, imports whose letter case only works on Mac/Windows, packages missing from package.json, servers that ignore $PORT or only listen on localhost inside a container, SQLite and file writes on serverless hosts, Prisma clients that never get generated, and the host-side steps people forget (migrations, auth redirect URLs, live webhooks). Use before a first or big deploy, when a build or deploy fails, when something is "undefined" or broken only in production, or when the user asks if the app is ready to deploy to Vercel, Netlify, Cloudflare, Railway, Render, Fly, Heroku or Docker.
- Reads credentials
- Commits and pushes
155 other projects use a version of this.
Adopted by
Most recently taken up by
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
- KingKongRobotics/jumpertheir own version, first seen Nov 8, 2026
- stakeme-team/arc-agent-kittheir own version, first seen Nov 8, 2026
- dockhold/mcptheir own version, first seen Nov 8, 2026
- KhaiTrang1995/nexus-kbtheir own version, first seen Nov 8, 2026
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
Used with
Projects with it also use pm-discovery, qa-phase and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillpm-discovery
PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.
Also in 3 projects that use this
ww-w-aiSkillqa-phase
Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.
Also in 3 projects that use this
- +10 more from ww-w-ai
Other versions155 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 155
- ok-oldking/ok-wuthering-waves★ 8.6ksame name
- memovai/mimiclaw★ 5.8ksame name
- KingKongRobotics/jumper★ 3.1ksame name
- jhd3197/ServerKit★ 1.8ksame name
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- microsoft/power-platform-skills★ 1.1ksame name
- jazzyalex/agent-sessions★ 941same name
- awslabs/agent-plugins★ 918same name
- patrickjaja/claude-desktop-extra★ 734same name
145 more not listed
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.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 139 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Read-only: Don't deploy, don't change host settings, don't edit code.
- Distinctive: line 51
Read the matching section of references/hosts.md and check its items.
- Very specific: line 60
Write .vibecheck/deploy.md.
- Distinctive: line 65
after the deploy: where the logs are, and the 3–5 flows to click through once
- Very specific: line 82
If /vibecheck:check hasn't been run, suggest it too: this skill checks that the app will run, not that it's safe.
“Common” is measured: kept by at least 6 in 10 of the 139 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
vibecheck deploy: will it run in production?
/vibecheck:check asks "is it safe?". This asks "will it still work after I deploy?" Most "works on my machine" failures come from a short list: an env var that only exists in your local .env, a URL that points at localhost, a file name whose letter case your Mac ignores, a package that was never added to package.json, a server on the wrong port, a database file on a host that wipes its disk. Find them before your users do.
Ground rules
- Read-only. Don't deploy, don't change host settings, don't edit code. Offer fixes;
/vibecheck:fixor the user applies them. - Never print env var values. Work with names only, in chat, in files and in commands. Avoid commands that print or download values, such as
vercel env pull,heroku configorrailway variables. - Ask before running a host CLI. Even a read-only listing talks to the user's account.
- Reply in the user's language.
Step 1: Where and how does it deploy?
Find the host. The preflight detects vercel.json, netlify.toml, wrangler.toml, amplify.yml, railway.json, render.yaml, fly.toml, Procfile, a Dockerfile and a linked .vercel/ folder. Many Vercel and Netlify projects have no config file at all, so if nothing is detected, check the README or ask the user. Also find out how it deploys (git push, CLI, Docker image) and, in a monorepo, which folder is the app root on the host.
If the app only ever runs on this machine (a local demo or internal tool started with npm start), the host is local. Pass --host local: localhost URLs, loopback binds and fixed ports are correct there and aren't flagged, and host-dashboard reminders are skipped. The verdict becomes "READY (local only)". If the target later changes, run again with the real host.
Step 2: Run the preflight
node "${CLAUDE_SKILL_DIR}/scripts/preflight.mjs" "<path>" --json --host <host>${CLAUDE_SKILL_DIR} is the folder containing this SKILL.md. Leave out --host if you don't know it yet. The script is read-only, has no dependencies, makes no network calls, never reads env values and needs Node 18+.
It returns findings, env (names only: used with where and whether the code has a fallback, defined_locally, documented, on_host, and set_on_host: the names the host needs), reminders (host-side steps derived from the stack) and notes.
Step 3: Compare env vars with the host (ask first)
Get the list of names set on the host for production:
| Host | Names-only source |
| Vercel | vercel env ls production |
| Fly | fly secrets list, plus [env] in fly.toml |
| Cloudflare Workers/Pages | wrangler secret list, plus [vars] in wrangler.toml |
| Supabase Edge Functions | supabase secrets list |
| Netlify, Railway, Render, Heroku, Amplify | the dashboard's environment variables page: ask the user to paste the names only |
Save the names to .vibecheck/host-env.txt, one per line. Create .vibecheck/ with a .gitignore containing * if it doesn't exist. Then re-run the preflight with --host-env .vibecheck/host-env.txt.
Step 4: Verify, then cover what code can't show
- Confirm every finding by reading the code, and drop false positives. Check that a "missing" env var really has no default (a default can hide inside a helper, like
parseScale(process.env.SCALE)), and that an undeclared package isn't a framework built-in or a path alias the script didn't know about. Env vars and URLs inscripts/,tools/andseeds/folders are treated as dev tooling and skipped; if one of those actually runs in production, check it by hand. - Read the matching section of references/hosts.md and check its items.
- Turn
remindersinto a checklist. Ask the user about each dashboard step you can't verify, such as auth redirect URLs, live webhooks or migrations applied to the production database.
Step 5: Verdict and report
- 🛑 WILL BREAK: any verified high or critical finding.
- ⚠️ FIX FIRST: verified medium findings.
- 🚀 READY TO DEPLOY: neither. If env vars weren't compared with the host, say "ready once the N env vars below are set on the host". For
--host local, say "READY (local only)".
Write .vibecheck/deploy.md. Rename an existing one to deploy.prev.md first, and create .vibecheck/ with its .gitignore if needed. Include:
- the verdict, the host, and how it deploys
- each finding: what will happen in production, where (
file:line), the fix, and a fix prompt the user can paste into any AI tool - an env table:
Variable | Used in | In local .env | In .env.example | On host | Action, with names only - the host checklist from
remindersand references/hosts.md - after the deploy: where the logs are, and the 3–5 flows to click through once
Step 6: Tell the user
🚀 vibecheck deploy: 🛑 WILL BREAK on Vercel
2 high · 1 medium · 5 env vars to set on the host
1. 🛑 `import Button from '../components/button'`: the file is Button.tsx. Works on your Mac, fails on Vercel's Linux build. (src/app/page.tsx:3)
2. 🛑 STRIPE_SECRET_KEY isn't set on Vercel: checkout will fail.
3. ⚠️ Falls back to http://localhost:3000 if NEXT_PUBLIC_API_URL is missing. (src/lib/api.ts:2)
Set on the host: OPENAI_API_KEY, STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, DATABASE_URL, NEXT_PUBLIC_API_URL
Then: prisma migrate deploy · Supabase redirect URLs · Stripe live webhook
Full list: .vibecheck/deploy.md · /vibecheck:fix can fix the code itemsIf /vibecheck:check hasn't been run, suggest it too: this skill checks that the app will run, not that it's safe.
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.

