@se-studio/skills 1.7.3 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @se-studio/skills
2
2
 
3
+ ## 1.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - All marketing sites are on Next 16.3: drop the PointMe 15.5 deps exception, require `supportedArchitectures` in new-project bootstrap, and point agents at version-matched `nextjs-agent-rules` instead of the Next 15 `agents-md` docs dump.
8
+
3
9
  ## 1.7.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/skills",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "SE Studio agent skills for marketing site development with Contentful CMS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,7 @@
1
+ ## Next.js docs (version-matched)
2
+
3
+ This site runs **Next.js 16.3**. Before writing Next.js code, read the relevant guide in `node_modules/next/dist/docs/` (in monorepos, resolve from the app that depends on `next`). Keep the managed `<!-- BEGIN:nextjs-agent-rules -->` block in `AGENTS.md`. Do **not** use `npx @next/codemod agents-md`, `.next-docs`, or `NEXT-AGENTS-MD-START` (Next 15 index: Pages Router, `middleware.ts`). Ignore `vercel-react-native-skills` if the vercel-labs pack installed it.
4
+
1
5
  ## Agent session workflow
2
6
 
3
7
  **Load skill `site-workflows-agent-session` at the start of every coding session.**
@@ -54,13 +54,13 @@ Use `pnpm install --no-frozen-lockfile` only when intentionally repairing the lo
54
54
 
55
55
  Apply the full stack when touching deps or CI in each repo:
56
56
 
57
- | Repo | Pre-commit | CI develop/dev | CI hoisted | Vercel frozen (marketing) |
58
- |------|------------|----------------|------------|---------------------------|
59
- | brightline-sites | yes | yes | yes | yes |
60
- | pedestal-sites | — | partial | — | no |
61
- | om1-website | — | — | — | — |
62
- | se-website-2026 | yes | yes | yes | yes |
63
- | pointme | — | — | — | — |
64
- | hsd (`develop-hsd-website`; prod human-only: `production-hsd-website`) | yes | yes (develop) | n/a | yes |
65
-
66
- Update this table as repos adopt the pattern.
57
+ | Repo | Pre-commit | CI integration branch | CI hoisted | Vercel frozen (marketing) | Vercel cms-edit hoisted |
58
+ |------|------------|----------------------|------------|---------------------------|-------------------------|
59
+ | brightline-sites | yes | develop | yes | yes | yes |
60
+ | pedestal-sites | yes | develop | yes | yes | yes |
61
+ | om1-website | yes | develop | yes | yes | yes |
62
+ | se-website-2026 | yes | develop | yes | yes | yes |
63
+ | pointme | yes | develop | yes | yes | yes |
64
+ | hsd (`develop-hsd-website`; prod human-only: `production-hsd-website`) | yes | develop (+ `extended-port`) | yes | yes | yes |
65
+
66
+ Update this table as repos adopt the pattern. Every cms-edit host `pnpm-workspace.yaml` must include `supportedArchitectures` (current + linux, x64, glibc).
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: site-workflows-deps-update
3
- description: "Update npm dependencies to latest across se-core-product and consumer SE Studio sites, one repo at a time. Pins Next.js 16.3 and Node 24, updates pnpm to latest 11.x, enforces no pnpm patches everywhere. Validates, commits, and pushes to dev/develop. PointMe stays on Next 15.5 until its dedicated upgrade. Use when asked to update outdated packages or bump dependencies."
3
+ description: "Update npm dependencies to latest across se-core-product and consumer SE Studio sites, one repo at a time. Pins Next.js 16.3 and Node 24, updates pnpm to latest 11.x, enforces no pnpm patches everywhere. Validates, commits, and pushes to dev/develop. Use when asked to update outdated packages or bump dependencies."
4
4
  ---
5
5
 
6
6
  # SE dependency update (one project at a time)
@@ -11,7 +11,7 @@ Update npm dependencies to **latest** in se-core-product and consumer repos that
11
11
 
12
12
  **Default:** Process **one repo per invocation**. At the end, summarize changes and offer the next project.
13
13
 
14
- **Never:** push to `main`/`master`/`production` or any production branch; promote from production checkouts (e.g. HSD `production-hsd-website`); bump Next to 17; bump Node to 25+; use `pnpm patch` / `patchedDependencies` / `patches/`; bypass or remove `minimumReleaseAge`; **hand-edit `package.json` dependency versions** (use `pnpm update` instead). Production promotion is **human-only** for all customer sites. **PointMe:** keep `overrides.next` on `^15.5.x` until the Next 16 site wave — do not pull it to 16 during a routine deps update.
14
+ **Never:** push to `main`/`master`/`production` or any production branch; promote from production checkouts (e.g. HSD `production-hsd-website`); bump Next to 17; bump Node to 25+; use `pnpm patch` / `patchedDependencies` / `patches/`; bypass or remove `minimumReleaseAge`; **hand-edit `package.json` dependency versions** (use `pnpm update` instead). Production promotion is **human-only** for all customer sites. All marketing sites pin `overrides.next` to `^16.3.x`.
15
15
 
16
16
  ---
17
17
 
