agentleFS
ixartzixartz/SaaS-Boilerplate/skills/saas-builder/SKILL.md

saas-builder

Skill7.4k starsChanged 6 months agoMITView on GitHub

Clone, verify, map, and build on top of ixartz/SaaS-Boilerplate for a user's SaaS idea. Use when a user wants to reuse SaaS Boilerplate, evaluate how their product fits it, or build product-specific pages, database schema, roles, permissions, MVP features, and launch scope on top of the boilerplate.

  • Reads credentials
  • Installs packages

1 other project uses a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about ixartz/SaaS-Boilerplate

The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 11

Talked about on GitHub, Bluesky and Hacker News (11 times).

On GitHub · 6

1 more on GitHub

On Bluesky · 4

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Naveen-95/saas-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. About 0 are common, 15 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Verify the local baseline, then adapt the boilerplate's marketing, routes, schema, auth, i18n, UI, and tests for the user's SaaS MVP.

    line 10
  2. Distinctive:

    Run these commands before planning, editing, or implementing product-specific work:

    line 14
  3. Distinctive:

    Use the verified clone as the source of truth.

    line 35
  4. Distinctive:

    Keep changes minimal. Do not reformat unrelated files.

    line 36
  5. Very specific:

    Do not change these: src/components/DemoBadge.tsx, its DemoBadge usage in src/app/[locale]/layout.tsx, or …

    line 37
  6. Distinctive:

    Use marketing routes only for promotional content.

    line 38
  7. Distinctive:

    Treat landing and marketing page adaptation as part of every SaaS implementation unless the user explicitly scopes it out.

    line 39
  8. Very specific:

    Keep the existing stack and patterns unless the user explicitly asks to replace them: Next.js App Router, TypeScript, React, Tailwind CSS, …

    line 45
  9. Very specific:

    Add environment variables through src/libs/Env.ts.

    line 46
  10. Distinctive:

    Put user-visible copy in every supported locale file.

    line 47
  11. Distinctive:

    Prefer existing Clerk account and organization features before custom auth flows.

    line 48
  12. Distinctive:

    Follow nearby style and import conventions.

    line 49
  13. Very specific:

    Run npm run db:generate whenever src/models/Schema.ts changes.

    line 50
  14. Very specific:

    Use shadcn/ui theme tokens for UI colors.

    line 53
  15. Distinctive:

    Default to a first-version MVP unless the user asks for more.

    line 58
  16. Very specific:

    Leave the app runnable with npm run dev, but do not start local servers, persistent database processes, or open localhost unless the user …

    line 61
  17. Very specific:

    After building the SaaS based on the user's intent and making all necessary changes, run npm run lint, then rerun the baseline verification …

    line 65
  18. Distinctive:

    When a gate fails, inspect and fix the cause.

    line 69
  19. Distinctive:

    Use these as starting search targets:

    line 73
  20. Distinctive:

    Use a tenant only for the top-level organization a user can join and switch between, where membership, permissions, billing, collaboration, …

    line 84
  21. Distinctive:

    Prefer existing Clerk and boilerplate features before custom flows.

    line 86
  22. Distinctive:

    After the mandatory baseline gate passes:

    line 90
  23. Very specific:

    Ask the user to run npm run dev themselves to play with the current state of the SaaS.

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SaaS Builder

Purpose

Verify the local baseline, then adapt the boilerplate's marketing, routes, schema, auth, i18n, UI, and tests for the user's SaaS MVP.

Mandatory Baseline Gate

Run these commands before planning, editing, or implementing product-specific work:

git clone https://github.com/ixartz/SaaS-Boilerplate.git <target-directory>
cd <target-directory>
npm install

Users usually run npx skills add ixartz/saas-boilerplate from a parent/root directory; it creates .agents/ there and clones the boilerplate into <target-directory>. Since the app is one level below the agent's initial cwd, cd <target-directory> before reading app files or running project commands, and confirm package.json, src/, and skills/ exist.

Then verify the baseline:

npm run build-local
npm run test

