Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

build-supastarter-app构建超级启动器应用程序

Agent Skill

build-supastarter-app 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

235

周安装

10

GitHub Stars

5

下载量

82
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:build-supastarter-app(构建超级启动器应用程序)
来源仓库:https://github.com/yigitkonur/skills-by-yigitkonur
仓库路径:skills/build-supastarter-app
安装命令:
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-supastarter-app
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-supastarter-app

简介

build-supastarter-app 针对 Supastarter 单体仓库进行页面、路由与 oRPC 服务定制开发。

  • 适用于登录、计费、上传等具体业务逻辑实现,遵循仓库特定结构与命名规范。
  • 不处理通用 SaaS 模板,必须根据实际 monorepo 布局放置文件与模块。
  • 需熟悉项目内部约定,避免引入与现有系统不兼容的组件或流程。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Build Supastarter App

Use this skill when the user is changing a real Supastarter monorepo and the answer must follow repo-specific patterns instead of generic Next.js or SaaS boilerplate.

Use this skill for

  • adding or moving marketing pages, SaaS pages, layouts, or redirects
  • creating or wiring oRPC procedures, routers, and client query usage
  • changing login, signup, onboarding, invitations, sessions, or organization flows
  • adding schema, query, billing, checkout, portal, webhook, or upload behavior
  • placing files in the right app, module, or package inside the monorepo

Do not use this skill for

  • generic TypeScript quality work with no Supastarter-specific patterns; use develop-typescript
  • pull request review or review-only work; use review-pr
  • framework-agnostic Next.js advice that ignores this repo's routing, guards, and package boundaries

Core operating rule

Classify the request first. Find the owning surface before editing. Read the smallest matching reference bundle. Copy the existing repo pattern. Expand only when the current reference cannot answer the next decision.

Repo-fit preflight

This skill only applies to a real Supastarter monorepo. Before following the workflow, verify the canonical boundaries exist:

[ -d apps/web/app ] && \
[ -d apps/web/modules ] && \
[ -d packages/api/modules ] && \
[ -d packages/database ]

Success signal: all four directories exist and the repo layout matches the ownership model in this skill.

If the check fails, stop. Do not improvise generic Next.js or SaaS structure under this skill. Redirect to a more general framework skill or ask for the actual Supastarter repo.

Default workflow

  1. Classify the change before reading broadly. If the task spans multiple categories, list all that apply and note the primary category (the layer other layers depend on). Use the dependency order from step 4 to decide which to tackle first: data → API → page → config. ⚠️ Steering: Real features almost always span 3–4 categories. "Add org-scoped Projects CRUD" touches data model, API, routing, AND auth. Never force a single-category classification — list every category that applies.

- confirm the repo-fit preflight passed before classifying - routing or page placement - API or backend procedure - auth, session, onboarding, or organizations - data model or shared query layer - billing or payments - storage or uploads - repo placement, imports, config, or deployment

  1. Locate the owning boundary before editing. For composite tasks, identify the primary owner (the package other packages import from) and the secondary wiring points. Example: for "add org-scoped CRUD," primary owner is packages/database (schema), secondary wiring goes through packages/api/modules (procedures) then apps/web/app (pages). If the repo-fit preflight passed but one of these canonical boundaries or anchor files is still missing, treat that as repo drift or a different Supastarter version. Re-read references/setup/monorepo-structure.md, confirm the actual repo layout, and stop instead of inventing alternate top-level paths under this skill. ⚠️ Steering: Composite tasks touch 4+ boundaries. Always identify primary vs secondary so you change the primary owner first and avoid backtracking.

- routes live in apps/web/app - feature UI usually lives in apps/web/modules - API procedures live in packages/api/modules - auth config lives in packages/auth - server auth reads go through helpers in apps/web/modules/saas/auth/lib/server.ts - schema and shared queries belong in packages/database - billing logic belongs in packages/payments - storage logic belongs in packages/storage

  1. Start with the smallest relevant reference bundle. Begin with the task guide or hub in the table below, then follow the related-reference links from that file instead of scanning the whole tree. For the smallest full-stack task ("one SaaS page + one backend procedure" with no schema, auth, billing, or storage changes), start with exactly these four files: references/tasks/add-api-endpoint.md, references/tasks/add-saas-page.md, references/cheatsheets/file-locations.md, and references/setup/monorepo-structure.md. Only add database, auth, billing, or storage bundles when the request explicitly changes those layers. If your task spans multiple rows, read task guides in the dependency order from step 4: data files first → API second → page/config last. This ensures each bundle's context builds on the previous one. ⚠️ Steering: For a feature like "org-scoped CRUD," you need three bundles (database, API, SaaS page). Read them in dependency order — reading the page bundle first creates confusion because it references types and APIs not yet introduced.
  2. Change the owner first, then wire outward. ⚠️ Steering: Step 4.2 (pnpm generate && pnpm db:push) is mandatory after any schema.prisma change. Without it, the Prisma client won't know about new models and TypeScript will show type errors everywhere downstream.

