All skills
davila7 avatar

/app-builder

@1deb97c

Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents.

Use this Skill: https://skilld.dev/gh/davila7/claude-code-templates/app-builder

This session only. Nothing lands on disk.

templatesnextjs-saasTEMPLATE.md

≈567 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Next.js SaaS Template

Tech Stack

Component Technology
Framework Next.js 14 (App Router)
Auth NextAuth.js v5
Payments Stripe
Database PostgreSQL + Prisma
Email Resend
UI Tailwind (ASK USER: shadcn/Headless UI/Custom?)

Directory Structure

project-name/
├── prisma/
├── src/
│   ├── app/
│   │   ├── (auth)/      # Login, register
│   │   ├── (dashboard)/ # Protected routes
│   │   ├── (marketing)/ # Landing, pricing
│   │   └── api/
│   │       ├── auth/[...nextauth]/
│   │       └── webhooks/stripe/
│   ├── components/
│   │   ├── auth/
│   │   ├── billing/
│   │   └── dashboard/
│   ├── lib/
│   │   ├── auth.ts      # NextAuth config
│   │   ├── stripe.ts    # Stripe client
│   │   └── email.ts     # Resend client
│   └── config/
│       └── subscriptions.ts
└── package.json

SaaS Features

Feature Implementation
Auth NextAuth + OAuth
Subscriptions Stripe Checkout
Billing Portal Stripe Portal
Webhooks Stripe events
Email Transactional via Resend

Database Schema

Model Fields
User id, email, stripeCustomerId, subscriptionId
Account OAuth provider data
Session User sessions

Environment Variables

Variable Purpose
DATABASE_URL Prisma
NEXTAUTH_SECRET Auth
STRIPE_SECRET_KEY Payments
STRIPE_WEBHOOK_SECRET Webhooks
RESEND_API_KEY Email

Setup Steps

  1. npx create-next-app {{name}} --typescript --tailwind --app
  2. Install: npm install next-auth @auth/prisma-adapter stripe resend
  3. Setup Stripe products/prices
  4. Configure environment
  5. npm run db:push
  6. npm run stripe:listen (webhooks)
  7. npm run dev

Best Practices

  • Route groups for layout separation
  • Stripe webhooks for subscription sync
  • NextAuth with Prisma adapter
  • Email templates with React Email

Source: SKILL.md on GitHub

2 warnings16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill is an application building orchestrator that creates projects using standard industry templates. It follows secure development practices, uses trusted dependencies from official registries, and includes a structured agent coordination pipeline to ensure project integrity.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    12/20 files flagged

  • ZeroLeaks5mo

    Scan incomplete

Signed by skilld at 1deb97c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 18 hours ago.

Activeupdated 8 months ago
What it can do
Reads files Edits files Runs commands
All 7 allowed tools
ReadWriteEditGlobGrepBashAgent

README badge

README badge for davila7/claude-code-templates/app-builder