|
| 1 | +--- |
| 2 | +name: constructive-starter-kits |
| 3 | +description: Scaffold new Constructive projects with pgpm init — workspace/module templates (PGPM and PNPM variants), the Next.js app boilerplate, custom template repositories, and boilerplate authoring. Use when asked to "create a new project", "scaffold a workspace", "scaffold a module", "create a starter kit", "start a boilerplate", "set up a Next.js app", "author a custom boilerplate template", "create a template repository", or "run pgpm init non-interactively in CI". |
| 4 | +compatibility: pgpm CLI, Node.js 22+ |
| 5 | +metadata: |
| 6 | + author: constructive-io |
| 7 | + version: "1.0.0" |
| 8 | +--- |
| 9 | + |
| 10 | +# Constructive Starter Kits |
| 11 | + |
| 12 | +Project scaffolding for Constructive, powered by `pgpm init` — create workspaces, modules, and full-stack apps from boilerplate templates, and author your own templates. |
| 13 | + |
| 14 | +This is a **thin router**. The authoritative content lives in the `pgpm` skill's project-scaffolding references (single source of truth — this skill only makes it discoverable under starter-kit/boilerplate/scaffold trigger phrases). Read the reference matching your task. |
| 15 | + |
| 16 | +## When to Apply |
| 17 | + |
| 18 | +Use this skill when: |
| 19 | +- Scaffolding a new workspace or module with `pgpm init` |
| 20 | +- Setting up a Constructive Next.js frontend application |
| 21 | +- Using custom template repositories (`--repo` / `--template`) |
| 22 | +- Authoring new boilerplate templates (`.boilerplate.json`) |
| 23 | +- Running non-interactive `pgpm init` for CI/CD |
| 24 | + |
| 25 | +## Quick Start |
| 26 | + |
| 27 | +```bash |
| 28 | +# Create a PGPM workspace + module |
| 29 | +pgpm init -w |
| 30 | + |
| 31 | +# Create a Next.js app from template |
| 32 | +pgpm init -w --repo constructive-io/sandbox-templates --template nextjs/constructive-app |
| 33 | + |
| 34 | +# Create a pure TypeScript (PNPM) workspace |
| 35 | +pgpm init workspace --dir pnpm |
| 36 | +``` |
| 37 | + |
| 38 | +## Reference Guide |
| 39 | + |
| 40 | +All detailed content lives in the `pgpm` skill's references: |
| 41 | + |
| 42 | +| Reference | Topic | Consult When | |
| 43 | +|-----------|-------|--------------| |
| 44 | +| [../pgpm/references/starter-kits.md](../pgpm/references/starter-kits.md) | `pgpm init` templates and scaffolding | Creating new workspaces, modules, or Next.js apps; template matrix; non-interactive flags | |
| 45 | +| [../pgpm/references/nextjs-app.md](../pgpm/references/nextjs-app.md) | Constructive Next.js app boilerplate | Setting up the frontend app, project structure, auth flows, SDK generation | |
| 46 | +| [../pgpm/references/template-authoring.md](../pgpm/references/template-authoring.md) | Custom boilerplate authoring | Creating `.boilerplate.json`, placeholder system, question config, resolvers | |
| 47 | +| [../pgpm/references/cli.md](../pgpm/references/cli.md) | Full `pgpm init` flag reference | Looking up every init flag and option | |
| 48 | +| [../pgpm/references/workspace.md](../pgpm/references/workspace.md) | Workspace/module structure | Understanding what a scaffolded workspace/module contains | |
| 49 | + |
| 50 | +## Cross-References |
| 51 | + |
| 52 | +Related skills: |
| 53 | +- `pgpm` — Database migrations and module management (what you do after scaffolding); owns the references above |
| 54 | +- `constructive-cli` — Generated CLI commands and scaffolding |
| 55 | +- `constructive-setup` — Monorepo setup and local development environment |
0 commit comments