Install
openclaw skills install opengemini-next-js-bestpractice-builderBuild and document a solo SaaS project using a fixed Next.js/Tailwind/Prisma stack, with FastAPI only for Python workloads and strict architecture rules.
openclaw skills install opengemini-next-js-bestpractice-builder固定スタックの個人開発SaaSを、ブレない設計と実装ルールで立ち上げる。 技術説明ではなく、実装時の行動基準とプロジェクト構造を強制するための Skill。
GEMINI.md に source of truth を明記するreferences/project-bootstrap-checklist.md を確認するscripts/bootstrap_tree.sh で理想構成を作るscripts/generate_gemini_md.sh で GEMINI.md を作るscripts/generate_project_docs.sh で docs を生成するGEMINI.md があるかdocs/requirements.md から docs/db-schema.md まで揃っているかskills/*/SKILL.md が共通テンプレートに沿っているかGEMINI.mdWhen generating or updating project files, treat these as the source of truth in order:
docs/requirements.mddocs/scope.mddocs/architecture.mddocs/conventions.mddocs/decisions/*.mddocs/notes/brainstorming.md is reference onlyDefault backend logic lives in Next.js route handlers or server actions. FastAPI exists only for AI, batch jobs, heavy processing, or Python-specific integrations.
Generate or align toward this structure:
my-saas/
├─ GEMINI.md
├─ src/
│ ├─ app/
│ ├─ components/
│ ├─ features/
│ ├─ lib/
│ ├─ server/
│ ├─ hooks/
│ └─ types/
├─ backend/
│ └─ fastapi/
│ ├─ app/
│ ├─ tests/
│ └─ pyproject.toml
├─ prisma/
│ ├─ schema.prisma
│ ├─ migrations/
│ └─ seed.ts
├─ public/
├─ tests/
│ ├─ unit/
│ ├─ integration/
│ └─ e2e/
├─ docs/
│ ├─ requirements.md
│ ├─ scope.md
│ ├─ architecture.md
│ ├─ conventions.md
│ ├─ integrations.md
│ ├─ db-schema.md
│ ├─ decisions/
│ └─ notes/
│ └─ brainstorming.md
├─ .gemini/
│ └─ commands/
├─ skills/
│ ├─ nextjs/SKILL.md
│ ├─ clerk/SKILL.md
│ ├─ prisma/SKILL.md
│ ├─ shadcn/SKILL.md
│ ├─ stripe/SKILL.md
│ ├─ resend/SKILL.md
│ ├─ posthog/SKILL.md
│ ├─ sentry/SKILL.md
│ ├─ r2/SKILL.md
│ ├─ fastapi/SKILL.md
│ ├─ api-security/SKILL.md
│ └─ vercel/SKILL.md
└─ scripts/
For a new project, aim to create at least:
GEMINI.mddocs/requirements.mddocs/scope.mddocs/architecture.mddocs/conventions.mddocs/integrations.mddocs/db-schema.mddocs/notes/brainstorming.mdprisma/schema.prismasrc/backend/fastapi/.env.exampleRead when needed:
references/doc-templates.mdreferences/integration-rules.mdreferences/project-bootstrap-checklist.mdreferences/project-skill-template.mdThis skill is strongest when used with Gemini CLI plus OpenClaw file and shell control, and optionally ACP for large implementation loops.
The project-level skills/*/SKILL.md files should be implementation policies, not generic framework notes.
Before publishing or using this for a real project, verify:
skills/*/SKILL.md files follow the shared template shape