Skip to content

Commit d375791

Browse files
authored
Merge pull request #1382 from constructive-io/feat/restore-starter-kits-skill
feat(skills): restore constructive-starter-kits router; skip workflows on docs-only edits
2 parents 89298a1 + 55398b9 commit d375791

9 files changed

Lines changed: 66 additions & 0 deletions

File tree

1.57 KB
Binary file not shown.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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

.agents/skills/pgpm.zip

1.89 KB
Binary file not shown.

.agents/skills/pgpm/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ Consult these reference files for detailed documentation on specific topics:
385385
## Cross-References
386386

387387
Related skills:
388+
- `constructive-starter-kits` — Project scaffolding router (`pgpm init` templates, Next.js boilerplate, template authoring); surfaces the Project Scaffolding references above under starter-kit/boilerplate trigger phrases
388389
- `constructive-testing` — PostgreSQL testing patterns (RLS, seeding, snapshots, JWT context)
389390
- `constructive-setup` — Monorepo setup and local development environment
390391
- `constructive-cli` — Generated CLI commands and scaffolding

.github/workflows/docker-constructive.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main
77
- v1
88
- release/*
9+
paths-ignore:
10+
- '**.md'
911
workflow_dispatch: {}
1012

1113
concurrency:

.github/workflows/examples-integration.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- 'examples/**'
77
- 'graphql/codegen/**'
8+
- '!**/*.md'
89
workflow_dispatch:
910

1011
jobs:

.github/workflows/notify-e2e.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ name: Notify E2E Tests
66
on:
77
push:
88
branches: [main]
9+
paths-ignore:
10+
- '**.md'
911

1012
jobs:
1113
trigger-tests:

.github/workflows/run-tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ on:
44
branches:
55
- main
66
- v1
7+
paths-ignore:
8+
- '**.md'
79
pull_request:
810
branches:
911
- main
1012
- v1
13+
paths-ignore:
14+
- '**.md'
1115
workflow_dispatch:
1216
workflow_call:
1317

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ The `.agents/skills/` directory contains tooling-focused skills for this monorep
144144
| Skill | Description | When to Use |
145145
|-------|-------------|-------------|
146146
| `pgpm` | PostgreSQL Package Manager — migrations, CLI, Docker, CI/CD, project scaffolding, table creation rules, DB export | Database migrations, workspace/module creation, `pgpm init`, deploy/revert |
147+
| `constructive-starter-kits` | Project scaffolding router — `pgpm init` templates, Next.js app boilerplate, custom template repos, boilerplate authoring (routes to the `pgpm` skill's scaffolding references) | Creating a new project, scaffolding a workspace/module, starting a boilerplate, setting up a Next.js app, authoring templates |
147148
| `constructive-pnpm` | PNPM workspace management — monorepo config, dist-folder publishing with makage/lerna, dependency management | Configuring pnpm workspaces, publishing packages, managing monorepo dependencies |
148149
| `constructive-setup` | Monorepo setup — install dependencies, start PostgreSQL, bootstrap users, build, run tests, local email services | Setting up the development environment, local dev, full pipeline |
149150
| `constructive-testing` | PostgreSQL testing frameworks — pgsql-test, drizzle-orm-test, supabase-test | Writing database tests, testing RLS policies, seeding test data |

0 commit comments

Comments
 (0)