BeforeShip is a local launch gate for AI-built apps.
From npm:
npx beforeship@latest scanFrom this repository:
npm install
npx beforeship --versionScan the current project:
npx beforeship scanScan another project:
npx beforeship scan "C:\path\to\your-app"Scan a public GitHub repository without cloning it:
npx beforeship scan-github owner/repoFull GitHub URLs work too:
npx beforeship scan-github https://github.com/owner/repoUse a specific branch or tag:
npx beforeship scan-github owner/repo --ref mainCreate GitHub issues for the highest-priority findings:
GITHUB_TOKEN=ghp_your_token npx beforeship scan-github owner/repo --create-issuesLimit issue creation:
GITHUB_TOKEN=ghp_your_token npx beforeship scan-github owner/repo --create-issues --issue-limit 3Use GITHUB_TOKEN for private repos, issue creation, and higher GitHub API rate limits.
Use JSON for automation:
npx beforeship scan --json --no-reportBy default, reports are written into the scanned project:
.beforeship/
launch-report.html
launch-report.md
findings.json
fix-prompts.md
loop-memory.json
Add .beforeship/ to .gitignore:
npx beforeship ignorePrint the highest-priority fix prompt:
npx beforeship fix-promptsPrint all prompts:
npx beforeship fix-prompts --all0 SHIP / command succeeded
1 tool error
2 launch gate blocked
npx beforeship scan examples/flawed-next-supabase-app --no-reportExpected verdict:
DO NOT SHIP