[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BY4AR3QPJQ7W6HV2STP0PX":3,"skill-same:01M7BY4AR3QPJQ7W6HV2STP0PX":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BY4AR3QPJQ7W6HV2STP0PX","next-forge",null,"Expert assistance for next-forge — a production-grade Turborepo template for Next.js SaaS apps. Triggers on questions about next-forge installation, setup, architecture, packages, customization, deployment, and development workflows.","CognitionAI\u002Fdevin-marketplace","CognitionAI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F163493330?v=4","01M7BVSRD98NC4FG8T3EZS6V5M","Cognition","01M7BVSRDX111C2XPWJ0E6MY26",29,"MIT","https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fnext-forge\u002Fupstream\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: next-forge\ndescription: Expert assistance for next-forge — a production-grade Turborepo template for Next.js SaaS apps. Triggers on questions about next-forge installation, setup, architecture, packages, customization, deployment, and development workflows.\n---\n\n# next-forge\n\nnext-forge is a production-grade Turborepo template for building Next.js SaaS applications. It provides a monorepo structure with multiple apps, shared packages, and integrations for authentication, database, payments, email, CMS, analytics, observability, security, and more.\n\n## Quick Start\n\nInitialize a new project:\n\n```bash\nnpx next-forge@latest init\n```\n\nThe CLI prompts for a project name and package manager (bun, npm, yarn, or pnpm). After installation:\n\n1. Set the `DATABASE_URL` in `packages\u002Fdatabase\u002F.env` pointing to a PostgreSQL database (Neon recommended).\n2. Run database migrations: `bun run migrate`\n3. Add any optional integration keys to the appropriate `.env.local` files.\n4. Start development: `bun run dev`\n\nAll integrations besides the database are optional. Missing environment variables gracefully disable features rather than causing errors.\n\n## Architecture Overview\n\nThe monorepo contains apps and packages. Apps are deployable applications. Packages are shared libraries imported as `@repo\u002F\u003Cpackage-name>`.\n\n**Apps** (in `\u002Fapps\u002F`):\n\n| App | Port | Purpose |\n|-----|------|---------|\n| `app` | 3000 | Main authenticated SaaS application |\n| `web` | 3001 | Marketing website with CMS and SEO |\n| `api` | 3002 | Serverless API for webhooks, cron jobs |\n| `email` | 3003 | React Email preview server |\n| `docs` | 3004 | Documentation site (Mintlify) |\n| `storybook` | 6006 | Design system component workshop |\n| `studio` | 3005 | Prisma Studio for database editing |\n\n**Core Packages**: `auth`, `database`, `payments`, `email`, `cms`, `design-system`, `analytics`, `observability`, `security`, `storage`, `seo`, `feature-flags`, `internationalization`, `webhooks`, `cron`, `notifications`, `collaboration`, `ai`, `rate-limit`, `next-config`, `typescript-config`.\n\nFor detailed structure, see `references\u002Farchitecture.md`.\n\n## Key Concepts\n\n### Environment Variables\n\nEnvironment variable files live alongside apps and packages:\n\n- `apps\u002Fapp\u002F.env.local` — Main app keys (Clerk, Stripe, etc.)\n- `apps\u002Fweb\u002F.env.local` — Marketing site keys\n- `apps\u002Fapi\u002F.env.local` — API keys\n- `packages\u002Fdatabase\u002F.env` — `DATABASE_URL` (required)\n- `packages\u002Fcms\u002F.env.local` — BaseHub token\n- `packages\u002Finternationalization\u002F.env.local` — Languine project ID\n\nEach package has a `keys.ts` file that validates environment variables with Zod via `@t3-oss\u002Fenv-nextjs`. Type safety is enforced at build time.\n\n### Inter-App URLs\n\nLocal URLs are pre-configured:\n\n- `NEXT_PUBLIC_APP_URL=http:\u002F\u002Flocalhost:3000`\n- `NEXT_PUBLIC_WEB_URL=http:\u002F\u002Flocalhost:3001`\n- `NEXT_PUBLIC_API_URL=http:\u002F\u002Flocalhost:3002`\n- `NEXT_PUBLIC_DOCS_URL=http:\u002F\u002Flocalhost:3004`\n\nUpdate these to production domains when deploying (e.g., `app.yourdomain.com`, `www.yourdomain.com`).\n\n### Server Components First\n\n`page.tsx` and `layout.tsx` files are always server components. Client interactivity goes in separate files with `'use client'`. Access databases, secrets, and server-only APIs directly in server components and server actions.\n\n### Graceful Degradation\n\nAll integrations beyond the database are optional. Clients use optional chaining (e.g., `stripe?.prices.list()`, `resend?.emails.send()`). If the corresponding environment variable is not set, the feature is silently disabled.\n\n## Common Tasks\n\n### Running Development\n\n```bash\nbun run dev                  # All apps\nbun dev --filter app         # Single app (port 3000)\nbun dev --filter web         # Marketing site (port 3001)\n```\n\n### Database Migrations\n\nAfter changing `packages\u002Fdatabase\u002Fprisma\u002Fschema.prisma`:\n\n```bash\nbun run migrate\n```\n\nThis runs Prisma format, generate, and db push in sequence.\n\n### Adding shadcn\u002Fui Components\n\n```bash\nnpx shadcn@latest add [component] -c packages\u002Fdesign-system\n```\n\nUpdate existing components:\n\n```bash\nbun run bump-ui\n```\n\n### Adding a New Package\n\nCreate a new directory in `\u002Fpackages\u002F` with a `package.json` using the `@repo\u002F\u003Cname>` naming convention. Add it as a dependency in consuming apps.\n\n### Linting and Formatting\n\n```bash\nbun run lint                 # Check code style (Ultracite\u002FBiome)\nbun run format               # Fix code style\n```\n\n### Testing\n\n```bash\nbun run test                 # Run tests across monorepo\n```\n\n### Building\n\n```bash\nbun run build                # Build all apps and packages\nbun run analyze              # Bundle analysis\n```\n\n### Deployment\n\nDeploy to Vercel by creating separate projects for `app`, `web`, and `api` — each pointing to its respective root directory under `\u002Fapps\u002F`. Add environment variables per project or use Vercel Team Environment Variables.\n\nFor detailed setup and customization instructions, see:\n\n- `references\u002Fsetup.md` — Installation, prerequisites, environment variables, database and Stripe CLI setup\n- `references\u002Fpackages.md` — Detailed documentation for every package\n- `references\u002Fcustomization.md` — Swapping providers, extending features, deployment configuration\n- `references\u002Farchitecture.md` — Full monorepo structure, Turborepo pipeline, scripts\n","# next-forge\n\nnext-forge is a production-grade Turborepo template for building Next.js SaaS applications. It provides a monorepo structure with multiple apps, shared packages, and integrations for authentication, database, payments, email, CMS, analytics, observability, security, and more.\n\n## Quick Start\n\nInitialize a new project:\n\n```bash\nnpx next-forge@latest init\n```\n\nThe CLI prompts for a project name and package manager (bun, npm, yarn, or pnpm). After installation:\n\n1. Set the `DATABASE_URL` in `packages\u002Fdatabase\u002F.env` pointing to a PostgreSQL database (Neon recommended).\n2. Run database migrations: `bun run migrate`\n3. Add any optional integration keys to the appropriate `.env.local` files.\n4. Start development: `bun run dev`\n\nAll integrations besides the database are optional. Missing environment variables gracefully disable features rather than causing errors.\n\n## Architecture Overview\n\nThe monorepo contains apps and packages. Apps are deployable applications. Packages are shared libraries imported as `@repo\u002F\u003Cpackage-name>`.\n\n**Apps** (in `\u002Fapps\u002F`):\n\n| App | Port | Purpose |\n|-----|------|---------|\n| `app` | 3000 | Main authenticated SaaS application |\n| `web` | 3001 | Marketing website with CMS and SEO |\n| `api` | 3002 | Serverless API for webhooks, cron jobs |\n| `email` | 3003 | React Email preview server |\n| `docs` | 3004 | Documentation site (Mintlify) |\n| `storybook` | 6006 | Design system component workshop |\n| `studio` | 3005 | Prisma Studio for database editing |\n\n**Core Packages**: `auth`, `database`, `payments`, `email`, `cms`, `design-system`, `analytics`, `observability`, `security`, `storage`, `seo`, `feature-flags`, `internationalization`, `webhooks`, `cron`, `notifications`, `collaboration`, `ai`, `rate-limit`, `next-config`, `typescript-config`.\n\nFor detailed structure, see `references\u002Farchitecture.md`.\n\n## Key Concepts\n\n### Environment Variables\n\nEnvironment variable files live alongside apps and packages:\n\n- `apps\u002Fapp\u002F.env.local` — Main app keys (Clerk, Stripe, etc.)\n- `apps\u002Fweb\u002F.env.local` — Marketing site keys\n- `apps\u002Fapi\u002F.env.local` — API keys\n- `packages\u002Fdatabase\u002F.env` — `DATABASE_URL` (required)\n- `packages\u002Fcms\u002F.env.local` — BaseHub token\n- `packages\u002Finternationalization\u002F.env.local` — Languine project ID\n\nEach package has a `keys.ts` file that validates environment variables with Zod via `@t3-oss\u002Fenv-nextjs`. Type safety is enforced at build time.\n\n### Inter-App URLs\n\nLocal URLs are pre-configured:\n\n- `NEXT_PUBLIC_APP_URL=http:\u002F\u002Flocalhost:3000`\n- `NEXT_PUBLIC_WEB_URL=http:\u002F\u002Flocalhost:3001`\n- `NEXT_PUBLIC_API_URL=http:\u002F\u002Flocalhost:3002`\n- `NEXT_PUBLIC_DOCS_URL=http:\u002F\u002Flocalhost:3004`\n\nUpdate these to production domains when deploying (e.g., `app.yourdomain.com`, `www.yourdomain.com`).\n\n### Server Components First\n\n`page.tsx` and `layout.tsx` files are always server components. Client interactivity goes in separate files with `'use client'`. Access databases, secrets, and server-only APIs directly in server components and server actions.\n\n### Graceful Degradation\n\nAll integrations beyond the database are optional. Clients use optional chaining (e.g., `stripe?.prices.list()`, `resend?.emails.send()`). If the corresponding environment variable is not set, the feature is silently disabled.\n\n## Common Tasks\n\n### Running Development\n\n```bash\nbun run dev                  # All apps\nbun dev --filter app         # Single app (port 3000)\nbun dev --filter web         # Marketing site (port 3001)\n```\n\n### Database Migrations\n\nAfter changing `packages\u002Fdatabase\u002Fprisma\u002Fschema.prisma`:\n\n```bash\nbun run migrate\n```\n\nThis runs Prisma format, generate, and db push in sequence.\n\n### Adding shadcn\u002Fui Components\n\n```bash\nnpx shadcn@latest add [component] -c packages\u002Fdesign-system\n```\n\nUpdate existing components:\n\n```bash\nbun run bump-ui\n```\n\n### Adding a New Package\n\nCreate a new directory in `\u002Fpackages\u002F` with a `package.json` using the `@repo\u002F\u003Cname>` naming convention. Add it as a dependency in consuming apps.\n\n### Linting and Formatting\n\n```bash\nbun run lint                 # Check code style (Ultracite\u002FBiome)\nbun run format               # Fix code style\n```\n\n### Testing\n\n```bash\nbun run test                 # Run tests across monorepo\n```\n\n### Building\n\n```bash\nbun run build                # Build all apps and packages\nbun run analyze              # Bundle analysis\n```\n\n### Deployment\n\nDeploy to Vercel by creating separate projects for `app`, `web`, and `api` — each pointing to its respective root directory under `\u002Fapps\u002F`. Add environment variables per project or use Vercel Team Environment Variables.\n\nFor detailed setup and customization instructions, see:\n\n- `references\u002Fsetup.md` — Installation, prerequisites, environment variables, database and Stripe CLI setup\n- `references\u002Fpackages.md` — Detailed documentation for every package\n- `references\u002Fcustomization.md` — Swapping providers, extending features, deployment configuration\n- `references\u002Farchitecture.md` — Full monorepo structure, Turborepo pipeline, scripts\n",{"name":5,"description":7},"main","9836d94e88404aabb682086405c2aa9cba7657ac","plugins\u002Fvercel\u002Fskills\u002Fnext-forge\u002Fupstream",156,"https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace","https:\u002F\u002Fgithub.com\u002FCognitionAI","https:\u002F\u002Fcognition.ai\u002F","Makers of Devin, the AI software engineer.","2026-11-13 07:08:23",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add CognitionAI\u002Fdevin-marketplace --skill next-forge",{"tool":39,"command":40},"bunx","bunx skills add CognitionAI\u002Fdevin-marketplace --skill next-forge",{"tool":42,"command":43},"pnpm","pnpm dlx skills add CognitionAI\u002Fdevin-marketplace --skill next-forge","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fnext-forge\u002Fupstream\u002FSKILL.md",true,[47,53,57,61],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Farchitecture.md","REFERENCE","参考文档",5361,"https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fnext-forge\u002Fupstream\u002Freferences\u002Farchitecture.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcustomization.md",6986,"https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fnext-forge\u002Fupstream\u002Freferences\u002Fcustomization.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fpackages.md",8556,"https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fnext-forge\u002Fupstream\u002Freferences\u002Fpackages.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fsetup.md",4317,"https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fnext-forge\u002Fupstream\u002Freferences\u002Fsetup.md",[66,72,79,85,92,99],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7BYC4AJGM98P2G9JH7QS24Z","business-data","https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwindsor-ai\u002Fskills\u002Fbusiness-data\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7BYBZ0CD4CBCPZHRZ551BNK","workflow","Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of \"workflow\", \"durable functions\", \"resumable\", \"workflow sdk\", \"queue\", \"event\", \"push\", \"subscribe\", or step-based orchestration.","https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fworkflow\u002Fupstream\u002FSKILL.md",[],[],{"skillNo":80,"name":74,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7BYB1XSZHKHD8JZTQJ62JN0","Vercel Workflow SDK expert guidance. Use when building durable workflows, long-running tasks, API routes or agents that need pause\u002Fresume, retries, step-based execution, or crash-safe orchestration with Vercel Workflow.","https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fworkflow\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7BYASGMK935J33E21N5WTW0","verification","Full-story verification — infers what the user is building, then verifies the complete flow end-to-end: browser → API → data → response. Triggers on dev server start and 'why isn't this working' signals.","https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fverification\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7BY9WJERKSKEH9HK6E71GW2","vercel-storage","Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.","https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fvercel-storage\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7BY9N034894YV2J9DCRZHYS","vercel-services","Configure and troubleshoot Vercel Services for multiple frontends and backends in one project. Use when composing a polyglot or multi-service application on one Vercel deployment; defining the `services` key, service-targeted rewrites, or service bindings in `vercel.json`; or running all services with `vercel dev`.","https:\u002F\u002Fgithub.com\u002FCognitionAI\u002Fdevin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fvercel-services\u002FSKILL.md",[],[]]