constructive-starter-kits
Constructive Starter Kits
All project scaffolding templates for Constructive, powered by pgpm init. Create workspaces, modules, and full-stack applications from boilerplate templates.
When to Apply
Use this skill when:
- Scaffolding a new workspace or module with
pgpm init - Setting up a Constructive Next.js frontend application
- Using custom template repositories
- Authoring new boilerplate templates
- Setting up non-interactive
pgpm initfor CI/CD
Quick Start
# Create a PGPM workspace + module
pgpm init -w
# Create a Next.js app from template
pgpm init -w --repo constructive-io/sandbox-templates --template nextjs/constructive-app
# Create a pure TypeScript workspace
pgpm init workspace --dir pnpm
Available Templates
| Template | Command | Description |
|---|---|---|
| PGPM workspace | pgpm init workspace |
Monorepo with pgpm.json, migrations support |
| PGPM module | pgpm init |
Database module with pgpm.plan, .control file |
| PNPM workspace | pgpm init workspace --dir pnpm |
Pure PNPM workspace (no pgpm files) |
| PNPM module | pgpm init --dir pnpm |
Pure TypeScript package |
| Next.js App | pgpm init -w --repo constructive-io/sandbox-templates -t nextjs/constructive-app |
Full-stack Constructive frontend |
Reference Guide
| Reference | Topic | Consult When |
|---|---|---|
| references/pgpm-init.md | pgpm init command reference |
Using templates, flags, non-interactive mode, custom repos |
| references/nextjs-app.md | Constructive Next.js app boilerplate | Setting up frontend app, project structure, auth flows, SDK generation |
| references/authoring-templates.md | Custom boilerplate authoring | Creating .boilerplate.json, placeholder system, question config, resolvers |
Cross-References
pgpm— Database migrations and module management (what you do after scaffolding)constructive-graphql— Code generation and SDK usage (used by the Next.js app boilerplate)constructive— Platform core, deployment, server configuration
More from constructive-io/constructive-skills
drizzle-orm
Drizzle ORM patterns for PostgreSQL schema design and queries. Use when asked to "design Drizzle schema", "write Drizzle queries", "set up Drizzle ORM", or when building type-safe database layers.
21planning-blueprinting
In-repo planning and specification system for software projects. Use when asked to "create a plan", "write a spec", "document a proposal", "blueprint a feature", or when doing architectural planning work.
20pgsql-parser-testing
Test the pgsql-parser repository (SQL parser/deparser). Use when working in the pgsql-parser repo, fixing deparser issues, running parser tests, or validating SQL round-trips. Scoped specifically to the constructive-io/pgsql-parser repository.
18constructive-graphql-codegen
Generate type-safe React Query hooks, Prisma-like ORM client, or inquirerer-based CLI from GraphQL endpoints, schema files/directories, databases, or PGPM modules using @constructive-io/graphql-codegen. Also generates documentation (README, AGENTS.md, skills/, mcp.json). Use when asked to "generate GraphQL hooks", "generate ORM", "generate CLI", "set up codegen", "generate docs", "generate skills", "export schema", or when implementing data fetching for a PostGraphile backend.
17constructive-server-config
Configure and run the Constructive GraphQL server (cnc server), GraphiQL explorer (cnc explorer), and code generation (cnc codegen). Use when asked to "start the server", "run cnc server", "start GraphQL API", "run GraphiQL", "configure API routing", "generate types", or when working with the Constructive CLI and PostGraphile.
17constructive-boilerplate-nextjs-app
Set up and develop with the Constructive App frontend boilerplate — a Next.js application with authentication, organization management, invites, members, and a GraphQL SDK. Use when scaffolding a new Constructive frontend application from the boilerplate.
17