@se-studio/skills 1.9.4 → 1.9.6

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,17 @@
1
1
  # @se-studio/skills
2
2
 
3
+ ## 1.9.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Document that cms-edit `publish plan --id` is exact ids only. Use `--with-parents` (or open the parent/listing and `publish plan`) when those pages must republish so live listings are not stale.
8
+
9
+ ## 1.9.5
10
+
11
+ ### Patch Changes
12
+
13
+ - 4d64c03: Pin the fleet Next.js override to ^16.3.8 and pnpm 11.28.3 in the deps-update skill, and add Eagle to the deps registry.
14
+
3
15
  ## 1.9.4
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/skills",
3
- "version": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "description": "SE Studio agent skills for marketing site development with Contentful CMS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "canonicalPatchesScript": "~/source/se/se-core-product/scripts/check-no-pnpm-patches.mjs",
3
3
  "pinOverrides": {
4
- "next": "^16.3.1",
5
- "@types/node": "^24.13.3"
4
+ "next": "^16.3.8",
5
+ "@types/node": "^24"
6
6
  },
7
7
  "pnpm": {
8
8
  "major": 11,
@@ -89,6 +89,17 @@
89
89
  "workspace": true,
90
90
  "hasPinOverrides": false,
91
91
  "notes": "2026 stack. Integration develop; Vercel production tracks main. Public DNS still Bond/Netlify until cutover."
92
+ },
93
+ {
94
+ "key": "eagle",
95
+ "displayName": "Eagle Website",
96
+ "path": "~/source/customers/eaglecap/eagle-website",
97
+ "branch": "develop",
98
+ "productionBranch": "main",
99
+ "validate": "pnpm validate",
100
+ "workspace": true,
101
+ "hasPinOverrides": false,
102
+ "notes": "Checkout is eaglecap/eagle-website on develop. The agent-session registry path ~/source/customers/eagle/eagle-website does not exist on this machine."
92
103
  }
93
104
  ]
94
105
  }
@@ -21,7 +21,7 @@ Use this skill when you need to read or edit content in Contentful using **hoste
21
21
 
22
22
  **Edit a tree:** `open` → `export from-json` → edit JSON → `apply from-json` (`--staged` when over 8k). Tiny patches: `set` / `rtf` / `add` then `diff` → `save`. Long HtmlComponent fields: `kind=text` then `set --staged`.
23
23
 
24
- **Never publish.** Hosted MCP cannot see your disk — send JSON in the tool call **only if under 8192 bytes**.
24
+ **Do not publish while saving.** Hosted MCP cannot see your disk — send JSON in the tool call **only if under 8192 bytes**. Publish is a later plan, and only after the user says yes. `publish plan --id` publishes **only those ids** (no parent/listing republish). If a parent or listing page must go live so production is not stale, pass `--with-parents`, or open that page / `--from-session` and `publish plan` without `--id`.
25
25
 
26
26
  ## Safety Rules
27
27
 
@@ -32,9 +32,11 @@ Use this skill when you need to read or edit content in Contentful using **hoste
32
32
 
33
33
  All `save` operations create **draft** versions. A human must review and publish in Contentful.
34
34
 
35
- **Assets:** Upload **is** supported (`asset upload`). Default workflow: **search and reuse** existing assets first (`index sync` → `asset search`). When uploading:
36
- - **Raster/video:** `cms_edit_request_staged_upload` → curl → `cms_edit_media` prepare (`stagedUploadIds`) → wait → catalog → import with real alt. Never `asset upload --staged/--url/--base64` for jpeg/png/webp/gif/mp4.
37
- - **SVG/PDF/Lottie:** `cms_edit_request_staged_upload` → curl → `asset upload --staged` (never `--base64`)
35
+ **Assets:** Upload **is** supported (`asset upload`). Default workflow: **search and reuse** existing assets first (`index sync` → `asset search`). Search by concept (`asset search --concept` / `--concept-all`) finds a subject and a tone, including files no page uses yet. Concepts are not blog tags. When uploading:
36
+ - **Raster/video:** `cms_edit_request_staged_upload` → curl → `cms_edit_media` prepare → wait → catalog → import with real alt. Video, and an image master over 4MB, is a presigned direct PUT (100MB, `intake: direct`) then prepare with that URL. Smaller images still use `stagedUploadIds`. Never `asset upload --staged/--url/--base64` for jpeg/png/webp/gif/mp4. The stored asset is the processed file.
37
+ - **Replace** an existing id with `asset replace --url` of the processed `…/packs/…/ready/…` file (`--dry-run` first). The id and the file name stay. Draft. No publish flag.
38
+ - **SVG/PDF/Lottie:** `cms_edit_request_staged_upload` → curl → `asset upload --staged` (never `--base64`). 4MB function cap.
39
+ - **Title:** `asset set-title`. **Alt:** `asset set-description`, written from the picture. Do not emotion-score headshots, logos, icons, or illustrations.
38
40
  - **HtmlComponent / large JSON:** `cms_edit_request_staged_upload` with `kind=text` or `kind=json` → curl → `set --staged`, `rtf --staged`, `create from-json --staged`, or `apply from-json --staged`. Hosted MCP rejects inline `--json`/`--content` over 8192 bytes. If the wrapper schema has no `kind`, use `cms_edit` `["staged-upload", "request", "--kind", "json", "--file-name", "...", "--mime", "application/json"]` (or `--kind text`), then curl, then `--staged`.
39
41
  - Use a **sensible fileName** and **descriptive title** (and alt text where the site uses it)
40
42
  - Avoid oversized images — width over **2000px** is usually wasteful for web (exact limits vary by project; check `asset audit` / media review guidance)
@@ -376,9 +378,13 @@ cms-edit asset search --filename istockphoto-123.jpg
376
378
  cms-edit asset search --filename-match 'istockphoto-.*'
377
379
 
378
380
  # Raster/video: cms_edit_media prepare → wait → catalog → import (video: import only).
381
+ # Video and image masters over 4MB: direct intake (100MB), then prepare --https-urls.
379
382
  # Do not `asset upload` jpeg/png/webp/gif/mp4. Do not convert GIF/MP4 with local ffmpeg.
380
383
  # Animated GIF: leave as GIF; pipeline emits gif-converted MP4 for Media mute-loop, not featuredImage.
381
- # SVG/PDF/Lottie: cms_edit_request_staged_upload → curl → asset upload --staged
384
+ # SVG/PDF/Lottie: cms_edit_request_staged_upload → curl → asset upload --staged (4MB)
385
+ # Replace in place: asset replace <id> --url <processed ready url> --dry-run
386
+ # Title: asset set-title. Alt: asset set-description. Concepts: asset concept assign (not taxonomy-from-json)
387
+ # Concept search: asset search --concept <id> --concept-all <id>
382
388
 
383
389
  # Create a Media wrapper for an existing asset (name defaults to asset title)
384
390
  cms-edit create media --asset-id <asset-id>
@@ -394,7 +400,7 @@ cms-edit asset info 5xKj2abcDef
394
400
  cms-edit asset set @c0 visual 5xKj2abcDef
395
401
  ```
396
402
 
397
- JSON output for upload (`CMS_EDIT_JSON=1`): `{ ok, id, fileName, url, mediaId?, mediaIds? }`. Max upload size is **10MB** per file.
403
+ JSON output for upload (`CMS_EDIT_JSON=1`): `{ ok, id, fileName, url, mediaId?, mediaIds? }`. Bytes through the process are **10MB**. Hosted function POST is **4MB**. Video and large image masters are **100MB** direct-to-storage, then the pipeline.
398
404
 
399
405
  **Idempotent upload:** `--if-exists-by-filename` is check-then-create. Do not upload the same `fileName` in parallel — serialize per fileName or re-run to converge.
400
406
 
@@ -576,7 +582,7 @@ cms-edit diff
576
582
 
577
583
  # 7. Save as draft
578
584
  cms-edit save
579
- # → "Saved 1 entry as draft. A human must publish for changes to go live."
585
+ # → "Saved 1 entry as draft. Publish only if the user asks, with publish plan and an explicit yes."
580
586
  ```
581
587
 
582
588
  ## Common Patterns
@@ -828,7 +834,7 @@ Use `"components"` not `"content"`. Nested discriminator is `"type"` not `"compo
828
834
  - String `fields` values become Rich Text when they auto-detect as Markdown (same heuristic), HTML (tag-like), or Rich Text JSON (`nodeType: document`). Otherwise strings stay as-is — use `{ "value": "…", "format": "text"|"markdown"|"html"|"json" }` or `cms-edit rtf` with `--text|--markdown|--html|--rtf-json`.
829
835
  - `target` sets which content array to use: `topContent`, `content` (default), or `bottomContent`.
830
836
  - Slugs must not have a trailing slash — `from-json` strips it with a warning, but avoid it in source JSON.
831
- - All entries are created as **drafts**. A human must publish in Contentful.
837
+ - All entries are created as **drafts**. Publish later with `publish plan`, then `publish apply` only after the user says yes. With `--id`, add `--with-parents` when parent/listing pages must republish.
832
838
  - `--dry-run` prints the full plan without writing anything.
833
839
 
834
840
  ## Find Existing Entries (for existingId)
@@ -857,7 +863,14 @@ cms-edit list --type article --sort date -n 20
857
863
  cms-edit index dump --reference-only # Full catalog snapshot in terminal
858
864
  ```
859
865
 
860
- **Note on bulk publish:** The tool cannot publish entries — all saves create drafts only. This is intentional. Review and publish drafts from the Contentful web app.
866
+ **Note on publish:** Saves create drafts. Then `publish plan`, then `publish apply --plan <id>` only after the user says yes.
867
+
868
+ - **Open page** or `--from-session`: publishes that page's draft and what it needs (linked drafts, then the page). The page publish is what refreshes the live URL.
869
+ - **`--id`**: publishes **only the named ids**. Repeat `--id` for more than one. It does **not** walk linked drafts or parent/listing pages, so those live pages can stay stale.
870
+ - **`--id` + `--with-parents`**: opts into the parent walk (linked drafts and upstream pages). Use this whenever a parent or listing page must republish. Equivalent: open the parent/listing and `publish plan` without `--id`.
871
+ - **`--content-type schema`** (and other webhook types): publishes those entries; pages that use them are not republished.
872
+
873
+ If someone else also changed an entry, ask all versus mine and `publish choose`. The Contentful role must allow it. Unpublish, archive, and revalidate use the same plan-then-yes rule. Do not apply a plan on your own.
861
874
 
862
875
  ## Concurrent Sessions
863
876
 
@@ -60,11 +60,11 @@ Capability playbooks require:
60
60
  1. **Propose** scope to the user — wait for approval
61
61
  2. **Dry-run** when available (`--dry-run`, `bulk-rtf-replace --dry-run`, etc.)
62
62
  3. **`diff`** before every `save`
63
- 4. **Summarize** what changed; remind that publish is manual in Contentful
63
+ 4. **Summarize** what changed; remind that publish is a later `publish plan` after an explicit yes. `publish plan --id` is exact ids only — if a parent or listing page must go live, use `--with-parents` (or open that page and `publish plan`). See `task-publish-handoff`.
64
64
 
65
65
  ## Media default
66
66
 
67
- **Search and reuse assets first** (`index sync` → `asset search`). Upload only when no match; use `--if-exists-by-filename` when uploading.
67
+ **Search and reuse assets first** (`index sync` → `asset search`). Search by concept (`--concept`, `--concept-all`) finds a subject and a tone. Concepts are not blog tags. Upload only when no match; use `--if-exists-by-filename` when uploading. Replace an in-use file with `asset replace` so the id and the file name stay. Alt is `asset set-description`, written from the picture. Do not emotion-score headshots, logos, icons, or illustrations.
68
68
 
69
69
  **Space-wide media audit** (filename, alt, size, dimensions, usage) → read **`task-media-review`**, then skill **`contentful-cms-media-review`** for the spreadsheet.
70
70
 
@@ -52,6 +52,8 @@ Run that locally **before push** whenever `package.json`, lockfile, or overrides
52
52
  | `pointme` | PointMe Marketing Site | `develop` |
53
53
  | `pedestal` | Pedestal Sites | `develop` |
54
54
  | `hsd` | HopSkipDrive | `develop` |
55
+ | `highlander` | Highlander Health | `develop` |
56
+ | `eagle` | Eagle Website | `develop` |
55
57
 
56
58
  User may name a key (`update deps in om1`) or ask to run through all projects sequentially.
57
59
 
@@ -101,8 +103,8 @@ minimumReleaseAgeExclude:
101
103
  - '@se-studio/*'
102
104
 
103
105
  overrides:
104
- next: ^16.3.1
105
- '@types/node': ^24.13.2
106
+ next: ^16.3.8
107
+ '@types/node': ^24
106
108
  ```
107
109
 
108
110
  Every repo that runs **hoisted frozen install** (cms-edit host on Vercel, `check-lockfile-sync.sh` hoisted job) **must** also record Linux optional natives in the lockfile. Generate the lockfile on macOS with:
@@ -149,8 +151,8 @@ Marketing sites run **Next.js 16.3**. Version-matched docs live in each app’s
149
151
  Bump the package manager to the **latest pnpm 11.x** in root `package.json`:
150
152
 
151
153
  ```bash
152
- corepack use pnpm@11.9.0
153
- # Or: LATEST=$(npm view pnpm@11.9.0 version) && corepack use pnpm@${LATEST}
154
+ corepack use pnpm@11.28.3
155
+ # npm latest is pnpm 12. Do not use `pnpm@latest`. Newest 11.x: npm view pnpm@11 version
154
156
  pnpm -v # confirm matches packageManager
155
157
  ```
156
158
 
@@ -191,7 +193,7 @@ pnpm update -r \
191
193
  Safety re-pin after update:
192
194
 
193
195
  ```bash
194
- pnpm update -r next@^16.3.1 @types/node@^24
196
+ pnpm update -r next@^16.3.8 @types/node@^24
195
197
  pnpm install
196
198
  ```
197
199
 
@@ -62,8 +62,8 @@ minimumReleaseAgeExclude:
62
62
  - '@se-studio/*'
63
63
 
64
64
  overrides:
65
- next: ^16.3.1
66
- '@types/node': ^24.13.2
65
+ next: ^16.3.8
66
+ '@types/node': ^24
67
67
  ```
68
68
 
69
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`.