SKILL·713AAC

finish-setup

raintree-technology
更新于 1 month ago
84
9
84
在 GitHub 上查看
aimcpdata

关于

The finish-setup skill completes provisioning for a newly scaffolded SaaS project by configuring integrated services like Stripe, databases, email DNS, and analytics. It verifies environment variables, creates matching Stripe products for billing plans, checks migrations, and reports all changes without creating unrequested cloud resources. Use this skill after scaffolding or when a user explicitly requests to finalize setup for the entire project or specific services.

快速安装

Claude Code

推荐
主要方式
npx skills add raintree-technology/claude-starter -a claude-code
插件命令备选方式
/plugin add https://github.com/raintree-technology/claude-starter
Git 克隆备选方式
git clone https://github.com/raintree-technology/claude-starter.git ~/.claude/skills/finish-setup

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Finish provisioning a freshly scaffolded SaaS project. Configure what exists, link what doesn't — never create cloud resources the user did not ask for (no new databases, no new Vercel projects). Report every change made and every step that still needs a human.

If an argument names a single service, run only that section.

Preflight

  1. Read .env.example and the project's env loading (lib/env.ts or equivalent) to learn which integrations are expected.
  2. Read .env / .env.local (never print secret values — report only SET or UNSET per key).
  3. List which MCP servers are reachable. For each unreachable MCP that a section below needs, skip that section and add it to the final report with the missing env var.
  4. Detect the stack: billing plan definitions (lib/billing/plans.ts or similar), migration setup (drizzle.config.ts, db/migrations/), email templates (emails/), analytics keys (NEXT_PUBLIC_POSTHOG_KEY or similar).

Database (Neon MCP)

  1. Confirm DATABASE_URL is set and the Neon MCP can see the project's database. If unset, stop this section and tell the user to create a database and set DATABASE_URL — do not create one.
  2. Compare applied migrations against the local migrations directory. If migrations are pending, run the project's migrate script (db:migrate or equivalent) locally — not via MCP — and confirm the result.
  3. Verify the auth tables exist (sessions, users, organizations if multi-tenant).

Billing (Stripe MCP)

  1. Parse the plan definitions from the billing module: plan names, prices, intervals, per-seat flags.
  2. List existing Stripe products. For each plan with no matching product, create the product and price(s) to match the code exactly (amount, currency, interval, per-seat usage_type if applicable). Never delete or modify existing products without explicit confirmation.
  3. Write the resulting price IDs to .env (or the file the project reads them from) under the env var names the billing module expects.
  4. Confirm the webhook endpoint the project exposes (e.g. /api/auth/stripe/webhook) and tell the user the exact URL to register in the Stripe dashboard for the deployed domain — webhook registration needs the production URL, so leave it to the user unless a deployed URL is known.

Email (Resend MCP)

  1. Check domain verification status for the sending domain implied by the project's from-address.
  2. If unverified, list the exact DNS records (type, name, value) the user must add, then stop — do not retry verification on their behalf.
  3. Send one test email to the user's own address if they confirm.

Analytics (PostHog MCP)

  1. Confirm the project API key in env matches a reachable PostHog project.
  2. Verify the key is wired into the app (provider component or snippet).
  3. Offer to create a starter dashboard (signups, activation, revenue events) — create it only on confirmation.

Repository (GitHub MCP)

  1. If the project has no origin remote: offer to create a repo (ask for org/name/visibility), push the initial commit, and confirm CI triggers.
  2. If a remote exists: verify the default branch is pushed and CI status for the latest commit.

Report

End with a checklist: each service → done / needs human (with the exact next action) / skipped (with the missing env var or MCP). Keep it short enough to act on without scrolling.

GitHub 仓库

raintree-technology/claude-starter
路径: templates/.claude/skills/finish-setup
0
agent-configai-agentsanthropicclaudeclaude-codecli
FAQ

Frequently asked questions

What is the finish-setup skill?

finish-setup is a Claude Skill by raintree-technology. Skills package instructions and resources that Claude loads on demand, so Claude can perform finish-setup-related tasks without extra prompting.

How do I install finish-setup?

Use the install commands on this page: add finish-setup to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does finish-setup belong to?

finish-setup is in the Meta category, tagged ai, mcp and data.

Is finish-setup free to use?

Yes. finish-setup is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能
polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能
creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能
sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能