@se-studio/skills 1.10.7 → 1.10.9

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.10.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 57f705d: A smoke case can list `cmsPageCheckExceptions` so named CMS chrome failures are ignored on that URL only. Other reasons and other cases still fail. PDFs and `/download/` paths are not chrome-checked.
8
+
9
+ ## 1.10.8
10
+
11
+ ### Patch Changes
12
+
13
+ - fabd80e: Smoke tests fail existing CMS page URLs when nav, footer, an h1, title, description, or the featured image is missing. A missing featured image is a failure, not a warning. 404 probes and non-page cases are unchanged.
14
+
3
15
  ## 1.10.7
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.10.7",
3
+ "version": "1.10.9",
4
4
  "description": "SE Studio agent skills for marketing site development with Contentful CMS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -279,6 +279,37 @@ Add `/llms.txt`, `/markdown-index.txt`, and `/site-info.md` to `route-build-poli
279
279
 
280
280
  `expectHtmlStatus` requires `@se-studio/site-check@^2.7.2`. Omit for normal 2xx HTML checks.
281
281
 
282
+ ### CMS page chrome (existing URLs)
283
+
284
+ `@se-studio/site-check` checks CMS page categories already in `smoke.cases.json` (home, page, article, person, tag, and listing categories). Do not add URLs for this. A 2xx page fails when any of these is missing:
285
+
286
+ | Check | Failure |
287
+ |-------|---------|
288
+ | `<nav>` | `cms_missing_nav` |
289
+ | `<footer>` | `cms_missing_footer` |
290
+ | non-empty `<h1>` | `cms_missing_h1` |
291
+ | non-empty `<title>` | `cms_missing_title` |
292
+ | meta `description` | `cms_missing_description` |
293
+ | featured image (`og:image`, `og:image:url`, or `twitter:image`) | `cms_missing_featured_image` |
294
+
295
+ A missing featured image **fails** the case. It is not a warning. 404 probes, other non-2xx statuses, non-page categories (robots, discovery), PDFs, and `/download/` paths are skipped. Real HTML pages stay checked. Do not recategorize a CMS page as `probe` to dodge a check.
296
+
297
+ To ignore one reason on one URL, set `cmsPageCheckExceptions` on that case. Other reasons on the same case still fail. Other cases are unchanged. Omit the field or use `[]` to keep the default. There is no site-wide skip.
298
+
299
+ ```json
300
+ {
301
+ "category": "page",
302
+ "label": "Contact",
303
+ "path": "/contact-us/",
304
+ "expectMarkdown": true,
305
+ "cmsPageCheckExceptions": ["cms_missing_featured_image", "cms_missing_h1"]
306
+ }
307
+ ```
308
+
309
+ Allowed values: `cms_missing_nav`, `cms_missing_footer`, `cms_missing_h1`, `cms_missing_title`, `cms_missing_description`, `cms_missing_featured_image`.
310
+
311
+ Customer sites get this when they bump `@se-studio/site-check` after the npm release. Do not copy the checks into a site-only script.
312
+
282
313
  ### Content assertions (release verification)
283
314
 
284
315
  Live / production smoke must assert **key blocks render**, not only HTTP 200 (release verification rule 2). Add optional `contentAssert` on representative cases: