@se-studio/skills 1.10.25 → 1.10.27
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 +12 -0
- package/package.json +1 -1
- package/references/deployment-smoke-feature-branch-skip/README.md +2 -21
- package/references/lockfile-sync/README.md +1 -1
- package/skills/coding-discipline/SKILL.md +1 -1
- package/skills/contentful-cms-regenerate-editor-pack/SKILL.md +11 -21
- package/skills/screaming-frog-audit/SKILL.md +31 -2
- package/skills/screaming-frog-audit/references/profiles.md +2 -2
- package/skills/site-workflows-deps-update/SKILL.md +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @se-studio/skills
|
|
2
2
|
|
|
3
|
+
## 1.10.27
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f8adb5d: Add Screaming Frog 25 JSON profiles for a quick production check, a thorough metadata and social check, and a production-versus-develop compare. The weekly fleet crawl uses the thorough profile and no longer depends on the old binary config files.
|
|
8
|
+
|
|
9
|
+
## 1.10.26
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- db5d98b: Document that customer cms-edit MCP runs on the shared cms-edit-host. Editor-pack regen no longer scaffolds or deploys a per-site host.
|
|
14
|
+
|
|
3
15
|
## 1.10.25
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -34,28 +34,9 @@ Use `client_payload.git.ref` (branch name, not `refs/heads/...` — verify per p
|
|
|
34
34
|
|
|
35
35
|
See [`workflow-snippet.yml`](workflow-snippet.yml). One skip job per Vercel project / workflow file (monorepos with multiple marketing apps need one skip job each).
|
|
36
36
|
|
|
37
|
-
## cms-edit
|
|
37
|
+
## cms-edit
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
```json
|
|
42
|
-
"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"
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
HSD: use `production` instead of `main`. Skip `develop` and feature refs so cms-edit Production is not a Preview of `develop`.
|
|
46
|
-
|
|
47
|
-
## Rollout status
|
|
48
|
-
|
|
49
|
-
| Repo | Skip job on feature branches | cms-edit ignore |
|
|
50
|
-
|------|------------------------------|-----------------|
|
|
51
|
-
| brightline-sites | done (both apps) | done |
|
|
52
|
-
| se-website-2026 | pending → M4 branch | pending |
|
|
53
|
-
| om1-website | audit | audit |
|
|
54
|
-
| pedestal-sites | audit | audit |
|
|
55
|
-
| pointme | audit | audit |
|
|
56
|
-
| hsd | audit | audit (align ignoreCommand with `production`) |
|
|
57
|
-
|
|
58
|
-
Update this table when applying the pattern.
|
|
39
|
+
Customer repos do not ship a cms-edit Vercel project. The shared host is `apps/cms-edit-host` in se-core-product. Its `vercel.json` already skips builds except the tracking branch (`main` in production, `dev` on `cms-edit-host-dev`). Do not add `cms-edit/host/vercel.json` to a customer repo.
|
|
59
40
|
|
|
60
41
|
## Emergency unblock (one PR)
|
|
61
42
|
|
|
@@ -21,7 +21,7 @@ Keep `pnpm-lock.yaml` aligned with every `package.json` and `pnpm-workspace.yaml
|
|
|
21
21
|
See [`validate-workflow-snippet.yml`](validate-workflow-snippet.yml). Customer monorepos should:
|
|
22
22
|
|
|
23
23
|
1. Run validate on **`develop`** (or your integration branch), not only `main`.
|
|
24
|
-
2. Add a parallel `lockfile-hoisted` job when
|
|
24
|
+
2. Add a parallel `lockfile-hoisted` job when the repo already installs with `node-linker=hoisted`. Customer repos do not contain `cms-edit/host`.
|
|
25
25
|
|
|
26
26
|
## Vercel
|
|
27
27
|
|
|
@@ -86,7 +86,7 @@ Use these commands from the **repository root**:
|
|
|
86
86
|
| Install dependencies | `pnpm install` |
|
|
87
87
|
| Build all packages (required before dev) | `pnpm build` |
|
|
88
88
|
| Run dev (packages) | `pnpm dev` |
|
|
89
|
-
| Run a specific app | `pnpm --filter example-empty dev` (https://example.localhost), `pnpm --filter cms-edit-host dev` (https://cms-edit.localhost
|
|
89
|
+
| Run a specific app | `pnpm --filter example-empty dev` (https://example.localhost), `pnpm --filter cms-edit-host dev` (https://cms-edit.localhost). Production MCP for every customer is Vercel project `cms-edit-host`, not a `cms-edit/host` folder in the customer repo. Customer sites run from their own repos — see `docs/RELATED_PROJECTS.md`. |
|
|
90
90
|
| Run all apps (except ignored) | `pnpm dev:apps` or `cd apps && pnpm dev` (ignore via `SITEMAP_VALIDATE_IGNORE=true` in app’s `.env.local`) |
|
|
91
91
|
| Sitemap validate (prod vs portless `pnpm dev`) | Per app: `pnpm sitemap-validate` in app dir (needs `portless service install` + `pnpm dev`). Bulk: `pnpm sitemap-validate:all`. Set `SITEMAP_PROD_URL` in `.env.local`; build site-check first. |
|
|
92
92
|
| Smoke test (local) | Per app: `pnpm smoke-test` (`dev:dev` + HTTP on localhost port), `pnpm smoke-test:audit`, `pnpm smoke-test:cache` (`start:dev`). Uses `smoke.cases.json`; no Contentful. Regenerates: skill `se-marketing-sites-smoke-test-setup`. Set `SMOKE_TEST_IGNORE=true` to skip. |
|
|
@@ -23,17 +23,20 @@ Run after any of these change:
|
|
|
23
23
|
|
|
24
24
|
**Also run** at the end of **`contentful-cms-update-cms-guidelines`** (`fresh` or `sync`) when guidelines changed.
|
|
25
25
|
|
|
26
|
-
## What
|
|
26
|
+
## What a push does
|
|
27
27
|
|
|
28
28
|
| Action | Automatic on git push? |
|
|
29
29
|
|--------|------------------------|
|
|
30
|
-
|
|
|
30
|
+
| Publish the **committed** `editor-pack/` as a GitHub Release | Only if that repo’s pack workflow runs on the paths you changed |
|
|
31
|
+
| Serve that Release from the shared host | A tenant on `packTag` `latest` picks it up within the host TTL. An exact pin does not move until the registry and `CMS_EDIT_TENANT_REGISTRY_JSON` change and `cms-edit-host` redeploys. |
|
|
31
32
|
| Run `editor-pack generate` | **No** — always manual (this skill) |
|
|
32
|
-
| Update
|
|
33
|
+
| Update the MCP runtime | Only when `@se-studio/contentful-cms` ships on `se-core-product` `main` and `cms-edit-host` deploys. A customer package bump updates the CLI, not the live server. |
|
|
33
34
|
|
|
34
|
-
Editors do **not** reconnect
|
|
35
|
+
Editors do **not** reconnect when only the editor pack changes.
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
Customer repos do not contain `cms-edit/host`. Do not scaffold one, and do not run `pnpm cms-edit:stage` or `pnpm cms-edit:deploy`.
|
|
38
|
+
|
|
39
|
+
The shared host's `apps/cms-edit-host/scripts/stage-site.mjs` calls `stageEditorPack` (not `cms-edit host stage`). Customer repos do not run it.
|
|
37
40
|
|
|
38
41
|
## Step 1 — Locate config
|
|
39
42
|
|
|
@@ -87,26 +90,13 @@ git commit -m "chore(cms-edit): regenerate editor pack"
|
|
|
87
90
|
|
|
88
91
|
## Step 6 — Publish (commit + push; CI owns GitHub Releases)
|
|
89
92
|
|
|
90
|
-
**Absolute rule
|
|
93
|
+
**Absolute rule:** the hosted MCP is `apps/cms-edit-host` on Vercel project `cms-edit-host`. Never publish it with `vercel deploy`, `pnpm cms-edit:deploy*`, or `deploy-cms-edit-host.sh`. Never add `cms-edit/host/` to a customer repo.
|
|
91
94
|
|
|
92
|
-
|
|
95
|
+
Customer CI publishes the committed pack as a GitHub Release (`editor-pack.tar.gz`) via `Something-Else-Studio/se-core-product/.github/workflows/cms-edit-pack-publish.yml`. Agents do **not** run `gh release create` (or treat the printed command from `cms-edit host pack-publish` as something to execute) unless Nick explicitly asks. Do **not** regenerate the pack in CI. Tags are immutable (`cms-edit-pack-<projectKey>-v<version>`). A tenant on `packTag: latest` serves the new Release within the host TTL. An exact `packTag` still pins until someone changes the fixture and the Vercel env `CMS_EDIT_TENANT_REGISTRY_JSON`, then redeploys. Do not set `latest` in that env before the host that understands it is deployed.
|
|
93
96
|
|
|
94
97
|
See `packages/contentful-cms/HOSTED.md` (Option C section) for the caller workflow sketch.
|
|
95
98
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
Commit `editor-pack/` (and any other `cms-edit/**` changes) and push **`develop`**. Hosted MCP Production is the marketing production branch (`main`, HSD `production`). Merge there only after ask + confirm (`production-merge.md`). `ignoreCommand` skips `develop` and feature refs.
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
git push origin develop
|
|
102
|
-
# then production-merge.md: human asks, agent confirms, then merge to main (HSD: production)
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
Do **not** run `pnpm cms-edit:deploy` or `vercel deploy` after this step.
|
|
106
|
-
|
|
107
|
-
### Customers without `cms-edit/host/` in their repo
|
|
108
|
-
|
|
109
|
-
Rare layout — coordinate with the repo owner. Agents still must not run deploy scripts unless explicitly asked. For Option C tenants, pack publish still goes through customer CI → GitHub Release (same reusable workflow), not a local `gh release create`.
|
|
99
|
+
Commit `editor-pack/` and push **`develop`**. That push publishes a pack when the repo has the workflow. It does not deploy the MCP. Marketing production (`main`, HSD `production`) is a separate merge and still needs `production-merge.md`.
|
|
110
100
|
|
|
111
101
|
## Homepage slug reminder
|
|
112
102
|
|
|
@@ -9,7 +9,7 @@ Use when the user wants a Screaming Frog crawl, before/after deployment comparis
|
|
|
9
9
|
|
|
10
10
|
**Requires:** Screaming Frog SEO Spider (licensed), **database storage mode** (default with `--save-crawl`).
|
|
11
11
|
|
|
12
|
-
**Config:** each app's `seo/screaming-frog.json`
|
|
12
|
+
**Config:** each app's `seo/screaming-frog.json` points at a crawl. Shared SEO Spider 25 JSON profiles live in `@se-studio/site-check` (`screaming-frog/profiles/`). Generate a file before a crawl. Do not commit a Vercel bypass header.
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -59,6 +59,33 @@ Prioritized P0–P3 report from a single crawl export.
|
|
|
59
59
|
|
|
60
60
|
---
|
|
61
61
|
|
|
62
|
+
## Scenarios
|
|
63
|
+
|
|
64
|
+
Three shared JSON profiles. The Sunday fleet uses `thorough` through the headless CLI. Interactive checks use the Screaming Frog MCP against the same files. The MCP talks to the GUI, and the GUI shares a database lock with the CLI, so do not run them at the same time.
|
|
65
|
+
|
|
66
|
+
| Scenario | Use |
|
|
67
|
+
|---|---|
|
|
68
|
+
| `quick` | Production. Internal and external links, response codes, canonicals, redirects. No schema or Open Graph extraction. |
|
|
69
|
+
| `thorough` | Production. `quick`, plus titles, meta descriptions, H1, image alt text, Open Graph, and Schema.org / rich-result validation. This is the Sunday crawl. |
|
|
70
|
+
| `compare` | Same extraction as `thorough`, crawled twice (production, then develop). Develop gets `x-vercel-protection-bypass` from the environment at generation time. Then native `--crawl-comparison`. |
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
site-check-screaming-frog write-config --scenario thorough --out ~/spider/generated/se2026-thorough.json
|
|
74
|
+
site-check-screaming-frog write-config --scenario compare --out ~/spider/generated/pointme-compare.json --overlay pointme-compare --bypass-env VERCEL_PROTECTION_BYPASS_TOKEN
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
`pointme-compare` is list mode, one request per second, and excludes `/c/` and `/flights/`. The Sunday Point.me crawl stays a normal spider of `https://www.point.me/`. A failed Point.me fleet crawl retries once with `--slow`.
|
|
78
|
+
|
|
79
|
+
### MCP
|
|
80
|
+
|
|
81
|
+
1. The GUI must be the process holding the database. Quit a headless CLI crawl first.
|
|
82
|
+
2. Generate the JSON. Pass that path as `config_path`. Do not hand-edit a one-off config.
|
|
83
|
+
3. `sf_set_crawl_mode` `SPIDER`, or `LIST` for the Point.me compare. `sf_clear_crawl` when a crawl is already loaded.
|
|
84
|
+
4. `sf_crawl` (or `sf_crawl_from_list`) with `project_name` and `crawl_name` `<site> <scenario> <production|develop>`.
|
|
85
|
+
5. Poll `sf_crawl_progress` until `crawlRunning` is false and post-crawl analysis is complete. The crawl tool returns when the crawl starts.
|
|
86
|
+
6. Compare: crawl both hosts, read the ids from `sf_list_crawls`, then `site-check-screaming-frog compare <develop-id> <production-id>`. There is no compare tool on the MCP.
|
|
87
|
+
7. A crawl that dies after the start URL: call `sf_check_faq_before_answering` before explaining it.
|
|
88
|
+
|
|
62
89
|
## Fleet production audit
|
|
63
90
|
|
|
64
91
|
From se-core-product, crawl every marketing production site and write P0–P3 reports. One site at a time. Quit the Screaming Frog GUI first.
|
|
@@ -77,7 +104,9 @@ pnpm seo:screaming-frog:fleet -- --delta-only ~/spider/fleet-audits/2026-10-25
|
|
|
77
104
|
|
|
78
105
|
`--install-agent` loads a user LaunchAgent (`studio.se.screaming-frog-fleet`) for Sunday 07:00 local time. Install it from the primary `dev` checkout after this script is on `dev`. If `XAI_API_KEY` is set in that shell, the agent plist stores it for the brief. Reinstall only after the code is on `dev`, and point the agent at that checkout.
|
|
79
106
|
|
|
80
|
-
Start URL: the manifest `production` profile. When
|
|
107
|
+
Start URL: the manifest `production` profile, or cms-edit `productionSiteUrl` when that profile has no URL. When the profile is a `*.vercel.app` alias and cms-edit `productionSiteUrl` is a public host, the public host is crawled. Eagle stays on its configured Vercel production URL. Highlander's public host stays `https://www.highlanderhealth.com/` until DNS cutover. Preview-only issue downgrades (noindex, preview robots) are not applied.
|
|
108
|
+
|
|
109
|
+
The crawl config is generated at `~/spider/generated/<site>-thorough.json` from the shared thorough profile. The LaunchAgent is `studio.se.screaming-frog-fleet`, Sunday 07:00 local, and it must keep pointing at the primary checkout `~/source/se/se-core-product`. Do not reinstall it from a worktree. Do not run it while the GUI is open.
|
|
81
110
|
|
|
82
111
|
## Other commands
|
|
83
112
|
|
|
@@ -11,7 +11,7 @@ Each project owns **`seo/screaming-frog.json`** at the app root (or pass `--conf
|
|
|
11
11
|
| `siteHost` | Host substring for filtering redirect samples |
|
|
12
12
|
| `defaultSiteUrl` | Fallback URL when crawl overview is missing |
|
|
13
13
|
| `outputMdName` | Audit markdown filename (written under `docs/seo/`) |
|
|
14
|
-
| `profiles` | Named crawl targets with `configFile` paths |
|
|
14
|
+
| `profiles` | Named crawl targets with `configFile` paths. `scenario` may be `quick`, `thorough`, or `compare`. |
|
|
15
15
|
|
|
16
16
|
## Optional fields
|
|
17
17
|
|
|
@@ -59,4 +59,4 @@ Each project owns **`seo/screaming-frog.json`** at the app root (or pass `--conf
|
|
|
59
59
|
}
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
`.
|
|
62
|
+
Generate the spider JSON with `site-check-screaming-frog write-config`. The shared profiles are `quick`, `thorough`, and `compare`. A develop crawl passes `--bypass-env VERCEL_PROTECTION_BYPASS_TOKEN`. Do not commit that header. The weekly fleet writes `~/spider/generated/<site>-thorough.json` and does not use the bypass header.
|
|
@@ -29,7 +29,7 @@ pnpm update -r @se-studio/contentful-rest-api @se-studio/core-ui
|
|
|
29
29
|
|
|
30
30
|
**`pnpm-workspace.yaml` overrides:** many customer repos pin packages under `overrides` (e.g. Point.me: `@se-studio/contentful-rest-api`, `mapbox-gl`). `pnpm update` does **not** update those lines. After updating a pinned package, set the matching override to the same range or `pnpm install --frozen-lockfile` fails.
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Customer repos do not contain `cms-edit/host`. The MCP is `apps/cms-edit-host` in se-core-product. A customer workflow that still has a hoisted frozen job uses:
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
pnpm install --frozen-lockfile --config.node-linker=hoisted
|
|
@@ -107,10 +107,10 @@ overrides:
|
|
|
107
107
|
'@types/node': ^24
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
Every repo that runs **hoisted frozen install** (
|
|
110
|
+
Every repo that runs **hoisted frozen install** (`check-lockfile-sync.sh` hoisted job) **must** also record Linux optional natives in the lockfile. Generate the lockfile on macOS with:
|
|
111
111
|
|
|
112
112
|
```yaml
|
|
113
|
-
# Record linux-x64/glibc optional natives (
|
|
113
|
+
# Record linux-x64/glibc optional natives (hoisted frozen install on Vercel).
|
|
114
114
|
supportedArchitectures:
|
|
115
115
|
os:
|
|
116
116
|
- current
|
|
@@ -210,7 +210,7 @@ rg '"node"' package.json apps/*/package.json packages/*/package.json 2>/dev/null
|
|
|
210
210
|
|
|
211
211
|
## Step 6 — Validate (unified for all repos)
|
|
212
212
|
|
|
213
|
-
If the
|
|
213
|
+
If the repo’s CI has a `lockfile-hoisted` job, run the frozen hoisted install check first. Do not add `cms-edit/host` to the workspace to satisfy it. **Do not** mix an isolated-linker `node_modules` with hoisted frozen — on Darwin that fails with `ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY` for `@next/swc-win32-*` (Next lists every platform SWC as optional; `supportedArchitectures` does not include win32). Ubuntu CI `lockfile-hoisted` is the source of truth. Locally:
|
|
214
214
|
|
|
215
215
|
```bash
|
|
216
216
|
rm -rf node_modules
|
|
@@ -282,7 +282,7 @@ When updating deps in a customer repo, adopt the full lockfile stack if missing:
|
|
|
282
282
|
|
|
283
283
|
1. Copy `scripts/check-lockfile-sync.sh` and `scripts/pre-commit-lockfile.sh` from se-core-product.
|
|
284
284
|
2. Add `bash scripts/pre-commit-lockfile.sh` to `.husky/pre-commit` (before lint-staged).
|
|
285
|
-
3. Extend `.github/workflows/validate.yml`: integration branch in `push.branches`, parallel `lockfile-hoisted` job when
|
|
285
|
+
3. Extend `.github/workflows/validate.yml`: integration branch in `push.branches`, and keep a parallel `lockfile-hoisted` job when the repo already has one.
|
|
286
286
|
4. Set marketing `vercel.json` `installCommand` to `cd ../.. && pnpm install --frozen-lockfile`.
|
|
287
287
|
|
|
288
288
|
See [`references/lockfile-sync/README.md`](../../references/lockfile-sync/README.md) for the rollout table and workflow snippet.
|