Chuyển đến nội dung
Skillpedia
Lập trình chung7.5k · #13225

saas-builder

Skill này làm gì

Skill này hướng dẫn người dùng bắt đầu từ dự án SaaS Boilerplate mã nguồn mở và định hình nó thành sản phẩm riêng. Dành cho người sáng lập và lập trình viên muốn xây nhanh một ứng dụng phần mềm dạng dịch vụ (SaaS).

Khi nào nên dùng

  • ✓Khi bạn muốn tái sử dụng SaaS Boilerplate cho ý tưởng sản phẩm của riêng mình.
  • ✓Khi bạn cần kiểm tra ý tưởng sản phẩm của mình phù hợp với boilerplate như thế nào.
  • ✓Khi bạn lên kế hoạch các trang, mô hình dữ liệu, vai trò và phạm vi ra mắt cho một ứng dụng SaaS.

Liên kết skill

https://github.com/ixartz/SaaS-Boilerplate/blob/main/skills/saas-builder/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ixartz/SaaS-Boilerplate/blob/main/skills/saas-builder/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn xây một SaaS đặt lịch dựa trên SaaS Boilerplate. Hãy giúp tôi thiết lập và lên bản đồ phiên bản đầu tiên.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent trước hết sao chép dự án, cài đặt và chạy lệnh build và test của nó. Chỉ sau khi bản gốc vượt qua, agent mới lập bản đồ và thay đổi các trang tiếp thị, route, cơ sở dữ liệu và đăng nhập cho sản phẩm của bạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 isolati
Câu hỏi thường gặp

Agent có thay đổi gì trước khi kiểm tra bản gốc không?

Không. Các lệnh build và test phải vượt qua trước khi bắt đầu lập kế hoạch hay công việc sản phẩm.

Phần nào của boilerplate có thể thay đổi?

Các trang tiếp thị, route, schema dữ liệu, xác thực, hỗ trợ ngôn ngữ, giao diện và test, trong khi một số file demo được giữ nguyên.

Nó có giữ thay đổi tối thiểu không?

Có. Skill yêu cầu tránh định dạng lại các file không liên quan.

Chi tiết

Mô tả gốc của tác giả

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.

repo: ixartz/SaaS-Boilerplate

Độ phổ biến

Sao GitHub
7.5k
Vị trí xếp hạng
#13225
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự