next-forge

Scaffolds a Next.js SaaS monorepo with Turborepo apps and @repo packages.

Updated May 16, 2026
One-click install
npx skills add https://github.com/MohammedHTahir/vibe-coding-platform --skill next-forge-mohammedhtahir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: next-forge
Source: https://github.com/MohammedHTahir/vibe-coding-platform/tree/main/.kiro/vercel-plugin/skills/next-forge
Command: npx skills add https://github.com/MohammedHTahir/vibe-coding-platform --skill next-forge-mohammedhtahir

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

next-forge eliminates the complexity and guesswork of scaffolding a production-ready Next.js SaaS monorepo by providing a proven structure and integrations out of the box.

Core Features & Use Cases

  • Monorepo SaaS architecture: Turborepo-based apps and shared packages for a scalable codebase.
  • Production integrations: Batteries-included setup for auth (Clerk), database (Prisma + Neon), payments (Stripe), email (Resend + React Email), CMS, analytics, observability, security, storage, and more.
  • Env-first developer experience: Typed environment variable validation with graceful feature disablement when optional keys are missing.
  • Maintenance guardrails: Built-in validation and upgrade guidance for common configuration and dependency pitfalls.

Quick Start

Use the next-forge skill to scaffold and configure your project by running npx next-forge@latest init.

Frequently Asked Questions about next-forge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Next.js SaaS monorepo with Turborepo and shared packages?

Setting up a Next.js SaaS monorepo requires organizing Turborepo apps and @repo/* packages, validating typed environment variables via keys.ts, and aligning consistent app and package paths.

What is included in a production-grade SaaS starter architecture?

A production-grade SaaS starter includes batteries-included integrations for auth (Clerk), database (Prisma + Neon), payments (Stripe), email (Resend), analytics, security, storage, and observability.

Does next-forge support typed environment variable validation for optional services?

Yes, next-forge supports typed environment variable validation using env-nextjs, providing graceful feature disablement when optional environment keys are missing.

What's the best way to organize apps and packages in a Turborepo monorepo?

The best way to organize a Turborepo monorepo is maintaining consistent app and package paths, using @repo/* naming conventions, and adhering to proxy.ts and production-compatible routing conventions.

Can I configure Clerk, Prisma, and Stripe together in a Next.js monorepo?

Yes, you can configure Clerk, Prisma, and Stripe together by editing core workspace components within the scaffolded Turborepo monorepo, which includes built-in maintenance guardrails for configuration pitfalls.

Why does my SaaS monorepo configuration fail after upgrading dependencies?

Your SaaS monorepo configuration may fail due to dependency pitfalls, but next-forge provides built-in validation and upgrade guidance to resolve common configuration and dependency alignment issues.