team-saas

Generate a multi-tenant SaaS boilerplate with Next.js 16, Prisma, and NextAuth v5.

1|2|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/blink-new/claude --skill team-saas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: team-saas
Source: https://github.com/blink-new/claude/tree/main/skills/team-saas
Command: npx skills add https://github.com/blink-new/claude --skill team-saas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires next-auth@beta, @auth/prisma-adapter, bcryptjs, @prisma/client, @prisma/adapter-pg, pg, prisma, @types/bcryptjs, lucide-react, next-themes, class-variance-authority, clsx, tailwind-merge, @tanstack/react-query, zod, resend, @aws-sdk/client-s3, @aws-sdk/s3-request-presigner, pg-boss, dotenv, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a robust, production-ready foundation for building multi-tenant SaaS applications, saving significant development time and effort.

Core Features & Use Cases

  • Multi-Tenant Architecture: Securely separates data and functionality for different teams/workspaces.
  • Authentication & Authorization: Integrates NextAuth v5 for secure user management and role-based access.
  • Team Workflows: Includes features for team creation, member invitations, and role management.
  • Modern UI: Leverages shadcn/ui and Tailwind CSS for a clean, customizable interface with light/dark mode.
  • Full-Stack Stack: Built with Next.js (App Router), Bun, PostgreSQL, Prisma, and Resend for email.
  • Deployment: Optimized for Railway with a Dockerfile and configuration.

Quick Start

Use the team-saas skill to generate a Next.js project with multi-tenant authentication and team management features.

Frequently Asked Questions about team-saas

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

FAQPage Schema
How do I set up a multi-tenant SaaS application architecture with Next.js and Prisma?

Setting up a multi-tenant SaaS application architecture with Next.js and Prisma requires securely separating data for different teams. This boilerplate generates that foundation using Next.js 16, PostgreSQL, and role-based authorization via NextAuth v5.

What is the best way to add team workspace management and member invitations to a Next.js boilerplate?

The best way to add team workspace management and member invitations to a Next.js boilerplate is using a pre-built multi-tenant pattern. This Skill provides complete team workflows including creation, role management, and secure invitations out of the box.

Does NextAuth v5 work with Prisma for multi-tenant authentication and authorization?

Yes, NextAuth v5 works with Prisma for multi-tenant authentication and authorization using the Prisma adapter. This integration provides secure user management and role-based access control tailored for team workspaces.

Can I deploy a Next.js and PostgreSQL SaaS boilerplate using Railway?

You can deploy this Next.js and PostgreSQL SaaS boilerplate using Railway. It includes an optimized Dockerfile and deployment configuration for Railway alongside background job processing with pg-boss.

What do I need to start building a production-grade SaaS app with this multi-tenant boilerplate?

To start building a production-grade SaaS app with this multi-tenant boilerplate, you need Bun, PostgreSQL, and standard environment variables. It integrates Resend for email and AWS S3 for storage, requiring setup before running.

How does background job processing work in a Next.js multi-tenant SaaS application?

Background job processing in a Next.js multi-tenant SaaS application is handled through pg-boss. This library uses PostgreSQL to queue and execute tasks asynchronously, preventing request blocking during heavy operations.