Skip to content

Basinfy/Basinfy-SaaS-Studio / .agents/skills/saas-setup-stack

saas-setup-stack

Unverified

Configure SaaS stack (Golden Stack for founders or custom Next.js/FastAPI/Go/Cloudflare).

references/2-guided-mode.md

View on GitHub
# Guided Stack Setup Mode

This guide walks through configuring the SaaS architecture stack in `project.yaml`.

---

### Step 1: Check for Existing Product Concept

Check if `design/product-concept.md` or `design/product-brief.md` exists:
- If neither exists:
  > "No product concept found. Consider running `/saas-brainstorm` first to discover what you want to build, or describe your SaaS product and target customers here."

---

### Step 2: Target Audience & Deployment Model

Prompt the user:
- What deployment model are you targeting?
  1. *Serverless / Edge (Next.js + Vercel / Cloudflare)*: Instant deployment, zero devops, edge caching.
  2. *API + Single Page App (FastAPI / Go + React/Vite)*: Heavy computational logic, high-throughput microservices.
  3. *Full-stack Monolith (Next.js + Node / Supabase)*: Fast iteration, unified TypeScript types across frontend and backend.
  4. *Containerized Cloud (Docker + AWS / Fly.io)*: Complete environment control, custom background workers.

---

### Step 3: Architecture Stack Selection

1. **Frontend**:
   - `Next.js` (React 19, App Router, TypeScript, Tailwind CSS) — Recommended default.
   - `React / Vite` (SPA with client-side routing).
   - `Vue / Nuxt` or `SvelteKit`.

2. **Backend**:
   - `Node.js` (Next.js Server Actions / Route Handlers).
   - `FastAPI` (Python async endpoints, ideal for AI/ML pipelines).
   - `Go` (High performance, low memory microservices).

3. **Database & ORM**:
   - `PostgreSQL` via `Supabase` or `Neon`.
   - ORM: `Prisma` or `Drizzle`.

4. **Auth & Payments**:
   - Auth: `Supabase Auth` / `Auth.js` / `Clerk`.
   - Payments: `Stripe` (Subscriptions, Checkout, Customer Portal).

---

### Step 4: Write Configuration

Generate `project.yaml` and local environment files (`.env.example`).
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall