Full-Stack SaaS & Security Engineering Pack

    by Aquilas Cleveland

    1

    9 production-grade skills for Next.js App Router, Supabase RLS, Stripe billing, zero-downtime DB migrations, Playwright persona E2E tests, paywall leak checks, and security audits.

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Full-Stack SaaS & Security Engineering Pack

    Example session with this skill installed

    Audit my Next.js subscription app for paywall leaks and review the Supabase RLS policies in my schema.sql file.

    • Read your context and instructions
    • Compiled the full-stack saas
    • Generated the document

    I have audited the application routes and RLS policies. I identified one potential leak in the SSR metadata and two unprotected tables in the Supabase schema.

    Security Audit & RLS Review

    AssetFindingSeverityRecommendation
    app/api/premium-dataSSR payload contains canary markers for guest usersHighImplement server-side session check before returning JSON.
    schema.sql (Table: profiles)RLS enabled but missing UPDATE policyMediumAdd policy to restrict updates to auth.uid().
    schema.sql (Table: logs)RLS disabled on public schema tableCriticalEnable RLS and revoke all from anon.
    app/dashboard/page.tsxClient-side hide logic instead of Server Component guardMediumMove data fetching to Server Component behind auth().

    RLS Remediation Script

    -- Fix for profiles table
    ALTER TABLE public.profiles ENABLE ROW LEVEL SECURITY;
    CREATE POLICY "Users can update own profile" 
    ON public.profiles FOR UPDATE 
    USING (auth.uid() = id);
    
    -- Fix for logs table
    ALTER TABLE public.logs ENABLE ROW LEVEL SECURITY;
    REVOKE ALL ON public.logs FROM anon;
    

    Next steps

    1. Apply the SQL remediation script to your Supabase staging instance.
    2. Replace the client-side dashboard checks with Server Component session guards.
    3. Run the paywall-leak-checker again to verify canary markers are no longer visible to guests.

    page.tsx

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Building a production SaaS often leads to fragmented architectures, leaky paywalls, and brittle database migrations. This skill delivers 9 production-grade engineering modules to handle the complete application lifecycle from initial project structure to security hardening.

    What it does

    • Full-Stack Architecture guides project structuring, stack alignment, and delivery planning.
    • Next.js Engineering implements App Router best practices, Server Components, and protected Server Actions.
    • Supabase Integration designs database schemas, Row-Level Security (RLS) policies, and role-based access.
    • Stripe Subscriptions handles checkout flows, trials, and idempotent webhook verification.
    • Security & Validation audits authorized applications for vulnerabilities and verifies paywall leak markers.
    • Testing & Quality generates Playwright E2E test suites by persona and performs pre-deploy code reviews.

    How it works

    1. Initialize Environment by running the included preparar.py script to verify Python 3.10 requirements.
    2. Select Module based on the current lifecycle stage, such as database design or security auditing.
    3. Execute Analysis by providing specific project paths or git diffs for the agent to process.
    4. Implement Findings using the generated remediation steps, test suites, or migration plans.

    Frameworks & tools

    This skill works with Next.js App Router, Supabase, Stripe, Playwright, and PostgreSQL. It requires Python 3.10 or newer for environment preparation and execution.

    Why this beats prompting it yourself

    Manual prompting often misses critical edge cases like backward-compatible DB migrations or RLS race conditions. This skill uses specific persona-based logic and canary markers to ensure security and functionality are verified systematically rather than guessed.

    Use cases

    • Build a multi-tenant SaaS with RLS and recurring Stripe billing.
    • Audit an existing Next.js app for paywall leaks and SSR data exposure.
    • Plan zero-downtime database migrations for production PostgreSQL instances.
    • Generate persona-based E2E tests to validate access control for guest and paid users.

    Known limitations

    Testing and auditing are restricted to local or staging environments. Production database modifications require manual execution of the planned migrations.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Accounts
    Hugging FaceBrewSupabase
    Software
    PlaywrightNode.jsGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Browser
    Network Access
    Environment Variables

    Allowed Hosts

    huggingface.co
    brew.sh
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill provides 9 production grade engineering modules that handle the complete SaaS lifecycle, including Next.js architecture, Supabase database design, Stripe subscription integration, and security auditing to prevent paywall leaks.

    You will need a project environment using Next.js App Router, Supabase, Stripe, and Playwright, along with Python 3.10 or newer to run the included environment scripts.

    The skill generates actionable outputs such as database schemas with Row Level Security policies, Playwright E2E test suites organized by user persona, backward compatible migration plans, and detailed security vulnerability reports.

    It uses persona based logic to validate access controls for guests versus paid users and employs unique canary markers to detect if sensitive data is leaking through SSR pages, APIs, or network responses.

    Auditing and testing are restricted to local or staging environments, and any planned production database migrations must be executed manually to ensure safety.

    You can start by asking the agent to initialize your environment using the included script or request a specific module like a security audit or a Stripe checkout flow implementation for your current project path.

    New in Data & Databases

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.