本文へ移動
cccskills
無料GitHub で公開

saas-mvp-launcher

Use when planning or building a SaaS MVP from scratch. Provides a structured roadmap covering tech stack, architecture, auth, payments, and launch checklist.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

SaaS MVP Launcher

Overview

This skill guides you through building a production-ready SaaS MVP in the shortest time possible. It covers everything from idea validation and tech stack selection to authentication, payments, database design, deployment, and launch — using modern, battle-tested tools.

When to Use This Skill

  • Use when starting a new SaaS product from scratch
  • Use when you need to choose a tech stack for a web application
  • Use when setting up authentication, billing, or database for a SaaS
  • Use when you want a structured launch checklist before going live
  • Use when designing the architecture of a multi-tenant application
  • Use when doing a technical review of an existing early-stage SaaS

Step-by-Step Guide

1. Validate Before You Build

Before writing any code, validate the idea:

Validation checklist:
- [ ] Can you describe the problem in one sentence?
- [ ] Who is the exact customer? (not "everyone")
- [ ] What do they pay for today to solve this?
- [ ] Have you talked to 5+ potential customers?
- [ ] Will they pay $X/month for your solution?

Rule: If you can't get 3 people to pre-pay or sign a letter of intent, don't build yet.

2. Choose Your Tech Stack

Recommended modern SaaS stack (2026):

LayerChoiceWhy
FrontendNext.js 15 + TypeScriptFull-stack, great DX, Vercel deploy
StylingTailwind CSS + shadcn/uiFast, accessible, customizable
BackendNext.js API Routes or tRPCType-safe, co-located
DatabasePostgreSQL via SupabaseReliable, scalable, free tier
ORMPrisma or DrizzleType-safe queries, migrations
AuthClerk or NextAuth.jsSocial login, session management
PaymentsStripeIndustry standard, great docs
EmailResend + React EmailModern, developer-friendly
DeploymentVercel (frontend) + Railway (backend)Zero-config, fast CI/CD
MonitoringSentry + PostHogError tracking + analytics

3. Project Structure

my-saas/
├── app/                    # Next.js App Router
│   ├── (auth)/             # Auth routes (login, signup)
│   ├── (dashboard)/        # Protected app routes
│   ├── (marketing)/        # Public landing pages
│   └── api/                # API routes
├── components/
│   ├── ui/                 # shadcn/ui components
│   └── [feature]/          # Feature-specific components
├── lib/
│   ├── db.ts               # Database client (Prisma/Drizzle)
│   ├── stripe.ts           # Stripe client
│   └── email.ts            # Email client (Resend)
├── prisma/
│   └── schema.prisma       # Database schema
├── .env.local              # Environment variables
└── middleware.ts           # Auth middleware

4. Core Database Schema (Multi-tenant SaaS)

model User {
  id            String    @id @default(cuid())
  email         String    @unique
  name          String?
  createdAt     DateTime  @default(now())
  subscription  Subscription?
  workspaces    WorkspaceMember[]
}

model Workspace {
  id        String    @id @default(cuid())
  name      String
  slug      String    @unique
  plan      Plan      @default(FREE)
  members   WorkspaceMember[]
  createdAt DateTime  @default(now())
}

model Subscription {
  id                 String   @id @default(cuid())
  userId             String   @unique
  user               User     @relation(fields: [userId], references: [id])
  stripeCustomerId   String   @unique
  stripePriceId      String
  stripeSubId        String   @unique
  status             String   # active, canceled, past_due
  currentPeriodEnd   DateTime
}

enum Plan {
  FREE
  PRO
  ENTERPRISE
}

5. Authentication Setup (Clerk)

// middleware.ts
import { clerkMiddleware, createRouteMatcher } from '@clerk/nextjs/server';

const isPublicRoute = createRouteMatcher([
  '/',
  '/pricing',
  '/blog(.*)',
  '/sign-in(.*)',
  '/sign-up(.*)',
  '/api/webhooks(.*)',
]);

export default clerkMiddleware((auth, req) => {
  if (!isPublicRoute(req)) {
    auth().protect();
  }
});

export const config = {
  matcher: ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)'],
};

6. Stripe Integration (Subscriptions)

// lib/stripe.ts
import Stripe from 'stripe';
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
  apiVersion: '2025-01-27.acacia',
});

// Create checkout session
export async function createCheckoutSession(userId: string, priceId: string) {
  return stripe.checkout.sessions.create({
    mode: 'subscription',
    payment_method_types: ['card'],
    line_items: [{ price: priceId, quantity: 1 }],
    success_url: `${process.env.NEXT_PUBLIC_URL}/dashboard?success=true`,
    cancel_url: `${process.env.NEXT_PUBLIC_URL}/pricing`,
    metadata: { userId },
  });
}