@@ -126,12 +126,21 @@ Without this, isolated `pnpm install` on darwin can omit snapshots such as `@rol
126
126
  - **`minimumReleaseAge: 1440`** — do not install packages published in the last 24 hours (supply-chain guard).
127
127
  - **`@se-studio/*` exclude** — our own packages may update immediately after npm publish.
128
128
  - **Keep repo-specific additional excludes** when present (e.g. vitest pins in se-core-product, `@emnapi/runtime` in se-website-2026, PointMe `mapbox-gl` / `react-day-picker` overrides).
129
- - **PointMe exception:** leave `next: ^15.5.x` until that site’s Next 16 wave.
129
+ - **PointMe:** keep extra overrides (`mapbox-gl`, `react-day-picker`, `caniuse-lite`) — still pin `next: ^16.3.x` like every other site.
130
130
 
131
131
  `pnpm update -r --latest` would bump `next` past the supported 16.3 line and `@types/node` → 26 without the overrides block. The overrides prevent that.
132
132
 
133
133
  **Never bypass `minimumReleaseAge`** during dependency updates. Do not remove the block, comment it out, or use undocumented pnpm flags. If a non-`@se-studio` package was published within 24 hours, it stays at the current version until it ages out — note that in the report and re-run later if needed.
134
134
 
135
+ ### Next.js 16 agent docs (do not use the Next 15 dump)
136
+
137
+ Marketing sites run **Next.js 16.3**. Version-matched docs live in each app’s `node_modules/next/dist/docs/` (the `next` package may not be visible from a monorepo root).
138
+
139
+ - **Keep** the managed `<!-- BEGIN:nextjs-agent-rules -->` block that `next dev` writes in `AGENTS.md`.
140
+ - **Do not** run `npx @next/codemod agents-md` or restore `NEXT-AGENTS-MD-START` / `.next-docs` — that index is Next 15 (Pages Router, `middleware.ts`, upgrade guides only through v15).
141
+ - Cursor’s Vercel plugin **`nextjs`** skill is fine for App Router patterns; it is not a substitute for `node_modules/next/dist/docs/`.
142
+ - After `npx skills add vercel-labs/agent-skills`, **delete `vercel-react-native-skills`** — these are web sites. Do not treat React Native skills as Next guidance.
143
+
135
144
  ---
136
145
 
137
146
  ## Step 4 — Update pnpm (all repos)
@@ -236,7 +245,7 @@ Include in the summary:
236
245
 
237
246
  - Major dependency bumps (from the Step 1 audit diff)
238
247
  - pnpm version: before → after
239
- - Confirmed pins: Next 16.3.x (PointMe: Next 15.5.x until its upgrade), Node 24, `@types/node` ^24
248
+ - Confirmed pins: Next 16.3.x, Node 24, `@types/node` ^24
240
249
  - Confirmed `minimumReleaseAge: 1440` and `@se-studio/*` exclude present
241
250
  - Packages still outdated because they are inside the 24-hour release window (if any)
242
251
  - Patches check bootstrapped (yes/no)
@@ -274,6 +283,7 @@ See [`references/lockfile-sync/README.md`](../../references/lockfile-sync/README
274
283
  | Issue | Action |
275
284
  |-------|--------|
276
285
  | `ERR_PNPM_OUTDATED_LOCKFILE` on frozen/hoisted install | `package.json` and `pnpm-workspace.yaml` overrides out of sync with lockfile — re-run `pnpm update` for the package and align `overrides` |
286
+ | `ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY` (`rollup-linux-*`, Sharp, etc.) on hoisted frozen install | Missing `supportedArchitectures` (current + linux, x64, glibc) — add the Step 3 block, run `pnpm install`, then re-verify hoisted |
277
287
  | `next` or `@types/node` still outdated to wrong major | Re-run overrides + safety re-pin; check `pnpm-workspace.yaml` overrides |
278
288
  | Non-`@se-studio` package still outdated after update | Likely within 24h of npm publish — wait and re-run; **do not** bypass `minimumReleaseAge` |
279
289
  | `corepack use` fails | Run `corepack enable` once, retry |
@@ -40,6 +40,36 @@ After cleanup, `pnpm validate` must pass before continuing.
40
40
 
41
41
  ---
42
42
 
43
+ ## Step 2b — Workspace install policy (`pnpm-workspace.yaml`)
44
+
45
+ Merge these into the existing file (do not wipe `packages`, `allowBuilds`, or other keys). Canonical copy: skill `site-workflows-deps-update` Step 3.
46
+
47
+ ```yaml
48
+ # Record linux-x64/glibc optional natives (cms-edit Vercel + hoisted frozen install).
49
+ supportedArchitectures:
50
+ os:
51
+ - current
52
+ - linux
53
+ cpu:
54
+ - current
55
+ - x64
56
+ libc:
57
+ - current
58
+ - glibc
59
+
60
+ minimumReleaseAge: 1440
61
+ minimumReleaseAgeExclude:
62
+ - '@se-studio/*'
63
+
64
+ overrides:
65
+ next: ^16.3.1
66
+ '@types/node': ^24.13.2
67
+ ```
68
+
69
+ Then `pnpm install` (not frozen) so the lockfile records linux optional snapshots. Confirm `AGENTS.md` uses `nextjs-agent-rules` (Next 16 `node_modules/next/dist/docs/`), not `NEXT-AGENTS-MD-START` / `.next-docs`.
70
+
71
+ ---
72
+
43
73
  ## Step 3 — Update project identity in `src/lib/constants.ts`
44
74
 
45
75
  Read `src/lib/constants.ts` and update:
@@ -84,6 +114,8 @@ This version has breaking changes — APIs, conventions, and file structure may
84
114
 
85
115
  This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.
86
116
 
117
+ Do **not** replace this with `npx @next/codemod agents-md` (Next 15 `.next-docs` index).
118
+
87
119
  <!-- END:nextjs-agent-rules -->
88
120
 
89
121
  <!-- BEGIN:se-studio-package-rules -->