Skip to main content

git-worktree-nextjs-prisma

Stars9
Forks2
UpdatedMarch 10, 2026 at 08:02

Set up git worktrees correctly for Next.js projects with Prisma. Use when: (1) "Cannot find module '.prisma/client/default'" error in new worktree, (2) API routes return 500 errors in worktree but work in main repo, (3) Setting up parallel development branches for UI comparison. Covers npm install, prisma generate, and .env file copying.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly