More screenshots

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    AI SaaS Website Build Skill [Basic Ver]

    by Benjamin Lim

    1

    Production-grade architecture reference for AI SaaS platforms featuring streaming, Stripe, and Firebase.

    Free

    0 installsSecurity scanned

    See it in action

    You say

    I need to build an AI SaaS called 'Visionary' with a dark blue vibe. I need auth, Stripe Pro/Dev tiers, and a multi-model playground that supports streaming.

    Your agent does

    I will scaffold the Visionary project. I'm setting up:

    1. Firebase Auth with session cookies.
    2. Stripe Checkout for Pro ($20/mo) and Dev ($50/mo) tiers.
    3. An SSE streaming route for GPT-4o and Gemini.
    4. Tailwind v4 theme tokens with your dark blue palette. Please provide your Stripe API keys.

    About this skill

    Building a production-ready AI SaaS requires stitching together complex patterns like SSE streaming, Stripe webhooks, and secure Firebase session management. Qn: How much time have you spent reinventing boilerplate for tier gating, rate limiting, and security headers instead of building their core AI features. What it does: Scaffolds a framework-agnostic architecture for AI platforms including auth, payments, and LLM workspaces. Implements a robust SSE (Server-Sent Events) streaming engine compatible with OpenAI, Gemini, and local Ollama models. Provides a secure Firebase session cookie implementation to replace standard client-side auth tokens. Establishes a complete subscription system with Stripe Checkout, multi-tier gating, and automated webhook handling. Includes an exhaustive 23-point QA and security audit checklist to ensure production readiness. Frameworks & tools: Next.js 16, TypeScript, TailwindCSS v4, Firebase Auth & Firestore, Stripe, Framer Motion, and Lucide React. Why this beats prompting it yourself: Generic prompts often miss critical production details like raw body verification for webhooks, CSP nonce injection, or proper Admin SDK singleton patterns. This skill provides a battle-tested blueprint that handles these edge cases by default, saving you from common security pitfalls and architectural debt. Use cases: Deploying a multi-model AI playground with side-by-side comparison features. Building a gated SaaS where specific LLM models are locked behind Stripe Pro tiers. Setting up a secure admin dashboard to monitor user API usage and quotas. Launching a production-grade landing page with validated SEO and security headers.Known limitations NOTE: Code examples use Next.js 16 as a reference. Requires manual setup of Firebase projects and Stripe accounts before deployment. Framework agnostic, I built my site on it, and I decided to share it as a starting point for dreamers, builders and people who just want to try something out without the hard-work.

    Changelog

    1. v1.1LatestAug 1, 2026

      Added Security Middleware (CybrShield): Added pattern documentation for integrating custom bot/scanner blocking, IP denylists, and CSP nonce generation into the Next.js middleware pipeline. Credit-Based Economy: Replaced the simple request-counter pattern with the real credit cost formula ((inputTokens * multiplier) + (outputTokens * multiplier)), noting that local models use a 0x multiplier. Concurrency Limiting: Added the in-memory concurrency limiter pattern (tryAcquireConcurrency / releaseConcurrency) to prevent users from opening too many simultaneous LLM streams. Edge-Compatible JWT Verification: Documented the requirement to use the Web Crypto API + Firebase JWKS for session verification in the Edge runtime, as firebase-admin is not supported. Changed Tier Names: Corrected tier designations from dev to developer (free, pro, developer) to match the live quota lookups and prevent silent failures. Rate Limiter Logic: Updated the isRateLimited function signature and behavior to correctly return true when a limit is exceeded, inverting the previous "isAllowed" assumption. Middleware Export: Updated the middleware pattern to use export default async function proxy(...) instead of the named middleware export to match Next.js 16 conventions. Pitfalls Table: Updated the common pitfalls section to include the double-escaped GOOGLE_APPLICATION_CREDENTIALS_JSON issue, tier name mismatches, and Firestore transaction racing.

      [I Will update this skill progressively as i build my website. Pay once, stay updated for life]

    2. v1.0Aug 1, 2026

      Initial release

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 13 days ago

    • Free to download with an account

    Listed13 days ago
    Updated11 days ago

    Frequently Asked Questions

    Popular in AI Agents & LLM Ops

    Free