ship
Skill1 starsChanged 5 months agoMITView on GitHub
Pre-deploy safety checklist — catches the stuff you miss at 2am
- Reads credentials
179 other projects use a version of this.
Adopted by
Most recently taken up by
- jthingelstad/elixir-mcptheir own version, first seen Oct 7, 2026
- mpwilso/isrtheir own version, first seen Oct 6, 2026
- hurttlocker/o8their own version, first seen Oct 4, 2026
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- DevJuanP/skillstheir own version, first seen Oct 3, 2026
- hosembafer/skillstheir own version, first seen Oct 3, 2026
Used with
Projects with it also use cso, setup-deploy 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.
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 10 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 10 projects that use this
AICreator-WindSkilldocument-release
技术作家工具。更新项目文档。
Also in 10 projects that use this
Kit4SomeSkillunfreeze
Also in 11 projects that use this
AICreator-WindSkillfreeze
文件编辑锁定工具。限制文件编辑范围。
Also in 14 projects that use this
CodeWithBehnamSkillsetup-browser-cookies
Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.
Also in 9 projects that use this
- +2 more from AICreator-Wind
- +1 more from ayuday
Other versions179 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 179
- rtk-ai/rtk★ 82ksame name
- ShenSeanChen/waku-agent★ 1.9ksame name
- suboss87/FDEOps★ 950same name
- bex-co/bex★ 569same name
- nudgebee/nudgebee★ 398same name
- nightly-labs/openbot★ 350same name
- ucsandman/marketing-studio★ 249same name
- garagon/nanostack★ 207same name
- awslabs/loom★ 190same name
- genkovich/sdd★ 170same name
169 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.
In this repository13 other files it gives its agents.
- a11ySkill
- cohesionSkill
- couplingSkill
- designSkill
- driftSkill
- full-sweepSkill
- onboardSkill
- perfSkill
- privacySkill
- seoSkill
- sessionSkill
- thatsweirdSkill
- walkthroughSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. 0 are common, 9 are distinctive, and 21 are very specific to this project.
0
Common
Most of the 162 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
21
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run a go/no-go checklist before deploying.
- Distinctive: line 42
No args: auto-detect the project from the current working directory
- Very specific: line 64
Read package.json, pyproject.toml, Cargo.toml, or equivalent to identify the stack
- Distinctive: line 65
Read CLAUDE.md if it exists for project-specific deploy instructions or conventions
- Very specific: line 75
Merge conflicts: Search for <<<<<<<, =======, >>>>>>> in tracked files.
- Distinctive: line 110
Pass: All tests pass.
- Distinctive: line 116
Search the tracked files (not node_modules, not .git, not build output) for:
- Very specific: line 127
Test files (*.test.*, *.spec.*, __tests__/)
- Distinctive: line 136
Check that the project's expected env vars are accounted for:
- Very specific: line 138
Find env var references: Search source code for process.env., os.environ, os.getenv, env::var, import.meta.env.
- Very specific: line 139
Find env var definitions: Check .env.example, .env.local.example, vercel.json (env section), railway.json, fly.toml, docker-compose.yml, …
- Very specific: line 141
Check .env.example freshness: If .env.example exists, check whether all vars referenced in code appear in it.
- Very specific: line 150
Lockfile in sync: Run npm ls --all 2>&1 | grep "missing" or equivalent.
- Very specific: line 153
Don't run a full vulnerability audit here — that's what /vuln is for.
- Very specific: line 158
Check next.config.* for output: 'export' if deploying to static hosting
- Very specific: line 159
Search for use client in files that use server-only features (or vice versa)
- Very specific: line 160
Check for generateStaticParams on dynamic routes if using static export
- Very specific: line 163
Check astro.config.* for output mode matching deploy target
- Very specific: line 164
Verify integrations are installed (e.g., @astrojs/sitemap in config but not in dependencies)
- Very specific: line 167
Check DEBUG = True or debug=True is not hardcoded in production config
- Very specific: line 168
Check SECRET_KEY is not hardcoded
- Very specific: line 169
Check ALLOWED_HOSTS or equivalent is configured for production domain
- Very specific: line 172
Check app.json / app.config.js for correct bundle identifier and version
- Very specific: line 173
Check eas.json profiles match intended build type
- Distinctive: line 174
Do NOT trigger an EAS build — those cost money.
- Very specific: line 177
Check for broken relative links (href="./ or src="./ pointing to files that don't exist)
- Very specific: line 178
Check that index.html exists
- Distinctive: line 220
Respect project conventions: If CLAUDE.md says "we don't write tests for this project," don't flag the lack of tests as a warning.
- Distinctive: line 222
Scope to what's shipping: When checking for TODOs, console.logs, and commented-out code, focus on files that changed in the current branch …
- Very specific: line 227
After completing this skill, append a log entry to ~/.claude/skill-log.md under the Run Log table.
“Common” is measured: kept by at least 6 in 10 of the 162 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
Ship Check
Run a go/no-go checklist before deploying. Catches build failures, leaked secrets, debug artifacts, missing env vars, broken tests, and other landmines that slip through when you're shipping fast and solo.
Sample output
A successful run produces something like:
## Ship Check — marketing-site
Deploy target: Vercel
Branch: main (clean, up to date with origin)
PASS Git state — clean working tree
PASS Build — npm run build passed (12.4s)
PASS Tests — 47 passed, 0 failed
PASS Type check — clean
FAIL Secrets — found "sk_live_" in src/lib/stripe.ts:14 (should use env var)
FAIL Env vars — NEXT_PUBLIC_GA_ID set locally but not in Vercel dashboard
WARN Debug — 2 console.log calls in src/app/checkout/page.tsx
WARN TODO — 1 unresolved TODO in src/checkout.ts:28 (added in this branch)
### Blockers (do not deploy)
1. Hardcoded Stripe secret key — move to env var STRIPE_SECRET_KEY
2. Missing NEXT_PUBLIC_GA_ID in Vercel — analytics will silently fail in prod
### Warnings (deploy with awareness)
1. console.log statements left in src/app/checkout/page.tsx
2. Unresolved TODO in this branch's diff
Verdict: NO-GO. Fix blockers, re-run /ship.Arguments
The user may specify:
- No args: auto-detect the project from the current working directory
- A project name or path (e.g.,
myapp,~/code/marketing-site) --skip-tests: skip the test suite (useful when tests are slow and you've already run them)--skip-build: skip the build step (useful when you just built successfully)
Parse the argument string. Examples:
/ship-- full check on current directory/ship myapp-- full check on myapp/ship --skip-tests-- skip test suite/ship myapp --skip-build-- skip build for myapp
Project Aliases
| Alias | Path |
myapp | (add your projects here) |
Process
Step 0: Detect the project
- Resolve the project path (alias table or cwd)
- Read
package.json,pyproject.toml,Cargo.toml, or equivalent to identify the stack - Read
CLAUDE.mdif it exists for project-specific deploy instructions or conventions - Detect the deploy target: check for
vercel.json,railway.json,fly.toml,.github/workflows/deploy*,Procfile,netlify.toml, oreas.json
Step 1: Git state
Run these checks:
- Uncommitted changes:
git status. Flag any unstaged or staged-but-uncommitted changes. These won't be in the deploy. - Unpushed commits:
git log @{u}..HEAD --oneline(if tracking a remote). Flag commits that exist locally but haven't been pushed. If the deploy triggers from a push, these are the changes that will ship. - Branch check: What branch are you on? If it's not
main/masterand the project deploys from main, warn. If it's a feature branch, note it. - Merge conflicts: Search for
<<<<<<<,=======,>>>>>>>in tracked files. These should never ship.
Step 2: Build
Skip if --skip-build is passed.
Detect and run the build command:
| Signal | Build command |
package.json with build script | npm run build or yarn build or pnpm build |
pyproject.toml or setup.py | Check for build/compile steps in project docs |
Cargo.toml | cargo build --release |
Makefile with build target | make build |
| Static HTML (no build step) | Skip, note "no build step" |
Expo/React Native (eas.json) | Skip build (EAS builds are expensive). Just verify the config. |
Pass: Build exits 0 with no errors. Fail: Build exits non-zero. Show the error output. Stop here — nothing else matters if the build is broken. Warning: Build succeeds but has warnings. Show them. Common warnings that matter: unused exports (tree-shaking issues), large bundle size warnings, deprecation warnings from dependencies.
Step 3: Tests
Skip if --skip-tests is passed.
Detect and run the test command:
| Signal | Test command |
package.json with test script | npm test |
pytest.ini or pyproject.toml [tool.pytest] | pytest |
Cargo.toml | cargo test |
.rspec | bundle exec rspec |
Go files with _test.go | go test ./... |
Pass: All tests pass. Fail: Any test fails. Show the failure. This is a hard stop. No tests: Note "no test suite found." This is a warning, not a blocker — but flag it. Production apps should have tests.
Step 4: Secrets and sensitive data
Search the tracked files (not node_modules, not .git, not build output) for:
Hard stops (these must not ship):
- Hardcoded API keys: patterns like
sk_live_,sk_test_,pk_live_,AKIA,ghp_,gho_,glpat-,xoxb-,xoxp- .envfiles that are tracked (checkgit ls-filesfor.env,.env.local,.env.production)- Private keys:
-----BEGIN (RSA |EC |DSA )?PRIVATE KEY----- - Database connection strings with credentials:
postgres://user:pass@,mongodb+srv://user:pass@ - Hardcoded passwords:
password = ",PASSWORD = ",secret = "(with a non-empty string value, not a variable reference)
Warnings (review these):
console.log/console.debug/console.warn/print()/debuggerstatements in non-test source files. Exclude:- Test files (
*.test.*,*.spec.*,__tests__/) - Config files (
*.config.*) - Server-side logging that's intentional (look for structured loggers like
winston,pino,logging.getLogger) - Lines that are clearly error handling (
console.errorin a catch block)
- Test files (
TODOorFIXMEcomments in files that changed in the current branch (compared to main). Old TODOs in untouched files are not your problem right now.- Commented-out code blocks in files that changed. Shipping commented-out code is sloppy.
Step 5: Environment variables
Check that the project's expected env vars are accounted for:
- Find env var references: Search source code for
process.env.,os.environ,os.getenv,env::var,import.meta.env.patterns. Collect the variable names. - Find env var definitions: Check
.env.example,.env.local.example,vercel.json(env section),railway.json,fly.toml,docker-compose.yml, and any documented env var lists in README or CLAUDE.md. - Compare: Flag any env var that's referenced in code but has no definition in any example/config file. This is a var that a fresh deploy might be missing.
- Check .env.example freshness: If
.env.exampleexists, check whether all vars referenced in code appear in it. Flag missing ones.
This check does NOT read actual .env files (those contain secrets). It only compares what code expects vs. what's documented.
Step 6: Dependency check
Quick sanity check:
- Lockfile exists: Does the lockfile match the package manager? (
package-lock.jsonfor npm,yarn.lockfor yarn,pnpm-lock.yamlfor pnpm,Pipfile.lockfor pipenv,poetry.lockfor poetry). Missing lockfile = non-deterministic installs. - Lockfile in sync: Run
npm ls --all 2>&1 | grep "missing"or equivalent. If the lockfile is out of sync with the manifest, the deploy might install different versions than what you tested. - No
file:orlink:dependencies: These work locally but break in CI/deploy.
Don't run a full vulnerability audit here — that's what /vuln is for. Just check the basics.
Step 7: Stack-specific checks
Next.js
- Check
next.config.*foroutput: 'export'if deploying to static hosting - Search for
use clientin files that use server-only features (or vice versa) - Check for
generateStaticParamson dynamic routes if using static export
Astro
- Check
astro.config.*foroutputmode matching deploy target - Verify integrations are installed (e.g.,
@astrojs/sitemapin config but not in dependencies)
Python (Flask/Django)
- Check
DEBUG = Trueordebug=Trueis not hardcoded in production config - Check
SECRET_KEYis not hardcoded - Check
ALLOWED_HOSTSor equivalent is configured for production domain
Expo / React Native
- Check
app.json/app.config.jsfor correct bundle identifier and version - Check
eas.jsonprofiles match intended build type - Do NOT trigger an EAS build — those cost money. Just verify the config.
Static HTML
- Check for broken relative links (
href="./orsrc="./pointing to files that don't exist) - Check that
index.htmlexists
Step 8: Report
Present a clear go/no-go:
## Ship Check -- [project name]
**Branch:** main (3 commits ahead of origin/main)
**Stack:** Next.js 16 / Vercel
### BLOCKERS (must fix before deploy)
- [ ] Build failed: [error summary]
- [ ] Merge conflict markers in src/components/Header.tsx
- [ ] Hardcoded Stripe key in src/lib/stripe.ts:14
### WARNINGS (review before deploy)
- [ ] 3 console.log statements in changed files
- [ ] TODO in src/checkout.ts:28 (added in this branch)
- [ ] ENV var RESEND_API_KEY referenced in code but not in .env.example
### CLEAN
- [x] Git state: 0 uncommitted changes
- [x] Tests: 14 passed, 0 failed
- [x] Dependencies: lockfile in sync
- [x] Secrets: no leaked keys
- [x] Stack checks: all clear
### VERDICT: [GO / NO-GO / CAUTION]Verdicts:
- GO -- zero blockers, zero warnings. Ship it.
- CAUTION -- zero blockers, some warnings. Probably fine, but review the warnings.
- NO-GO -- one or more blockers. Fix them first.
Rules
- Blockers are hard stops. Failed build, failed tests, leaked secrets, merge conflicts. These are non-negotiable.
- Warnings are judgment calls. A
console.login a debug utility might be intentional. A TODO in a non-critical path can wait. Report them, let the user decide. - Don't fix anything. This skill reports. It doesn't modify code. If something needs fixing, say what and where — the user (or another skill) handles the fix.
- Be fast. Skip slow operations when the user asks (
--skip-tests,--skip-build). A ship check that takes 5 minutes won't get used. - Respect project conventions. If CLAUDE.md says "we don't write tests for this project," don't flag the lack of tests as a warning. If the project has a custom deploy process, note it.
- Don't duplicate other skills. This is not
/vuln(no full vulnerability scan), not/zombie(no dead code audit), not/seo(no SEO checks), not/autopsy(no test quality review). This is strictly "is this safe to deploy right now." - Scope to what's shipping. When checking for TODOs, console.logs, and commented-out code, focus on files that changed in the current branch vs. main. Legacy junk in untouched files is not a deploy blocker.
Skill Run Logging
After completing this skill, append a log entry to ~/.claude/skill-log.md under the Run Log table. New entries at the top (most recent first).
Format: | YYYY-MM-DD | /skill-name | target (details) | one-line result |
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.

