git-worktree-nextjs-prisma

Community

Streamline Next.js worktrees with Prisma.

AuthorDavidTeju
Version1.0.0
Installs0

System Documentation

What problem does it solve?

New git worktrees for Next.js projects with Prisma often miss the generated Prisma client and environment files, causing runtime errors.

Core Features & Use Cases

  • Guided worktree setup: Steps to create a new worktree, switch branches, and ensure isolation from the main repo.
  • Prisma client generation: Ensures npx prisma generate runs in every worktree to produce the client.
  • Environment handling: Copying non-versioned .env files into the worktree to avoid missing configs. Use cases include parallel UI variant development and bug fixing in isolated worktrees.

Quick Start

Create a new worktree for a feature branch, copy environment files, install dependencies, and run Prisma generate.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-worktree-nextjs-prisma
Download link: https://github.com/DavidTeju/shared-skills/archive/main.zip#git-worktree-nextjs-prisma

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.