@se-studio/skills 1.9.1 → 1.9.3

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,19 @@
1
1
  # @se-studio/skills
2
2
 
3
+ ## 1.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - cms-edit can create draft banners, page variants, page tests, and custom types, and add alternate page content on a page variant. Banner, page test, and custom type are in the content catalog (schema v5) and open by label or slug. A page variant only accepts alternate page content. The core cms-edit skill documents the new commands.
8
+
9
+ ## 1.9.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Call `ensureNextDevFlightPatch()` from `@se-studio/project-build/patch-next-dev` at the top of each marketing app `next.config.ts`. That applies the dest Flight debug-info OOM patch for `pnpm dev`, `pnpm dev:dev`, and a raw `next dev`. `predev` does not run for the last two, which is what local smoke and cloud agents use. The helper no-ops on production builds.
14
+
15
+ Agent session and new-project skills tell agents to add that call before starting a dev server.
16
+
3
17
  ## 1.9.1
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/skills",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "description": "SE Studio agent skills for marketing site development with Contentful CMS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -4,6 +4,10 @@ This site runs **Next.js 16.3**. Before writing Next.js code, read the relevant
4
4
 
5
5
  After `pnpm skills:sync`, strip `AGENTS.md` / `CLAUDE.md` that sit next to a skill `SKILL.md`. Cursor always-applies those filenames; Vercel packs must stay on-demand.
6
6
 
7
+ ## Dev server (Flight OOM patch)
8
+
9
+ `next.config.ts` calls `ensureNextDevFlightPatch()` from `@se-studio/project-build/patch-next-dev` at the top. `pnpm dev`, `pnpm dev:dev`, and a raw `next dev` all load it (local and cloud). Do not add a manual patch step, and do not expect `predev` to cover `dev:dev`. If the call is missing, add it before starting the server.
10
+
7
11
  ## Agent session workflow
8
12
 
9
13
  **Load skill `site-workflows-agent-session` at the start of every coding session.**
@@ -456,9 +456,19 @@ cms-edit create taxonomy-from-json --json '{"tagTypes":[...]}' --if-not-exists
456
456
  cms-edit create tag-type --slug conference-venue --name "Conference Venue" --if-not-exists
457
457
  cms-edit create tag --slug asco-2025 --name "ASCO 2025" --tag-type conference-venue \
458
458
  --description "Annual ASCO conference." --featured-image <logoAssetId> --if-not-exists
459
+
460
+ # Site-wide and routing entries (drafts). See cms-edit help create-editor-entries.
461
+ cms-edit create banner --cms-label "Spring promo" --message "Free delivery this week"
462
+ cms-edit create page-test --cms-label "Home hero test" --control <pageId> --variant <pageVariantId>
463
+ cms-edit create page-variant --cms-label "Home B" --slug home-b --original-page /
464
+ cms-edit create custom-type --cms-label "People" --name "People" --slug people \
465
+ --index-page-name "Team" --index-page-title "Team" --index-page-description "The team" \
466
+ --featured-image <assetId>
459
467
  ```
460
468
 
461
- See `cms-edit help fields-taxonomy` and `cms-edit help taxonomy-from-json` for field reference and batch schema.
469
+ `create page-variant` and `create custom-type` open a session. Banner and page test do not. On an open page variant, the only `add` content type is `alternatePageContent` (`--source-id` required, optional `--replacement-id`). That content type is refused on a page or article, and a component is refused on a page variant.
470
+
471
+ See `cms-edit help fields-taxonomy`, `cms-edit help taxonomy-from-json`, and `cms-edit help create-editor-entries`.
462
472
 
463
473
  ## Person entries
464
474
 
@@ -839,7 +849,7 @@ cms-edit resolve 4xKj2abcDef
839
849
 
840
850
  ## Inventory & Status
841
851
 
842
- Use `list --type <type>` for inventory. Catalog types (page, article, pageVariant, template, taxonomy, navigation) use the local index. Use `--force-cma` for other types (person, customType, pageTest) or published-only with `--published`.
852
+ Use `list --type <type>` for inventory. Catalog types (page, article, pageVariant, template, taxonomy, navigation, banner, pageTest, customType) use the local index after `index sync`. Use `--force-cma` for types still outside the catalog (person) or published-only with `--published`.
843
853
 
844
854
  ```bash
845
855
  cms-edit list --type page
@@ -181,6 +181,10 @@ Portless prefixes the hostname with the **last segment of the branch name**. `fe
181
181
 
182
182
  Without the OS service, agents may get `https://<name>.localhost:1355` from an ad-hoc proxy — do not hardcode `:1355` in docs or cms-edit `devBaseUrl`.
183
183
 
184
+ ### Dev server — Flight OOM patch
185
+
186
+ Before the first `pnpm dev`, `pnpm dev:dev`, or raw `next dev` on a Next marketing app, `next.config.ts` must call `ensureNextDevFlightPatch()` from `@se-studio/project-build/patch-next-dev`. Next loads that file for all three, locally and on cloud VMs. `predev` does not run for `dev:dev` or a raw `next dev`. If the call is missing, add it. Do not add a manual patch step. cms-edit hosts and non-CMS apps (fleet-health, media-pipeline) do not need it.
187
+
184
188
  ### Gate — refuse primary-checkout feature work (local)
185
189
 
186
190
  If you are about to implement a feature locally and you are on the primary develop/dev checkout:
@@ -321,7 +321,11 @@ contentful space import \
321
321
  pnpm validate
322
322
  ```
323
323
 
324
- All TypeScript errors must be resolved. Then start the dev server to confirm the site runs:
324
+ All TypeScript errors must be resolved.
325
+
326
+ Confirm `next.config.ts` calls `ensureNextDevFlightPatch()` from `@se-studio/project-build/patch-next-dev` at the top. That is what applies the dest Flight OOM patch for `pnpm dev`, `pnpm dev:dev`, and a raw `next dev`. If the template copy lacks the call, add it before starting the server. Do not put the patch only in `predev`.
327
+
328
+ Then start the dev server to confirm the site runs:
325
329
 
326
330
  ```bash
327
331
  pnpm dev