agentleFS
evgenii-studitskikhevgenii-studitskikh/Claude-Code-SaaS-Studio/.claude/skills/setup-stack/SKILL.md

setup-stack

Skill1 starsChanged 5 months agoMITView on GitHub

Scaffold the Next.js + TypeScript + Tailwind + shadcn + Supabase + Stripe project. Presents exact commands and config for approval BEFORE running anything. Writes .env.example with required keys.

  • Reads credentials
  • Installs packages

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Bootstrap the canonical SaaS Studio stack from scratch: Next.js App Router, TypeScript, Tailwind CSS, shadcn/ui, Supabase client, and Stripe SDK. Non-autonomous: every command and every generated file is shown to the user for approval before execution — nothing runs without sign-off.

Phases

  1. Confirm prerequisites — check that Node.js >= 18, npm/pnpm, and the Supabase CLI are available. Report what is found. If the project directory already contains a package.json, warn the user and ask whether to continue or abort.
  2. Present the scaffold plan — show the exact sequence of commands that will be run: npx create-next-app@latest with --typescript --tailwind --app --eslint, followed by npx shadcn@latest init, then npm install @supabase/ssr @supabase/supabase-js stripe @stripe/stripe-js. List the commands verbatim. Do not run until the user approves.
  3. Run scaffold — execute the approved commands with Bash. Stream output; stop and surface any error immediately rather than continuing past a failure.
  4. Write .env.example — create .env.example at the project root with all required keys: NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY, NEXT_PUBLIC_APP_URL. Values must be placeholders (e.g., your-supabase-url), never real secrets. Show the file contents for approval before writing.
  5. Verify the scaffold — run tsc --noEmit to confirm TypeScript compiles. Report the result. If it fails, diagnose and propose a fix before proceeding. Honor the review intensity: under full, walk through each scaffold decision for sign-off; under lean, get a single confirmation before running commands; under solo, proceed and summarize after.
  6. Next step — point to /design-architecture or, if the PRD and architecture docs are already approved, to /design-schema.

Output

Project scaffold in the current directory + .env.example. Runs no command and writes no file without explicit approval.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.