@se-studio/skills 1.10.23 → 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 +26 -0
- package/README.md +2 -19
- 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-core/SKILL.md +6 -4
- package/skills/contentful-cms-create-editor-playbooks/SKILL.md +7 -12
- package/skills/contentful-cms-regenerate-editor-pack/SKILL.md +12 -28
- package/skills/contentful-cms-setup/SKILL.md +1 -1
- package/skills/screaming-frog-audit/SKILL.md +31 -2
- package/skills/screaming-frog-audit/references/profiles.md +2 -2
- package/skills/se-marketing-sites-create-collection/SKILL.md +0 -1
- package/skills/se-marketing-sites-create-component/SKILL.md +0 -1
- package/skills/site-workflows-deps-update/SKILL.md +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
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
|
+
|
|
15
|
+
## 1.10.25
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- f4aff48: Component and collection scaffolds no longer include a Registration banner comment above the registration export.
|
|
20
|
+
|
|
21
|
+
## 1.10.24
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 281b929: Publish `@se-studio/contentful-cms` as editor-pack management only (`editor-pack generate`, `project validate`, `project doctor`, `host pack-publish`). The hosted editor stays in this repo for `apps/cms-edit-host` and is not in the npm tarball. Skills install from `@se-studio/skills` only.
|
|
26
|
+
|
|
27
|
+
Do not promote this to npm while a customer host still imports `@se-studio/contentful-cms/hosted/next`.
|
|
28
|
+
|
|
3
29
|
## 1.10.23
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -62,26 +62,9 @@ Claude Code uses a naive frontmatter parser; violations cause descriptions to si
|
|
|
62
62
|
3. Sync: `pnpm skills:sync` (copies `skills/` → `.agents/skills/` and `references/` → `.agents/references/`, then strips `AGENTS.md` next to `SKILL.md`)
|
|
63
63
|
4. Add a changeset if publishing `@se-studio/skills`
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
cms-edit skills publish only from this package. `@se-studio/contentful-cms` is the editor-pack CLI and does not ship a skills copy.
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
| Canonical source (`packages/skills/skills/`) | Bundled name (`packages/contentful-cms/skills/`) |
|
|
70
|
-
|---------------------------------------------|--------------------------------------------------|
|
|
71
|
-
| `contentful-cms-core` | `core` |
|
|
72
|
-
| `contentful-cms-editor-tasks` | `editor-tasks` |
|
|
73
|
-
| `contentful-cms-templates` | `templates` |
|
|
74
|
-
| `contentful-cms-setup` | `setup` |
|
|
75
|
-
|
|
76
|
-
After editing any `contentful-cms-*` skill here, run:
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
pnpm --filter @se-studio/contentful-cms sync:skills
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Do not edit `packages/contentful-cms/skills/` directly. See `packages/contentful-cms/docs/SKILLS.md`.
|
|
83
|
-
|
|
84
|
-
**Do not use `.claude/skills/` in the repo** as a skill source — it is untracked and local. Use `.agents/skills/` (in this monorepo via `pnpm skills:sync`, in a customer site via `skills-npm`) or `cms-edit skill install`.
|
|
67
|
+
**Do not use `.claude/skills/` in the repo** as a skill source — it is untracked and local. Use `.agents/skills/` (in this monorepo via `pnpm skills:sync`, in a customer site via `skills-npm`).
|
|
85
68
|
|
|
86
69
|
## Core-only skills
|
|
87
70
|
|
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. |
|
|
@@ -7,11 +7,11 @@ description: "Edit Contentful drafts via hosted cms-edit MCP (open → snapshot
|
|
|
7
7
|
|
|
8
8
|
Use this skill when you need to read or edit content in Contentful using **hosted cms-edit MCP** (`cms_edit` with an `args` array). Command names match the old CLI (`open` → `snapshot` → `read` → `set`/`rtf` → `diff` → `save`).
|
|
9
9
|
|
|
10
|
-
**Do not** run the local `cms-edit` binary for content
|
|
10
|
+
**Do not** run the local `cms-edit` binary for content, schema, guide, or page patterns. The published binary only runs `editor-pack generate`, `project validate`, `project doctor`, `host pack-publish`, and `version`. Content commands, including `schema`, are hosted MCP args (`cms_edit`), not a shell command.
|
|
11
11
|
|
|
12
|
-
**Scope: content only.** cms-edit edits entries and assets. It does **not** change the content model (content types, fields, validations, enums such as `componentType` or colours). `schema`
|
|
12
|
+
**Scope: content only.** cms-edit edits entries and assets. It does **not** change the content model (content types, fields, validations, enums such as `componentType` or colours). `schema` on hosted MCP is read-only. If a field, type or enum value is missing, stop and use skill **`contentful-cms-content-model`** (Contentful CLI + numbered migrations); do not work around it.
|
|
13
13
|
|
|
14
|
-
**Page patterns
|
|
14
|
+
**Page patterns:** refresh `docs/cms-editor/<projectKey>/page-patterns.md` in the site repo, then `cms-edit editor-pack generate --project-config cms-edit/<site>/project.json`. The published CLI does not include `patterns generate`. Hosted agents read `cms-edit://customer/page-patterns` after that generate.
|
|
15
15
|
|
|
16
16
|
**Before editing:** use skill **`contentful-cms-editor-tasks`** to read `tasks-index` and the matching capability playbook for this site (hosted MCP or local `cms-edit/<site>/editor-pack/`).
|
|
17
17
|
|
|
@@ -44,7 +44,7 @@ Use this skill when you need to read or edit content in Contentful using **hoste
|
|
|
44
44
|
- `.contentful-cms.json` must exist in the project root (or ancestor directory)
|
|
45
45
|
- A Contentful Management Token with editor-only permissions (no publish rights) must be set as an env var and referenced in the config
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
Content command detail is `packages/contentful-cms/docs/hosted-command-reference.md` in se-core-product. `cms-edit --docs` prints the pack CLI readme, which does not document content commands.
|
|
48
48
|
|
|
49
49
|
## Core Workflow
|
|
50
50
|
|
|
@@ -424,6 +424,8 @@ Template **`menu`** is site-wide. **`page.menu`** overrides one page. Header CTA
|
|
|
424
424
|
|
|
425
425
|
`peek` is one-shot. `open` / `nav open` persist. `preview urls /slug` follows that slug even if session `_mcp` is another page.
|
|
426
426
|
|
|
427
|
+
**Before editing a component, or replacing an image, check whether it is shared:** `usages --id <entry-id>` (or `--asset <asset-id>`; no session). It lists the entries that link to it and the pages that show it. If `sharedAcrossPages` or `siteWide` is true, the edit changes more than one page: tell the user which. Only trust `sharedAcrossPages: false` when `complete` is true; otherwise read `notes`.
|
|
428
|
+
|
|
427
429
|
The items array field may be `entries`, `items`, or `navigationItems` — inspect `read @root` before `set @root … --links`.
|
|
428
430
|
|
|
429
431
|
## Create New Entries
|
|
@@ -65,32 +65,27 @@ Check:
|
|
|
65
65
|
|
|
66
66
|
### Page inventory
|
|
67
67
|
|
|
68
|
-
Build the category table from
|
|
68
|
+
Build the category table from the site's page-patterns handbook, not sitemap prefixes alone.
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
cms-edit patterns generate --project-config cms-edit/<site>/project.json
|
|
72
|
-
# writes docs/cms-editor/<projectKey>/page-patterns.json + page-patterns.md
|
|
73
|
-
```
|
|
70
|
+
Refresh `docs/cms-editor/<projectKey>/page-patterns.md` in the site repo before generate. The published CLI does not include `cms-edit patterns generate`.
|
|
74
71
|
|
|
75
72
|
1. Read `page-patterns.md` — each **family** is a candidate playbook (including nested children)
|
|
76
73
|
2. Use each family's `cloneSlug` as the canonical clone source
|
|
77
74
|
3. Nested children (e.g. `what-we-treat/anxiety/types`) get their **own** specialized playbook
|
|
78
75
|
4. Flags: `low-majority-campaign` / `unique-compositions` → document the skeleton and clone the nearest sibling; do **not** invent one canonical stack. `empty-body` article types are template-owned.
|
|
79
|
-
5. Sitemap
|
|
80
|
-
|
|
81
|
-
Requires `CONTENTFUL_ACCESS_TOKEN` (Delivery). If generate cannot run, say so and fall back to sitemap prefixes.
|
|
76
|
+
5. Sitemap only to confirm public URLs and copy, not to discover families. `peek` is a hosted MCP command, not the published binary.
|
|
82
77
|
|
|
83
78
|
### CMS capabilities
|
|
84
79
|
|
|
85
|
-
|
|
80
|
+
From the customer repo, the published CLI is:
|
|
86
81
|
|
|
87
82
|
```bash
|
|
88
83
|
cms-edit project validate --project-config cms-edit/<site>/project.json
|
|
89
|
-
cms-edit editor-pack generate --project-config cms-edit/<site>/project.json
|
|
90
|
-
cms-edit list --type template
|
|
91
|
-
cms-edit peek --page-slug /about # adjust per site
|
|
84
|
+
cms-edit editor-pack generate --project-config cms-edit/<site>/project.json
|
|
92
85
|
```
|
|
93
86
|
|
|
87
|
+
Template inventory and page snapshots (`list`, `peek`) go through hosted MCP, not this binary.
|
|
88
|
+
|
|
94
89
|
Read generated `capabilities.json` (or editor-pack copy) for `content.pages`, `content.articles`, `content.persons`.
|
|
95
90
|
|
|
96
91
|
### Skip rules
|
|
@@ -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
|
|
|
@@ -62,13 +65,7 @@ pnpm cms-edit:editor-pack
|
|
|
62
65
|
|
|
63
66
|
**Generic / multi-site:**
|
|
64
67
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
cms-edit patterns generate --project-config cms-edit/<site>/project.json
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
Then:
|
|
68
|
+
`cms-edit patterns generate` is not part of the published CLI. Refresh `docs/cms-editor/<projectKey>/page-patterns.md` in the site repo before generating when that file is missing or stale. Then:
|
|
72
69
|
|
|
73
70
|
```bash
|
|
74
71
|
cms-edit editor-pack generate --project-config cms-edit/<site>/project.json
|
|
@@ -93,26 +90,13 @@ git commit -m "chore(cms-edit): regenerate editor pack"
|
|
|
93
90
|
|
|
94
91
|
## Step 6 — Publish (commit + push; CI owns GitHub Releases)
|
|
95
92
|
|
|
96
|
-
**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.
|
|
97
94
|
|
|
98
|
-
|
|
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.
|
|
99
96
|
|
|
100
97
|
See `packages/contentful-cms/HOSTED.md` (Option C section) for the caller workflow sketch.
|
|
101
98
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
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.
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
git push origin develop
|
|
108
|
-
# then production-merge.md: human asks, agent confirms, then merge to main (HSD: production)
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
Do **not** run `pnpm cms-edit:deploy` or `vercel deploy` after this step.
|
|
112
|
-
|
|
113
|
-
### Customers without `cms-edit/host/` in their repo
|
|
114
|
-
|
|
115
|
-
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`.
|
|
116
100
|
|
|
117
101
|
## Homepage slug reminder
|
|
118
102
|
|
|
@@ -95,7 +95,7 @@ For engineering work in a site repo (Cursor, Grok, terminal):
|
|
|
95
95
|
|
|
96
96
|
1. Configure `.contentful-cms.json` in the project (or `~/.contentful-cms.json`) with space credentials
|
|
97
97
|
2. Skills come from the repo's `@se-studio/skills` dependency, linked by `skills-npm` on `pnpm install` (in the core monorepo: `pnpm skills:sync`). A project without the dependency can run `npx skills add @se-studio/skills` once
|
|
98
|
-
3.
|
|
98
|
+
3. Skills install from `@se-studio/skills` only. `@se-studio/contentful-cms` does not ship a skills copy. Its published binary is editor-pack management (`editor-pack generate`, `project validate`, `project doctor`, `host pack-publish`)
|
|
99
99
|
4. Read `cms-edit/<site>/editor-pack/tasks-index.md` before editing content
|
|
100
100
|
|
|
101
101
|
Do **not** register a local `mcpServers.cms-edit` entry in Claude Desktop — use the hosted connector URL instead.
|
|
@@ -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.
|
|
@@ -253,7 +253,6 @@ const MyCollectionRenderer: CollectionRenderer<ICollection> = ({
|
|
|
253
253
|
|
|
254
254
|
export default MyCollectionRenderer;
|
|
255
255
|
|
|
256
|
-
// 6. Layer 4: Registration
|
|
257
256
|
export const MyCollectionRegistration = defineCollection({
|
|
258
257
|
name: 'My Collection', // Must match CMS collectionType
|
|
259
258
|
renderer: MyCollectionRenderer,
|
|
@@ -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.
|