Skip to content
supastack
Browse documentation
WebNext.js

For AI agents: fetch the complete documentation index at /llms.txt, the full documentation corpus at /llms-full.txt, the agent skill at /skill.md, or this page as Markdown at /docs/skills/overview.md (or send Accept: text/markdown).

Skills

Ready-made instructions that teach your coding agent how to do common supastack jobs the way the kit expects.

What skills are

supastack ships Agent Skills: short, task-focused instructions your coding agent loads when a job matches. Instead of guessing the kit's conventions on every prompt, the agent follows the same steps for features, payments, database changes and tests. Skills follow the open Agent Skills format, so they work in Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI and other compatible agents.

Where skills live

Skills live in .agents/skills/, one folder per skill with a SKILL.md file inside. Identical copies sit in .claude/skills/ for Claude Code.

Which agents read them

Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode read .agents/skills/. Claude Code reads .claude/skills/. Your agent picks a skill automatically when your request matches its description, or you can name it — say “use the database-schema-change skill”.

Which repositories ship them

The all-platforms repository includes every skill. The web, mobile and desktop repositories include the skills that apply to them; end-to-end testing and CI skills ship only with the all-platforms repository.

Setup & environment

Skills for getting the kit running, deployed and configured.

  • Local environment setup (local-environment-setup) — use when bootstrapping or repairing the local environment: first clone, a missing or broken .env, Postgres, migrations or ports.
  • Deploy and env vars (deploy-and-env-vars) — use when deploying, choosing a hosting target, or adding or changing an environment variable.
  • Adding a dependency (adding-a-dependency) — use when adding, upgrading, moving or removing an npm dependency, or when CI fails the license or audit check.
  • Upgrading from upstream (upgrading-from-upstream) — use when pulling a newer supastack release into a product built on it.

Building features

Skills for adding product surface area on each platform.

  • Add a web feature (add-a-web-feature) — use when adding a product page or section with its own data, server actions, navigation and tests.
  • Add an API endpoint (add-an-api-endpoint) — use when adding or changing a public /api/v1 endpoint, its OpenAPI documentation or API-key scopes.
  • Add a UI component (add-a-ui-component) — use when building a section, block, form control or reusable component that follows the kit's styling rules.
  • Change the theme or style (change-the-theme-or-style) — use when changing how the product looks: a design style, color pack, density, radius, font or layout.
  • Add a marketing page or blog post (add-a-marketing-page-or-blog-post) — use when adding or editing a public page, pricing page, legal page, blog post or docs guide.
  • Add a mobile screen (add-a-mobile-screen) — use when adding or changing a screen in the Expo mobile app.
  • Add a desktop capability (add-a-desktop-capability) — use when changing the Tauri desktop app: window, tray, global shortcut or auto-updates.
  • Add a notification (add-a-notification) — use when adding an in-app notification, push notification or digest item.

Auth & payments

Skills for sign-in, billing and plans.

  • Add an auth method (add-an-auth-method) — use when changing sign-in: social providers, magic links, email codes, passkeys or two-factor.
  • Add a payment provider (add-a-payment-provider) — use when activating a billing provider or writing a new billing adapter with checkout, customer portal and webhooks.
  • Change plans and pricing (change-plans-and-pricing) — use when adding, renaming or repricing a plan: prices, trials, seats, entitlements, usage limits or credits.

Data & integrations

Skills for the schema, AI, jobs, email, storage and translations.

  • Database schema change (database-schema-change) — use when adding or changing a table, column, index or relation and generating the migration.
  • Add an AI feature (add-an-ai-feature) — use when adding a model call, chat or agent tool, a durable AI task, budgets or bring-your-own-key.
  • Add a background job (add-a-background-job) — use when adding work that runs after a request, on a timer or per workspace.
  • Add or edit an email (add-or-edit-an-email) — use when adding or changing a transactional email or switching the provider that delivers it.
  • Use file storage (use-file-storage) — use when adding uploads or stored files such as avatars, logos or attachments.
  • Add translations (add-translations) — use when adding or changing user-facing text, translating it or adding a locale.

Quality & shipping

Skills for tests, verification, reviews and CI.

  • Writing unit tests (writing-unit-tests) — use when writing or fixing Vitest unit or integration tests.
  • Writing e2e tests (writing-e2e-tests) — use when adding or fixing Playwright end-to-end tests, locally or in CI.
  • Verify changes (verify-changes) — use before handing off, committing or opening a pull request to pick and run the right checks.
  • Debugging a failing CI run (debugging-a-failing-ci-run) — use when a GitHub Actions run fails and you need to find and fix the cause.
  • Reviewing a PR (reviewing-a-pr) — use when reviewing a pull request or diff for correctness, workspace isolation and conventions.

Add your own

Add a folder whose name matches the name in its frontmatter, with a name and a description that says when to use it. Copy it to .claude/skills/ too, so every agent can find it.

Frequently asked questions

14 questions

What is supastack?

supastack is a modular foundation for building AI-powered SaaS products. It brings together common infrastructure so you can focus on product-specific features.

Does it support web and mobile?

Yes. supastack includes Next.js and Expo apps as starting points for web and mobile experiences.

What authentication is included?

Better Auth covers email OTP, magic-link, and social sign-in; email/password stays available at the API layer and through the Auth.js credentials engine for products that need it. Personal workspaces are provisioned with the account so product records stay scoped from day one.

How does it support AI?

supastack includes configurable multi-provider AI, usage tracking, budgets, and encrypted bring-your-own-key support.

How are subscriptions handled?

For products built on the kit, Stripe billing, subscriptions, and entitlements form the paid-access foundation. Provider secrets stay server-only.

Where does my product-specific code live?

Product-specific features remain in a separate codebase while the product configures and integrates supastack’s foundation modules.

How does supastack pricing work?

The kit is a one-time purchase with lifetime updates: One Platform at $249 (temporary launch price, $100 off the regular $349) — your pick of Next.js (Web), Expo (iOS & Android), or Tauri (macOS & Windows Desktop) — or the All Platforms Bundle at $499 (temporary launch price, $100 off the regular $599) with every platform and the full monorepo, plus $75 per extra developer seat. No kit subscription. Checkout on this site delivers your license key by email, with repository access via GitHub invite.

How do workspaces scope my data?

User-owned records are scoped by workspaceId. Identity, entitlements, AI usage, billing events, and audit entries stay inside the personal workspace boundary.

How do background jobs work?

Trigger.dev is the explicit job runtime. The JobRunner contract only promises enqueue, status, and cancel—workflow semantics stay Trigger.dev-specific and explicit.

How is email different from outreach?

Transactional email covers product workflows such as completion notices. Cold outreach and campaigns are product concerns outside this kit’s email module.

How do mobile purchases work?

Mobile includes native purchases and restore through RevenueCat, with access verified by your server. Configure the store accounts and complete device testing before release. Web billing remains separate.

Where do AI provider keys live?

Bring-your-own-key credentials are encrypted and stay server-only. Keys are redacted from logs; usage and budgets remain visible at the workspace level.

Which payment methods does checkout accept?

The Stripe-hosted checkout accepts cards and can also offer Alipay and WeChat Pay once those wallets are enabled on the Stripe account — handy for buyers in China. Wallet authorizations confirm asynchronously, so the license page updates as soon as the payment clears.

Can I get a refund?

After you've got access to the repository, supastack is yours forever, so it cannot be refunded. But rest assured, you get the complete source code with lifetime updates to build and ship unlimited products for yourself or clients. You just cannot resell the code or redistribute the repository as a starter kit or template.

EN
Theme