Setup and verification commands are hard gates. Do not continue to mapping or implementation work until the baseline is fixed.

Working Rules

  • Use the verified clone as the source of truth. Inspect current files before making claims or edits.
  • Keep changes minimal. Do not reformat unrelated files.
  • Do not change these: src/components/DemoBadge.tsx, its DemoBadge usage in src/app/[locale]/layout.tsx, or src/app/[locale]/(auth)/dashboard/page.tsx.
  • Use marketing routes only for promotional content.
  • Treat landing and marketing page adaptation as part of every SaaS implementation unless the user explicitly scopes it out.
  • Build product workflows as dedicated authenticated dashboard feature pages, not in the dashboard index: use src/app/[locale]/(auth)/dashboard/<feature>/page.tsx for CRUD, data entry, tools, and customer-specific views.
  • Split complex product workflows across several authenticated pages when needed. Do not force every part of a workflow into a single page; a feature can use separate pages for list, create, edit, detail, settings, or related subflows.

Project Conventions

  • Keep the existing stack and patterns unless the user explicitly asks to replace them: Next.js App Router, TypeScript, React, Tailwind CSS, Shadcn/Radix UI, Clerk, Drizzle ORM, T3 Env, next-intl, LogTape, Vitest, Storybook, and Playwright.
  • Add environment variables through src/libs/Env.ts; avoid direct process.env except in bootstrapping or instrumentation.
  • Put user-visible copy in every supported locale file.
  • Prefer existing Clerk account and organization features before custom auth flows.
  • Follow nearby style and import conventions.
  • Run npm run db:generate whenever src/models/Schema.ts changes.
  • Persist product data in the database, not in local state or memory. Use Drizzle ORM for all database access.
  • Make new components visually polished and consistent with the current UI: reuse existing Shadcn/Radix primitives, Tailwind tokens, spacing, typography, states, and responsive patterns before introducing new visual treatments.
  • Use shadcn/ui theme tokens for UI colors; change colors only in src/styles/global.css, not locally in components.
  • React Compiler is enabled, so don't add useMemo or useCallback.

MVP Scope

  • Default to a first-version MVP unless the user asks for more.
  • Build the smallest runnable core workflow.
  • Defer nonessential architecture, integrations, and edge cases.
  • Leave the app runnable with npm run dev, but do not start local servers, persistent database processes, or open localhost unless the user explicitly asks.

Final Verification Gate

After building the SaaS based on the user's intent and making all necessary changes, run npm run lint, then rerun the baseline verification sequence.

Gate Failure Handling

When a gate fails, inspect and fix the cause. Change tests only when stale or incorrect. Rerun the gate commands until they pass. If a gate fails after all fixes, report the command, exit status, and relevant output to the user.

Common Extension Points

Use these as starting search targets:

  • General SaaS settings: src/utils/AppConfig.ts
  • Locales and i18n: src/locales/en.json, src/locales/fr.json
  • Database schema: src/models/Schema.ts
  • Marketing: src/app/[locale]/(marketing)
  • User dashboard overview: src/app/[locale]/(auth)/dashboard/page.tsx
  • Product feature pages: src/app/[locale]/(auth)/dashboard/<feature>/page.tsx

Mapping Heuristics

  • Use a tenant only for the top-level organization a user can join and switch between, where membership, permissions, billing, collaboration, or data isolation are scoped.
  • Model sub-entities as Drizzle records scoped by a single ownerId field.
  • Prefer existing Clerk and boilerplate features before custom flows.

Workflow

After the mandatory baseline gate passes:

  1. Identify the requested SaaS change and infer only the product context needed to implement it.
  2. Inspect the verified clone for relevant patterns.
  3. Implement the change directly in the cloned project, including product-specific marketing copy and any authenticated product workflows, following the route boundaries above.
  4. Produce planning output only when the user asks for it or the change needs clarification.
  5. Ask the user to run npm run dev themselves to play with the current state of the SaaS; do not run it for them. After that, ask them to create a Clerk account at Clerk.com, then copy NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY into .env.local.

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.