7. Pre-Launch Checklist

Technical:

  • Authentication works (signup, login, logout, password reset)
  • Payments work end-to-end (subscribe, cancel, upgrade)
  • Error monitoring configured (Sentry)
  • Environment variables documented
  • Database backups configured
  • Rate limiting on API routes
  • Input validation with Zod on all forms
  • HTTPS enforced, security headers set

Product:

  • Landing page with clear value proposition
  • Pricing page with 2-3 tiers
  • Onboarding flow (first value in < 5 minutes)
  • Email sequences (welcome, trial ending, payment failed)
  • Terms of Service and Privacy Policy pages
  • Support channel (email / chat)

Marketing:

  • Domain purchased and configured
  • SEO meta tags on all pages
  • Google Analytics or PostHog installed
  • Social media accounts created
  • Product Hunt draft ready

Best Practices

  • ✅ Do: Ship a working MVP in 4-6 weeks maximum, then iterate based on feedback
  • ✅ Do: Charge from day 1 — free users don't validate product-market fit
  • ✅ Do: Build the "happy path" first, handle edge cases later
  • ✅ Do: Use feature flags for gradual rollouts (e.g., Vercel Edge Config)
  • ✅ Do: Monitor user behavior from launch day — not after problems arise
  • ❌ Don't: Build every feature before talking to customers
  • ❌ Don't: Optimize for scale before reaching $10k MRR
  • ❌ Don't: Build a custom auth system — use Clerk, Auth.js, or Supabase Auth
  • ❌ Don't: Skip the onboarding flow — it's where most SaaS lose users

Troubleshooting

Problem: Users sign up but don't activate (don't use core feature) Solution: Reduce steps to first value. Track with PostHog where users drop off in onboarding.

Problem: High churn after trial Solution: Add an exit survey. Most churn is due to lack of perceived value, not price.

Problem: Stripe webhook events not received locally Solution: Use Stripe CLI: stripe listen --forward-to localhost:3000/api/webhooks/stripe

Problem: Database migrations failing in production Solution: Always run prisma migrate deploy (not prisma migrate dev) in production environments.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

12-agent academic paper writing pipeline. 10 modes (full/plan/outline/revision/revision-coach/abstract/lit-review/format-convert/citation-check/disclosure). 6 paper types, 5 citation formats, bilingual abstracts, LaTeX/DOCX-via-Pandoc/PDF output. Style Calibration + Writing Quality Check + Anti-Patterns with IRON RULE markers. Triggers: write paper, academic paper, guide my paper, parse reviews, AI disclosure, 寫論文, 學術論文, 引導我寫論文, 審查意見.

日本語の概要は準備中です。原文の説明を表示しています。

bouclem/skills62026年5月31日 更新

Multi-perspective academic paper review with dynamic reviewer personas. Simulates 5 independent reviewers (EIC + 3 peer reviewers + Devil's Advocate) with field-specific expertise. Supports full review, re-review (verification), quick assessment, methodology focus, Socratic guided, and calibration modes. Triggers on: review paper, peer review, manuscript review, referee report, review my paper, critique paper, simulate review, editorial review, calibrate reviewer, reviewer calibration, measure reviewer accuracy.

日本語の概要は準備中です。原文の説明を表示しています。

bouclem/skills62026年5月31日 更新

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publication, complete paper workflow.

日本語の概要は準備中です。原文の説明を表示しています。

bouclem/skills62026年5月31日 更新

Create, iterate, and scale paid ad creative for Google Ads, Meta, LinkedIn, TikTok, and similar platforms. Use when generating headlines, descriptions, primary text, or large sets of ad variations for testing and performance optimization.

日本語の概要は準備中です。原文の説明を表示しています。

bouclem/skills62026年5月31日 更新

This skill should be used when the user asks to "implement LLM-as-judge", "compare model outputs", "create evaluation rubrics", "mitigate evaluation bias", or mentions direct scoring, pairwise comparison, position bias, evaluation pipelines, or automated quality assessment.

日本語の概要は準備中です。原文の説明を表示しています。

bouclem/skills62026年5月31日 更新

AI agent development workflow for building autonomous agents, multi-agent systems, and agent orchestration with CrewAI, LangGraph, and custom agents.

日本語の概要は準備中です。原文の説明を表示しています。

bouclem/skills62026年5月31日 更新

bouclem のスキルをすべて見る

このスキルの問題を報告する