@se-studio/skills 1.6.6 → 1.6.8

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.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - d74ec5c: Document Figma-as-absolute-gospel for new UI work in site-workflows-agent-session (until the user overrides).
8
+
9
+ ## 1.6.7
10
+
11
+ ### Patch Changes
12
+
13
+ - 325ef89: cms-edit hosted MCP Production is the marketing production branch (`main` / HSD `production`), not `develop`.
14
+
3
15
  ## 1.6.6
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.6.6",
3
+ "version": "1.6.8",
4
4
  "description": "SE Studio agent skills for marketing site development with Contentful CMS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,10 +30,10 @@ See [`workflow-snippet.yml`](workflow-snippet.yml). One skip job per Vercel proj
30
30
  Feature-branch PRs also trigger cms-edit Vercel projects. Skip builds outside integration branches via `ignoreCommand` in `cms-edit/host/vercel.json`:
31
31
 
32
32
  ```json
33
- "ignoreCommand": "if [ \"$VERCEL_GIT_COMMIT_REF\" != \"develop\" ] && [ \"$VERCEL_GIT_COMMIT_REF\" != \"main\" ]; then exit 0; fi; git diff HEAD^ HEAD --quiet -- . ../ ../../pnpm-lock.yaml ../../pnpm-workspace.yaml ../../package.json || exit 1; exit 0"
33
+ "ignoreCommand": "if [ \"$VERCEL_GIT_COMMIT_REF\" != \"main\" ]; then exit 0; fi; git diff HEAD^ HEAD --quiet -- . ../ ../../pnpm-lock.yaml ../../pnpm-workspace.yaml ../../package.json || exit 1; exit 0"
34
34
  ```
35
35
 
36
- Replace `develop` with your integration branch if the registry uses a different name.
36
+ HSD: use `production` instead of `main`. Skip `develop` and feature refs so cms-edit Production is not a Preview of `develop`.
37
37
 
38
38
  ## Rollout status
39
39
 
@@ -44,7 +44,7 @@ Replace `develop` with your integration branch if the registry uses a different
44
44
  | om1-website | audit | audit |
45
45
  | pedestal-sites | audit | audit |
46
46
  | pointme | audit | audit |
47
- | hsd | audit | audit (align ignoreCommand with `develop`) |
47
+ | hsd | audit | audit (align ignoreCommand with `production`) |
48
48
 
49
49
  Update this table when applying the pattern.
50
50
 
@@ -62,8 +62,13 @@ cms-edit open --id 4xKj2abcDef
62
62
 
63
63
  # Home page (slug is 'index')
64
64
  cms-edit open --page-slug /
65
+
66
+ # Include template menu/footer/nav (default open skips site chrome)
67
+ cms-edit open --include-chrome --page-slug /pricing
65
68
  ```
66
69
 
70
+ `open` / `peek` fetch the page (or article) tree and the template entry, but **not** template `menu` / `footer` / navigation. Edit nav with `nav open`. Pass `--include-chrome` only when you need those trees.
71
+
67
72
  **Flat lookup flags:** provide **exactly one** primary flag per `open` / `resolve` / `nav open`. See `cms-edit help lookup`. Run `cms-edit index sync` so catalog types resolve from the local index.
68
73
 
69
74
  ### Step 2: Read the snapshot
@@ -89,10 +89,11 @@ git commit -m "chore(cms-edit): regenerate editor pack"
89
89
 
90
90
  ### Customer repo with `cms-edit/host/` (SE Studio, Pedestal, Headwater, Brightline, …)
91
91
 
92
- Commit `editor-pack/` (and any other `cms-edit/**` changes), then push to the branch Vercel watches (usually `develop`). Changes under `cms-edit/**` trigger a host rebuild (`stage-site.mjs` copies committed artifacts on the Vercel build).
92
+ Commit `editor-pack/` (and any other `cms-edit/**` changes) and push **`develop`**. Hosted MCP Production is the marketing production branch (`main`, HSD `production`) — a **human** merge publishes. `ignoreCommand` skips `develop` and feature refs.
93
93
 
94
94
  ```bash
95
- git push origin develop # or the site's configured deploy branch
95
+ git push origin develop
96
+ # then hand off: human merges to main (HSD: production)
96
97
  ```
97
98
 
98
99
  Do **not** run `pnpm cms-edit:deploy` or `vercel deploy` after this step.
@@ -87,6 +87,7 @@ Standard order when diff shows these gaps:
87
87
  | 5 | `15-add-slug-regexp-validation.js` | Slug format validation |
88
88
  | 6 | `17-add-article-authors.js` | `article.authors` array + backfill from `author` |
89
89
  | 7 | `21-add-article-bottom-content.js` | `article.bottomContent` array (idempotent; clones `content` link types) |
90
+ | 8 | `25-add-meta-field.js` | Optional Long text `meta` JSON bag on template/page/article/tag/person and related types. Idempotent. Unused until filled. |
90
91
 
91
92
  Site-specific (run only when diff shows missing field **and** app uses it):
92
93
 
@@ -212,6 +212,22 @@ Record `cms_session: <feature-slug>` in manifest when doing CMS work.
212
212
  - **Do not** edit `se-core-product` unless placement is `core` and user approves mode switch
213
213
  - Consume `@se-studio/*` from npm — not monorepo workspace links
214
214
 
215
+ ### Figma is absolute gospel (new designs)
216
+
217
+ **Until the user explicitly says otherwise**, when implementing or polishing UI from a Figma file or node:
218
+
219
+ | Do | Do not |
220
+ |----|--------|
221
+ | Treat the named Figma node as the **source of truth** for structure, spacing, type, colour, radii, alignment, and control patterns | “Improve”, normalize, or restyle away from the comps to match older site patterns |
222
+ | Pull design context / screenshots from the owned Figma file before coding or “fixing” visuals | Prefer CMS draft copy, prior app screenshots, or memory of the live site over the comps |
223
+ | Match **pixel-faithfully** (including pills vs checkboxes/radios, hug vs full-width CTAs, card fills) | Ship “close enough” and wait for the user to notice |
224
+ | If Figma conflicts with an existing component or token, **follow Figma** and note the deviation | Silently keep the old pattern because it is already in the codebase |
225
+ | Verify in the browser against the Figma node (desktop + mobile when both exist) | Declare done from a single screenshot that does not match the node |
226
+
227
+ **Override:** Only diverge when the user clearly says so in the current conversation (e.g. “ignore Figma for the button”, “use site chrome instead”). Until that override, Figma wins.
228
+
229
+ **Related skills:** `site-workflows-figma-design-snapshot` / `site-workflows-apply-design-snapshot` for token sync; Figma MCP `get_design_context` for node-level implementation.
230
+
215
231
  ### Blocked work
216
232
 
217
233
  If manifest has `blocked_on: "@se-studio/foo@1.2.3"`, do not push customer `develop` until npm publish is confirmed. Update manifest when unblocked.