- Data change sequence: 1. Add or modify the Prisma model in packages/database/prisma/schema.prisma 2. Run pnpm generate && pnpm db:push to regenerate the Prisma client and sync the database 3. Add query helpers in packages/database/prisma/queries/ 4. Create API procedures that use those queries 5. Build the page that calls the API - API change: procedure → module router → root router → client usage - Billing change: plan or provider layer → API → settings or checkout UI - Storage change: signed URL flow first → client upload → persistence on the owning entity

  1. Check flags and guard behavior before calling the work done. Run through this per-change-type checklist: ⚠️ Steering: There is no organizationProcedure tier. The only procedure tiers are publicProcedure, protectedProcedure, and adminProcedure. For org-scoped data, use protectedProcedure and add an org-membership check in the handler body. See references/api/procedure-tiers.md.

- New page → verify i18n keys added, confirm layout inherits auth guard, add nav item to AppWrapper.tsx - New API procedure → verify procedure uses correct tier (publicProcedure / protectedProcedure / adminProcedure) - Organization-scoped data → verify org-membership guard present if the procedure operates on org-specific resources - New feature → consider feature flag in apps/web/config.ts if experimental - Data change → verify migration is reversible and pnpm generate was run - Billing-gated feature → verify plan check in both API and UI layers - Auth flow change → re-read references/auth/feature-flags.md before editing

  1. Validate boundaries and imports. Use aliases (@repo/api, @repo/database, @repo/ui/components/*), preserve package ownership, default to server components, and add "use client" only when hooks or browser APIs require it.

Decision rules

Routing and page placement

  • Marketing pages belong under apps/web/app/(marketing)/[locale].
  • Protected product pages belong under the SaaS surface in apps/web/app/(saas).
  • Fully gated dashboard pages belong under /app, not beside helper flows.
  • Onboarding, organization creation, and plan selection are helper pages outside /app on purpose.
  • Organization-scoped pages live under apps/web/app/(saas)/app/(organizations)/[organizationSlug]/.
⚠️ Steering: Org-scoped pages use a (organizations) route group: apps/web/app/(saas)/app/(organizations)/[organizationSlug]/<page>/page.tsx. Omitting (organizations) creates the file in a path that silently never renders — no error, no redirect, just blank.

Do this, not that:

  • Put public pages in the marketing tree; do not drop them into the SaaS group because they need a session-aware navbar.
  • Put gated product pages under /app; do not place them next to /onboarding, /new-organization, or /choose-plan unless the page is itself a prerequisite helper.
Deeper references: references/routing/layout-chain.md · references/routing/middleware-proxy.md · references/routing/providers-document.md

Auth, session, and organizations

  • Check auth feature flags before changing login, signup, onboarding, or org flows.
  • Reuse cached server session and organization helpers for layouts and server components.
  • Treat account-scoped and organization-scoped flows as different surfaces.
  • Preserve the existing redirect chain instead of inventing new guard logic in random pages.

Do this, not that:

  • Use the existing server helpers and providers; do not call auth.api.* directly from client code.
  • Adjust config and existing guards first; do not patch over redirect behavior with ad hoc page-level workarounds.
Deeper references: references/auth/better-auth-config.md · references/auth/client-auth-client.md · references/auth/login-flow.md · references/auth/session-hook-provider.md · references/auth/signup-invitations.md · references/hooks/auth-hooks.md · references/hooks/organization-hooks.md · references/onboarding/onboarding-flow.md · references/onboarding/onboarding-step-one.md · references/organizations/active-organization-context.md · references/organizations/create-organization-form.md · references/organizations/members-and-invitations.md · references/organizations/organization-select.md

API and data layer

  • Add procedures in packages/api/modules/*/procedures.
  • Choose publicProcedure, protectedProcedure, or adminProcedure deliberately — these are the only three tiers.
  • Validate inputs with Zod and wire routers through the module router and root router.
  • Keep reusable data access in packages/database query helpers instead of spreading raw ORM calls through pages.
  • For org-scoped procedures, add a membership check in the handler — protectedProcedure only verifies a session exists, not that the user belongs to a specific organization.
⚠️ Steering: There is no organizationProcedure. Use protectedProcedure and add db.member.findFirst({where: {userId: ctx.user.id, organizationId}}) in the handler to verify org access. See references/api/procedure-tiers.md for the complete guard pattern.

Do this, not that:

  • Extend the oRPC surface and consume it through existing query patterns; do not bypass it with one-off handlers unless the task explicitly requires a route handler.
  • Put shared Prisma or Drizzle access in package helpers; do not scatter direct database calls through app components.
Deeper references: references/api/overview.md · references/api/client-integration.md · references/api/transport-handlers.md · references/api/next-route-bridge.md · references/api/contact-module.md · references/api/payments-organizations-modules.md · references/patterns/react-query-orpc.md · references/patterns/server-prefetch.md · references/database/prisma-client.md · references/database/generation-exports.md · references/database/users-organizations-purchases.md

Billing and payments

  • Billing behavior flows through payments config, the provider abstraction, API procedures, and settings or organization UI.
  • Respect whether billing is attached to the user or the organization.
  • Plan gating affects /app redirects, so checkout work is never just a button change.

Do this, not that:

  • Route provider behavior through packages/payments; do not import Stripe or another provider SDK directly into app pages.
  • Check active-plan and redirect behavior before editing billing UI; do not assume missing access is a component bug.
Deeper references: references/payments/checkout-and-portal-flow.md · references/payments/customer-ids.md · references/payments/stripe-provider.md · references/payments/webhook-flow.md

Storage and uploads

  • Use signed URLs for direct uploads and controlled reads.
  • Keep buckets private by default.
  • Persist the resulting object key on the owning entity after upload.

Do this, not that:

  • Use the signed-URL pattern; do not add file-uploading server actions or proxy large files through the main app server unless the task explicitly demands it.
Deeper references: references/storage/bucket-config.md

Monorepo boundaries

  • Use package aliases such as @repo/api, @repo/database, and @repo/ui/components/*.
  • Put code where the repo already expects it instead of creating new top-level structure.
  • Prefer shared packages or shared modules only when the feature is truly cross-cutting.

Do this, not that:

  • Check file placement and imports first; do not cross package boundaries with deep relative paths.
  • Reuse an existing module or package boundary; do not create a new abstraction just because a task touches multiple files.
Deeper references: references/setup/import-conventions.md · references/setup/next-config.md · references/setup/tooling-biome.md · references/conventions/naming.md · references/conventions/typescript-patterns.md · references/conventions/component-patterns.md · references/conventions/code-review-checklist.md

Common mistakes

MistakeWhat happensFix
Omit (organizations) route group from org-scoped page pathPage silently never renders — no error, no redirect, just blankAlways use apps/web/app/(saas)/app/(organizations)/[organizationSlug]/...
Skip pnpm generate && pnpm db:push after schema changePrisma client doesn't know about new models; type errors cascade through API and page layersRun immediately after any schema.prisma edit, before writing query helpers
Use a non-existent organizationProcedure tierProcedure fails to compile or falls back to unprotectedOnly three tiers exist: publicProcedure, protectedProcedure, adminProcedure
Forget org-membership guard on org-scoped proceduresAny authenticated user can access any org's data by guessing a slugAdd db.member.findFirst(...) check in handler for org-scoped data
Create query helper file without import {db}File doesn't compile — missing database client referenceNew query files need import {db} from "../client" at the top
Add nav item to wrong file or skip it entirelyNavigation item doesn't appear in SaaS sidebarNav items go in apps/web/modules/saas/shared/components/AppWrapper.tsx with shape {label, href, icon}

Start with these reference bundles

TaskStart here
Repo orientation, package ownership, file placement, config switchesreferences/README.md, references/setup/monorepo-structure.md, references/cheatsheets/file-locations.md, references/setup/config-feature-flags.md
Small end-to-end feature (SaaS page + backend procedure)references/tasks/add-api-endpoint.md, references/tasks/add-saas-page.md, references/cheatsheets/file-locations.md, references/setup/monorepo-structure.md
New protected SaaS page or dashboard routereferences/tasks/add-saas-page.md, references/routing/routing-saas.md, references/routing/access-guards.md
New marketing or content pagereferences/tasks/add-marketing-page.md, references/routing/routing-marketing.md, references/i18n/locale-routing.md, references/marketing/pages.md, references/marketing/content-collections.md, references/marketing/home-page-components.md
New API procedure or backend changereferences/tasks/add-api-endpoint.md, references/api/procedure-tiers.md, references/api/root-router.md, references/database/query-patterns.md
Auth, session, invitation, onboarding, or org flowreferences/auth/feature-flags.md, references/auth/server-session-helpers.md, references/routing/access-guards.md, references/auth/overview.md
Schema or shared data-layer workreferences/tasks/add-database-model.md, references/database/schema-overview.md, references/database/query-patterns.md
Billing, checkout, customer IDs, provider workreferences/tasks/integrate-payments.md, references/payments/provider-abstraction.md, references/payments/plans-config.md, references/routing/access-guards.md
Storage, avatars, logos, or uploadsreferences/storage/signed-urls.md, references/patterns/direct-upload-s3.md, references/storage/s3-provider.md
Deployment or environment issuesreferences/setup/environment-setup.md, references/deployment/environment-checklist.md, references/deployment/vercel.md
Admin panel: user or org managementreferences/admin/users-admin.md, references/admin/organizations-admin.md
AI features or model wiringreferences/ai/models-and-exports.md, references/ai/prompt-helpers.md
Analytics or cookie consentreferences/analytics/provider-overview.md, references/analytics/consent-flow.md, references/hooks/consent-hooks.md
Transactional email or mail templatesreferences/mail/send-email.md, references/mail/email-templates.md, references/mail/providers.md, references/mail/template-rendering.md
Settings pages (account, billing, security)references/settings/account-settings.md, references/settings/billing-security-and-avatar.md
UI components, forms, or stylingreferences/ui/components.md, references/ui/forms.md, references/ui/feedback-overlays.md, references/ui/styling-patterns.md, references/ui/theme-tokens.md
Form validation or org-scoped page patternsreferences/patterns/form-with-zod.md, references/patterns/organization-scoped-page.md
i18n setup or message loadingreferences/i18n/setup.md, references/i18n/messages-loading.md
Logging or shared utilitiesreferences/logging.md, references/utils.md
Quick-reference cheatsheetsreferences/cheatsheets/commands.md, references/cheatsheets/env-vars.md, references/cheatsheets/imports.md
Local dev servicesreferences/deployment/local-services.md, references/setup/environment-setup.md

Recovery paths when the task starts to drift

  • You are unsure where code belongs. Re-read references/setup/monorepo-structure.md and references/cheatsheets/file-locations.md before editing.
  • A route keeps redirecting somewhere unexpected. Re-read references/routing/access-guards.md, then the matching routing doc, before touching the page component.
  • Auth UI or onboarding behavior looks inconsistent. Re-read references/auth/feature-flags.md and verify config before changing forms or providers.
  • Billing changes do not affect access as expected. Re-read references/payments/provider-abstraction.md, references/payments/plans-config.md, and the guard docs before editing settings UI.
  • An upload flow starts looking like a server-action file proxy. Stop and re-read references/storage/signed-urls.md and references/patterns/direct-upload-s3.md.
  • You need more detail after the starter bundle. Open references/README.md, then follow the related-reference links from the file you already loaded instead of loading every reference directory.
  • Admin action or user list behaves unexpectedly. Re-read references/admin/users-admin.md and references/admin/organizations-admin.md.
  • Email is not sending or template looks wrong. Re-read references/mail/send-email.md, references/mail/email-templates.md, and references/mail/template-rendering.md.
  • Onboarding wizard step is missing or skipped. Re-read references/onboarding/onboarding-flow.md and references/onboarding/onboarding-step-one.md.
  • UI component is missing or a feedback overlay is wrong. Re-read references/ui/components.md and references/ui/feedback-overlays.md.
  • Cookie consent or analytics is not firing. Re-read references/analytics/consent-flow.md and references/hooks/consent-hooks.md.
  • Page under [organizationSlug] silently doesn't render. Check the file path includes (organizations) route group. Correct path: apps/web/app/(saas)/app/(organizations)/[organizationSlug]/<page>/page.tsx.
  • Type errors after adding a new Prisma model. Run pnpm generate && pnpm db:push — the Prisma client needs regeneration after schema changes.

Final reminder

This skill should make you more repo-faithful, not more creative. Match Supastarter's existing route boundaries, helper flows, auth helpers, oRPC surface, package ownership, and signed-URL patterns before introducing anything new.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.28%
按下载量换算29

Claude

31.1%
按下载量换算26

Cursor

17.81%
按下载量换算15

Gemini CLI

8.69%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills