vibeaudit
72
C

shadcn-ui/taxonomy

135 files scanned16 checks run0.3s
View on GitHub

An open source application built using the new router, server components and everything new in Next.js 13.

Frameworks: nextjs, react

1High
5Medium

high (1)

medium (5)

Mega Prompt

Combined remediation prompt for all 6 issue types. Paste this into your AI coding agent to fix everything.

I ran a production-readiness audit on my project and found the following issues. Please fix all of them: 1. My React/Next.js app is missing error boundaries. Please create an error.tsx file in the app/ directory to catch rendering errors. This prevents the entire app from crashing when a component throws an error, and shows a user-friendly fallback UI instead. 2. My Next.js app is missing a root error page. Please create a root error.tsx in the app/ directory that catches unhandled errors and shows a user-friendly error page with a retry option. 3. My project has no tests at all. Please set up a testing framework (vitest with @testing-library/react) and create initial tests for the most critical functionality. Start with: 1) Unit tests for core business logic, 2) Integration tests for API endpoints, 3) Component tests for key UI components. Set up a test script in package.json. 4. My project has no CI/CD configuration. Please create a GitHub Actions workflow (.github/workflows/ci.yml) that runs on push and pull requests. It should: 1) Install dependencies, 2) Run linting, 3) Run type checking, 4) Run tests, 5) Build the project. This ensures every change is automatically validated. 5. My API has no rate limiting configured. Please add rate limiting middleware (express-rate-limit or similar) to protect against abuse. Set reasonable limits for different endpoint types: stricter limits for auth endpoints (5-10 req/min), moderate for API endpoints (100 req/min), and standard for general requests. 6. My .gitignore is missing important entries. Please update .gitignore to exclude: node_modules/, .env, .env.*, dist/, build/, coverage/, .DS_Store, and any IDE-specific files.