Production-ready
vibe-coded apps
Code from tools like Claude Code, Cursor, v0, Bolt, and Copilot compiles and passes ESLint. But is it ready for production? 52 checks across security, reliability, performance, and AI quality.
Real output: prodlint 0.10.8 scanning a 7-file demo app when this page was built.
TypeScript compiles. ESLint passes.
Your vibe-coded app still isn't production-ready.
Vibe coding tools write code that type-checks and lints clean. But hardcoded secrets, missing auth, SQL injection and exposed env vars aren't what a default ESLint setup looks for.
0 errors, 0 warnings
with eslint-config-next
- CRIT API route has no authentication check
- WARN Request body accessed without validation
- INFO No rate limiting
- WARN API route handler has no try/catch block
52 production readiness checks.
Every check flags something that breaks in production, not a style nit.
ESLint covers code quality and style. prodlint covers production readiness: the patterns vibe coding tools get wrong.
Security27 rules
- secretsHardcoded API keys, tokens, private keys and database URLs with credentials (Stripe, AWS, OpenAI, Anthropic, GitHub, Supabase and more)
- auth-checksAPI routes with no authentication check (middleware-aware)
- sql-injectionSQL queries built with template literals or string concat (ORM-aware)
Reliability11 rules
- hallucinated-importsImports of packages that aren't in package.json
- error-handlingAPI route handlers with no try/catch
- redirect-in-try-catchredirect() inside try/catch — Next.js redirect throws, catch swallows it
Performance6 rules
- no-n-plus-oneDatabase or fetch calls inside loops
- no-unbounded-query.findMany() / .select('*') with no limit
- no-sync-fsreadFileSync and other synchronous fs calls in server code
AI Quality8 rules
- ai-smellsTODO and FIXME comments, piles of console.log and any, commented-out code, "not implemented" stubs
- placeholder-contentLorem ipsum, example emails, "John Doe" and "your-api-key-here" left in shipped code
- hallucinated-api.flatten(), .contains(), .substr() and other methods that don't exist or are deprecated
There is no demand for average.
Everyone can build an app now. Vibe coding tools turned product ideas into working code overnight. The App Store was already crowded, and what's coming is a tsunami.
Which means “it works” is table stakes. Users don't pick the app that compiles. They pick the one that doesn't leak their data, doesn't crash at 2 AM, and loads before they lose interest. The best apps will keep getting better because the engineers behind them catch the bugs early, harden the edges, and ship with confidence.
That's the gap prodlint fills. Not style, not formatting: production readiness. The 52 things between “it runs on my machine” and “it runs in production without waking you up.”
Inspired by Naval's “A Motorcycle for the Mind”
Minimal false positives.
prodlint reads your project, not just one file at a time.
- Syntax-tree analysis
- Babel AST for 15 rules (imports, redirects, SSRF, catch blocks, HTML injection, server actions), with a text fallback
- Monorepo support
- npm, yarn and pnpm workspace dependencies are resolved
- Framework awareness
- Knows what Prisma, Drizzle, Supabase, Knex and Sequelize make safe
- Middleware auth
- Clerk, NextAuth and Supabase middleware is detected, matcher included; covered findings drop to info
- Path aliases
- @/, ~/ and tsconfig paths aren't reported as missing packages
- Route exemptions
- Auth, webhook, health and cron routes are skipped where a check wouldn't make sense
- Fix suggestions
- Every finding comes with a hint for fixing it
- Test awareness
- Most rules skip test files
- Inline suppression
- // prodlint-disable-next-line <rule> for a line, // prodlint-disable <rule> for a file
Different tools, different focus.
prodlint covers what ESLint and SonarQube weren't built for. Use them together.
| Check | prodlint | ESLint | SonarQube |
|---|---|---|---|
| Imports of packages that aren't installed | Yes | Partly | No |
| Invented APIs (.flatten, .contains) | Yes | No | No |
| AI placeholder content | Yes | No | No |
| Next.js server action checks | Yes | No | No |
| Supabase tables without RLS | Yes | No | No |
| Hardcoded secrets | Yes | Partly | Yes |
| SQL injection (ORM-aware) | Yes | No | Partly |
| Insecure cookies | Yes | No | Yes |
| Dead code detection | Partly | Partly | Yes |
| Style and formatting | No | Yes | Yes |
| Zero config | Yes | No | No |
| SARIF output | Yes | Partly | Partly |
| MCP server for AI editors | Yes | No | No |
~ partial, or through a plugin or separate formatter. The ESLint column is ESLint's own rules; the SonarQube column is its JavaScript and TypeScript analysis.
CLI, CI/CD, and AI editors.
Runs in your terminal, in your CI pipeline, or inside your AI coding tool.
GitHub Action
uses: prodlint/prodlint@v1Comments the score on each pull request. Fails the build on critical findings or below your threshold.
MCP server
npx -y prodlint-mcpTwo read-only tools for Claude Code, Cursor, Windsurf, VS Code and any other MCP client.
Machine-readable output
npx prodlint --jsonJSON or SARIF, and an exit code: 0 clean, 1 critical findings, 2 the scan couldn't run.
Site Score CLI
npx prodlint --web example.comScore any deployed site for AI-agent readiness: 14 checks, out of 100.
Programmatic API
import { scan } from 'prodlint'Call the scanner from your own tools and scripts.
Production Readiness: 86/100
| Category | Score | Issues |
|---|---|---|
| security | 72/100 | 6 |
| reliability | 90/100 | 2 |
| performance | 100/100 | 0 |
| ai-quality | 100/100 | 0 |
Critical Issues
next-server-action-validationapp/actions/submit.ts:7— Server action reads formData without schema validation — unvalidated user inputauth-checksapp/api/users/route.ts:3— API route has no authentication checkhallucinated-importslib/format.ts:1— Package "currency-format-utils" is imported but not in package.jsonsecretslib/stripe.ts:3— Hardcoded Stripe secret key detected
Scanned 7 files in 107ms · prodlint
What the GitHub Action comments on a pull request, for the same demo app.
FAQ
What does prodlint check?
prodlint runs 52 checks across four categories: security (hardcoded secrets, missing auth, SQL injection), reliability (hallucinated imports, unhandled promises, missing error boundaries), performance (N+1 queries, sync filesystem calls), and AI quality (placeholder content, invented APIs, dead exports). Every check flags a real production issue, not a style nit.
How is prodlint different from ESLint?
ESLint checks code quality and style, one file at a time. prodlint checks production readiness for the patterns AI coding tools tend to leave behind: hardcoded secrets, missing authentication, imports of packages that aren't installed, insecure cookies, and more. It also reads the project around the file: package.json, middleware, migrations. They complement each other, so use both.
Does prodlint work with Cursor, Copilot, and v0?
Yes. prodlint scans whatever code is in your project, whichever tool wrote it. For feedback inside an AI editor, add the MCP server (npx -y prodlint-mcp). For CI, add the GitHub Action to check every pull request.
Is prodlint free?
Yes. prodlint is free and open source under the MIT License. No account, no API key, no usage limits. Run npx prodlint and you're done.
How do I add prodlint to CI/CD?
Add the GitHub Action to a workflow: uses: prodlint/prodlint@v1. It comments the score on the pull request and fails the job on critical findings or a score below your threshold. Give the job pull-requests: write so it can post the comment. Anywhere else, run npx prodlint --json and read the exit code.
Is your site ready for AI agents?
prodlint checks your code. Site Score checks your deployed site: 14 AI agent standards, scored 0-100.
Ship your vibe code with confidence.
One command. Your production readiness score. Free and open source.