@se-studio/contentful-cms 2.5.1 → 2.6.0

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.
Files changed (118) hide show
  1. package/CHANGELOG.md +43 -12
  2. package/INSTALL.md +1 -1
  3. package/README.md +10 -17
  4. package/dist/audit/asset-usage.d.ts +15 -0
  5. package/dist/audit/asset-usage.d.ts.map +1 -0
  6. package/dist/audit/asset-usage.js +81 -0
  7. package/dist/audit/asset-usage.js.map +1 -0
  8. package/dist/audit/media-review.d.ts +2 -0
  9. package/dist/audit/media-review.d.ts.map +1 -1
  10. package/dist/audit/media-review.js.map +1 -1
  11. package/dist/cli/program.d.ts.map +1 -1
  12. package/dist/cli/program.js +4 -22
  13. package/dist/cli/program.js.map +1 -1
  14. package/dist/commands/add.js +1 -1
  15. package/dist/commands/add.js.map +1 -1
  16. package/dist/commands/asset.d.ts.map +1 -1
  17. package/dist/commands/asset.js +9 -0
  18. package/dist/commands/asset.js.map +1 -1
  19. package/dist/commands/batch.d.ts.map +1 -1
  20. package/dist/commands/batch.js +5 -2
  21. package/dist/commands/batch.js.map +1 -1
  22. package/dist/commands/create-from-json.d.ts.map +1 -1
  23. package/dist/commands/create-from-json.js +24 -2
  24. package/dist/commands/create-from-json.js.map +1 -1
  25. package/dist/commands/help.d.ts.map +1 -1
  26. package/dist/commands/help.js +3 -2
  27. package/dist/commands/help.js.map +1 -1
  28. package/dist/commands/run.d.ts +1 -1
  29. package/dist/commands/run.d.ts.map +1 -1
  30. package/dist/commands/run.js +3 -3
  31. package/dist/commands/run.js.map +1 -1
  32. package/dist/commands/schema.d.ts.map +1 -1
  33. package/dist/commands/schema.js +228 -85
  34. package/dist/commands/schema.js.map +1 -1
  35. package/dist/generated/hosted-guide.d.ts +1 -1
  36. package/dist/generated/hosted-guide.d.ts.map +1 -1
  37. package/dist/generated/hosted-guide.js +1 -1
  38. package/dist/generated/hosted-guide.js.map +1 -1
  39. package/dist/generated/version.d.ts +1 -1
  40. package/dist/generated/version.js +1 -1
  41. package/dist/mcp/guide.js +1 -1
  42. package/dist/mcp/guide.js.map +1 -1
  43. package/dist/mcp/prompts/onboarding.js +7 -7
  44. package/dist/mcp/prompts/onboarding.js.map +1 -1
  45. package/dist/mcp/tools/cms-edit.d.ts +1 -1
  46. package/dist/mcp/tools/cms-edit.d.ts.map +1 -1
  47. package/dist/mcp/tools/cms-edit.js +1 -1
  48. package/docs/FUNCTIONAL_SPEC.md +2 -2
  49. package/docs/SKILLS.md +3 -3
  50. package/docs/editor-tasks/bulk-find-replace.md +2 -2
  51. package/docs/editor-tasks/seo-descriptions.md +1 -1
  52. package/docs/editor-tasks/taxonomy.md +2 -2
  53. package/docs/help/asset-review.md +4 -0
  54. package/docs/help/{run.md → batch-run.md} +8 -8
  55. package/docs/help/create-from-json.md +3 -2
  56. package/docs/help/fields-article.md +2 -2
  57. package/docs/help/fields-component.md +3 -3
  58. package/docs/help/fields-taxonomy.md +6 -6
  59. package/docs/help/fields.md +2 -2
  60. package/docs/help/index-sync.md +1 -1
  61. package/docs/help/index.md +23 -18
  62. package/docs/help/lookup.md +1 -1
  63. package/docs/help/person-from-json.md +3 -3
  64. package/docs/help/taxonomy-from-json.md +3 -3
  65. package/docs/help/workflow.md +1 -1
  66. package/docs/mcp/hosted-guide.md +6 -6
  67. package/package.json +2 -3
  68. package/skills/README.md +2 -2
  69. package/skills/core/SKILL.md +33 -40
  70. package/skills/setup/SKILL.md +1 -1
  71. package/dist/bin/contentful-cms.d.ts +0 -3
  72. package/dist/bin/contentful-cms.d.ts.map +0 -1
  73. package/dist/bin/contentful-cms.js +0 -5
  74. package/dist/bin/contentful-cms.js.map +0 -1
  75. package/dist/commands/audit.d.ts +0 -4
  76. package/dist/commands/audit.d.ts.map +0 -1
  77. package/dist/commands/audit.js +0 -399
  78. package/dist/commands/audit.js.map +0 -1
  79. package/dist/commands/backup.d.ts +0 -3
  80. package/dist/commands/backup.d.ts.map +0 -1
  81. package/dist/commands/backup.js +0 -143
  82. package/dist/commands/backup.js.map +0 -1
  83. package/dist/commands/colours.d.ts +0 -4
  84. package/dist/commands/colours.d.ts.map +0 -1
  85. package/dist/commands/colours.js +0 -91
  86. package/dist/commands/colours.js.map +0 -1
  87. package/dist/commands/ensure.d.ts +0 -4
  88. package/dist/commands/ensure.d.ts.map +0 -1
  89. package/dist/commands/ensure.js +0 -152
  90. package/dist/commands/ensure.js.map +0 -1
  91. package/dist/commands/restore.d.ts +0 -4
  92. package/dist/commands/restore.d.ts.map +0 -1
  93. package/dist/commands/restore.js +0 -146
  94. package/dist/commands/restore.js.map +0 -1
  95. package/dist/commands/revert.d.ts +0 -4
  96. package/dist/commands/revert.d.ts.map +0 -1
  97. package/dist/commands/revert.js +0 -143
  98. package/dist/commands/revert.js.map +0 -1
  99. package/dist/commands/sitemap.d.ts +0 -4
  100. package/dist/commands/sitemap.d.ts.map +0 -1
  101. package/dist/commands/sitemap.js +0 -151
  102. package/dist/commands/sitemap.js.map +0 -1
  103. package/dist/commands/skill.d.ts +0 -4
  104. package/dist/commands/skill.d.ts.map +0 -1
  105. package/dist/commands/skill.js +0 -40
  106. package/dist/commands/skill.js.map +0 -1
  107. package/dist/commands/types.d.ts +0 -4
  108. package/dist/commands/types.d.ts.map +0 -1
  109. package/dist/commands/types.js +0 -78
  110. package/dist/commands/types.js.map +0 -1
  111. package/dist/session/backup.d.ts +0 -34
  112. package/dist/session/backup.d.ts.map +0 -1
  113. package/dist/session/backup.js +0 -64
  114. package/dist/session/backup.js.map +0 -1
  115. package/dist/skills/install.d.ts +0 -13
  116. package/dist/skills/install.d.ts.map +0 -1
  117. package/dist/skills/install.js +0 -37
  118. package/dist/skills/install.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"onboarding.js","sourceRoot":"","sources":["../../../src/mcp/prompts/onboarding.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,cAAc,GAClB,6EAA6E;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AA0D,EAC1D;QACE,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,QAAQ,CAAC,8DAA8D,CAAC;KAC5E,EACD,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,CAAC;QAC3B,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,MAAe;gBACrB,OAAO,EAAE;oBACP,IAAI,EAAE,MAAe;oBACrB,IAAI,EACF,GAAG,IAAI,OAAO,cAAc,iBAAiB,YAAY,IAAI;wBAC7D,oCAAoC;wBACpC,mDAAmD;wBACnD,uEAAuE;wBACvE,qGAAqG;wBACrG,gFAAgF;wBAChF,qEAAqE;iBACxE;aACF;SACF;KACF,CAAC,CACH,CAAC;IAEF,MAAM,CAAC,MAAM,CACX,gBAAgB,EAChB,iEAAiE,EACjE;QACE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;KAC3F,EACD,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;QAC1B,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,MAAe;gBACrB,OAAO,EAAE;oBACP,IAAI,EAAE,MAAe;oBACrB,IAAI,EACF,GAAG,IAAI,OAAO,cAAc,eAAe,WAAW,IAAI;wBAC1D,6BAA6B;wBAC7B,2DAA2D;wBAC3D,iCAAiC;wBACjC,gEAAgE;wBAChE,6DAA6D;wBAC7D,oDAAoD;iBACvD;aACF;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import type { RunCmsEditFn } from '../types.js';
3
- export declare const TOOL_DESCRIPTION = "Run any cms-edit command. cms-edit edits Contentful draft content (no publishing).\n\nUse cms_edit_version (no args) to check the installed version.\nUse cms_edit_help to read the getting-started guide by topic.\nUse cms_edit_customer to read site-specific playbooks (articles, routing, blog-tag-matrix, etc.).\nIf Integrations only exposes cms_edit, use [\"customer\", \"index\"] or [\"customer\", \"resource=index\"] instead.\nRead the cms-edit://guide resource for the full guide.\n\nWorkflow: open \u2192 snapshot \u2192 read/set/rtf/add/remove \u2192 diff \u2192 save\nAll saves create drafts only \u2014 a human must publish in Contentful.\n\nCommon command sequences:\n [\"open\", \"--page-slug\", \"/\"] \u2014 homepage (CMS slug index; /index is equivalent)\n [\"open\", \"--page-slug\", \"/pricing\"] \u2014 load a page by slug\n [\"open\", \"--id\", \"<entry-id>\"] \u2014 load by Contentful entry ID\n [\"snapshot\"] \u2014 print content tree with @refs\n [\"read\", \"@c0\"] \u2014 read all fields of a component (requires open session)\n [\"read\", \"@c0\", \"heading\"] \u2014 read a specific field (requires open session)\n [\"read\", \"@root\"] \u2014 read root entry fields (requires open session)\n [\"read\", \"<entry-id>\", \"--id\"] \u2014 read entry by ID (no session)\n [\"read\", \"<entry-id>\", \"--id\", \"heading\"] \u2014 read one field by entry ID (no session)\n [\"peek\", \"--page-slug\", \"/pricing\"] \u2014 preview tree + root fields (no session)\n [\"peek\", \"--id\", \"<entry-id>\"] \u2014 preview by entry ID with rootFields in JSON\n [\"set\", \"@c0\", \"heading\", \"New heading\"] \u2014 set a scalar field\n [\"rtf\", \"@c0\", \"body\", \"--content\", \"# H1\\n\\nBody.\"] \u2014 set rich text (preferred for AI)\n [\"rtf\", \"@c0\", \"body\", \"--base64\", \"<encoded>\"] \u2014 set rich text via base64 (no filesystem)\n [\"diff\"] \u2014 show pending changes\n [\"save\"] \u2014 write drafts to Contentful\n [\"discard\"] \u2014 discard unsaved changes\n [\"links\", \"set\", \"@c0\", \"0\", \"variant\", \"link\"] \u2014 set scalar field on link at index 0\n [\"batch\", \"set\", \"<entry-id>:variant=link\"] \u2014 queue scalar edit by entry ID\n [\"batch\", \"diff\"] \u2014 show pending batch edits\n [\"batch\", \"save\"] \u2014 save all batch edits as drafts\n [\"health\"] \u2014 verify config and connectivity\n [\"diagnose\"] \u2014 session/MCP diagnostics (store, userId, active session)\n [\"version\"] \u2014 print installed cms-edit version\n [\"guide\"] \u2014 print getting-started guide\n [\"guide\", \"workflow\"] \u2014 print a guide section\n [\"customer\", \"index\"] \u2014 list site editor playbooks\n [\"customer\", \"articles\"] \u2014 read articles playbook\n [\"customer\", \"resource=index\"] \u2014 same as index (Integrations fallback)\n [\"list\", \"--type\", \"article\", \"--sort\", \"date\", \"-n\", \"10\"] \u2014 recent articles by publication date\n [\"sitemap\", \"--include\", \"article\", \"--status\", \"draft\"] \u2014 find draft articles\n [\"peek\", \"--article-slug\", \"<slug>\"] \u2014 preview draft or published article (CMA)\n [\"preview\", \"url\", \"/pricing\"] \u2014 page preview URL (open in browser MCP)\n [\"preview\", \"showcase\", \"--component\", \"HeroSimple\"] \u2014 component showcase URL (mock data)\n [\"preview\", \"showcase\", \"--collection\", \"CardGrid\", \"--param\", \"backgroundColour=Navy\"]\n\nDiscovery notes:\n Visual checks: use preview url / preview showcase, then open the returned URL with a browser MCP (cms-edit does not capture screenshots).\n peek/open/read --id load draft content via CMA \u2014 NOT published-only.\n Only list --published / resolve --published use the published-only Delivery API index.\n Articles: use --article-slug (not --page-slug). search --type article sorts by publication date.\n\nSessions persist between MCP calls (Redis on hosted, disk locally). MCP auto-uses session \"_mcp\" unless you pass --session.\nUse --session <name> before the subcommand to isolate concurrent workflows, e.g. [\"--session\", \"my-work\", \"open\", \"/\"].\nUse --space <name> to target a specific Contentful space (local MCP only \u2014 omit for hosted Integrations).\nStateless read (no open required): [\"read\", \"<entry-id>\", \"--id\"] or [\"read\", \"<entry-id>\", \"--id\", \"heading\"].\npeek is one-shot (no session): use [\"peek\", \"--page-slug\", \"<slug>\"] or [\"peek\", \"--id\", \"<entry-id>\"]. Includes rootFields in JSON \u2014 no follow-up read required.\nOutput is always JSON (CMS_EDIT_JSON=1 is forced by the MCP server).\n\nRich text tips:\n --content \"<markdown>\" preferred named flag for inline content (any length)\n --base64 \"<encoded>\" fully environment-agnostic, no filesystem needed\n --file \"<abs-path>\" platform-native absolute path required (C:\\\\Users\\\\... on Windows)\n stdin (\"-\") not supported via MCP";
3
+ export declare const TOOL_DESCRIPTION = "Run any cms-edit command. cms-edit edits Contentful draft content (no publishing).\n\nUse cms_edit_version (no args) to check the installed version.\nUse cms_edit_help to read the getting-started guide by topic.\nUse cms_edit_customer to read site-specific playbooks (articles, routing, blog-tag-matrix, etc.).\nIf Integrations only exposes cms_edit, use [\"customer\", \"index\"] or [\"customer\", \"resource=index\"] instead.\nRead the cms-edit://guide resource for the full guide.\n\nWorkflow: open \u2192 snapshot \u2192 read/set/rtf/add/remove \u2192 diff \u2192 save\nAll saves create drafts only \u2014 a human must publish in Contentful.\n\nCommon command sequences:\n [\"open\", \"--page-slug\", \"/\"] \u2014 homepage (CMS slug index; /index is equivalent)\n [\"open\", \"--page-slug\", \"/pricing\"] \u2014 load a page by slug\n [\"open\", \"--id\", \"<entry-id>\"] \u2014 load by Contentful entry ID\n [\"snapshot\"] \u2014 print content tree with @refs\n [\"read\", \"@c0\"] \u2014 read all fields of a component (requires open session)\n [\"read\", \"@c0\", \"heading\"] \u2014 read a specific field (requires open session)\n [\"read\", \"@root\"] \u2014 read root entry fields (requires open session)\n [\"read\", \"<entry-id>\", \"--id\"] \u2014 read entry by ID (no session)\n [\"read\", \"<entry-id>\", \"--id\", \"heading\"] \u2014 read one field by entry ID (no session)\n [\"peek\", \"--page-slug\", \"/pricing\"] \u2014 preview tree + root fields (no session)\n [\"peek\", \"--id\", \"<entry-id>\"] \u2014 preview by entry ID with rootFields in JSON\n [\"set\", \"@c0\", \"heading\", \"New heading\"] \u2014 set a scalar field\n [\"rtf\", \"@c0\", \"body\", \"--content\", \"# H1\\n\\nBody.\"] \u2014 set rich text (preferred for AI)\n [\"rtf\", \"@c0\", \"body\", \"--base64\", \"<encoded>\"] \u2014 set rich text via base64 (no filesystem)\n [\"diff\"] \u2014 show pending changes\n [\"save\"] \u2014 write drafts to Contentful\n [\"discard\"] \u2014 discard unsaved changes\n [\"links\", \"set\", \"@c0\", \"0\", \"variant\", \"link\"] \u2014 set scalar field on link at index 0\n [\"batch\", \"set\", \"<entry-id>:variant=link\"] \u2014 queue scalar edit by entry ID\n [\"batch\", \"diff\"] \u2014 show pending batch edits\n [\"batch\", \"save\"] \u2014 save all batch edits as drafts\n [\"health\"] \u2014 verify config and connectivity\n [\"diagnose\"] \u2014 session/MCP diagnostics (store, userId, active session)\n [\"version\"] \u2014 print installed cms-edit version\n [\"guide\"] \u2014 print getting-started guide\n [\"guide\", \"workflow\"] \u2014 print a guide section\n [\"customer\", \"index\"] \u2014 list site editor playbooks\n [\"customer\", \"articles\"] \u2014 read articles playbook\n [\"customer\", \"resource=index\"] \u2014 same as index (Integrations fallback)\n [\"list\", \"--type\", \"article\", \"--sort\", \"date\", \"-n\", \"10\"] \u2014 recent articles by publication date\n [\"list\", \"--type\", \"article\", \"--sort\", \"date\"] \u2014 list articles (preview index includes drafts)\n [\"peek\", \"--article-slug\", \"<slug>\"] \u2014 preview draft or published article (CMA)\n [\"preview\", \"url\", \"/pricing\"] \u2014 page preview URL (open in browser MCP)\n [\"preview\", \"showcase\", \"--component\", \"HeroSimple\"] \u2014 component showcase URL (mock data)\n [\"preview\", \"showcase\", \"--collection\", \"CardGrid\", \"--param\", \"backgroundColour=Navy\"]\n\nDiscovery notes:\n Visual checks: use preview url / preview showcase, then open the returned URL with a browser MCP (cms-edit does not capture screenshots).\n peek/open/read --id load draft content via CMA \u2014 NOT published-only.\n Only list --published / resolve --published use the published-only Delivery API index.\n Articles: use --article-slug (not --page-slug). search --type article sorts by publication date.\n\nSessions persist between MCP calls (Redis on hosted, disk locally). MCP auto-uses session \"_mcp\" unless you pass --session.\nUse --session <name> before the subcommand to isolate concurrent workflows, e.g. [\"--session\", \"my-work\", \"open\", \"/\"].\nUse --space <name> to target a specific Contentful space (local MCP only \u2014 omit for hosted Integrations).\nStateless read (no open required): [\"read\", \"<entry-id>\", \"--id\"] or [\"read\", \"<entry-id>\", \"--id\", \"heading\"].\npeek is one-shot (no session): use [\"peek\", \"--page-slug\", \"<slug>\"] or [\"peek\", \"--id\", \"<entry-id>\"]. Includes rootFields in JSON \u2014 no follow-up read required.\nOutput is always JSON (CMS_EDIT_JSON=1 is forced by the MCP server).\n\nRich text tips:\n --content \"<markdown>\" preferred named flag for inline content (any length)\n --base64 \"<encoded>\" fully environment-agnostic, no filesystem needed\n --file \"<abs-path>\" platform-native absolute path required (C:\\\\Users\\\\... on Windows)\n stdin (\"-\") not supported via MCP";
4
4
  export declare function registerCmsEditTools(server: McpServer, runCmsEdit: RunCmsEditFn): void;
5
5
  export declare function getMcpServerInfo(): {
6
6
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"cms-edit.d.ts","sourceRoot":"","sources":["../../../src/mcp/tools/cms-edit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAKzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,gBAAgB,m1LAiEoB,CAAC;AAElD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,GAAG,IAAI,CA8BtF;AAED,wBAAgB,gBAAgB,IAAI;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAEpE"}
1
+ {"version":3,"file":"cms-edit.d.ts","sourceRoot":"","sources":["../../../src/mcp/tools/cms-edit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAKzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,gBAAgB,+2LAiEoB,CAAC;AAElD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,GAAG,IAAI,CA8BtF;AAED,wBAAgB,gBAAgB,IAAI;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAEpE"}
@@ -44,7 +44,7 @@ Common command sequences:
44
44
  ["customer", "articles"] — read articles playbook
45
45
  ["customer", "resource=index"] — same as index (Integrations fallback)
46
46
  ["list", "--type", "article", "--sort", "date", "-n", "10"] — recent articles by publication date
47
- ["sitemap", "--include", "article", "--status", "draft"] — find draft articles
47
+ ["list", "--type", "article", "--sort", "date"] — list articles (preview index includes drafts)
48
48
  ["peek", "--article-slug", "<slug>"] — preview draft or published article (CMA)
49
49
  ["preview", "url", "/pricing"] — page preview URL (open in browser MCP)
50
50
  ["preview", "showcase", "--component", "HeroSimple"] — component showcase URL (mock data)
@@ -104,7 +104,7 @@ Each resolved entry is assigned a stable `@ref` label (`@c0` = the root, `@c1`,
104
104
  | `index dump` | Pretty-print index contents (assets, media, type breakdown) for terminal inspection |
105
105
  | `list --type media --asset-id <id>` | List Media entries linked to an asset (index) |
106
106
  | `list --type media --asset-filename <name>` | List Media entries by exact asset fileName (index) |
107
- | `sitemap` | List all pages with their slugs and publish status |
107
+ | `list --type page` | List pages from the content catalog (index-backed) |
108
108
  | `resolve --id <id>` | Resolve an entry or asset ID to its details |
109
109
  | `resolve --page-slug <slug>` | Resolve by flat lookup flag (no session). See `docs/help/lookup.md` |
110
110
  | `open --page-slug <slug>` | Open a page session (one lookup flag required) |
@@ -150,7 +150,7 @@ Each resolved entry is assigned a stable `@ref` label (`@c0` = the root, `@c1`,
150
150
  | `create tag-type --slug <slug> --name "X"` | Create a tagType entry (draft) |
151
151
  | `create article-type --slug <slug> --name "X"` | Create an articleType entry (draft) |
152
152
  | `create tag --slug <slug> --name "X" --tag-type <slug>` | Create a tag entry (draft); `--tag-type-slug`, `--tag-type-name`; `--description`, `--featured-image`; cmsLabel auto `"<tagType> — <name>"` |
153
- | `ensure tag-type\|tag\|article-type …` | Idempotent taxonomy create (returns existing entry when slug matches) |
153
+ | `create tag-type\|tag\|article-type … --if-not-exists` | Idempotent taxonomy create (returns existing entry when slug matches) |
154
154
  | `add <entry-type> --content-type <ct>` | Create a new child entry of a given content type, link it into the current open entry's content array, and assign it a @ref |
155
155
 
156
156
  ### 7.5 Entry Removal and Reordering
package/docs/SKILLS.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Channel | Package | Install | Use case |
6
6
  |---------|---------|---------|----------|
7
7
  | **Full SE Studio skills** | `@se-studio/skills` | `npx skills add @se-studio/skills`, `pnpm skills:sync` in monorepo, or auto-sync via `prepare` in consumer sites (see `packages/project-build/README.md`) | Marketing sites, CMS guidelines, app tasks |
8
- | **Bundled cms-edit skills** | `@se-studio/contentful-cms` | `cms-edit skill install` | Minimal set shipped with the CLI (`core`, `editor-tasks`, `templates`, `setup`) |
8
+ | **Bundled cms-edit skills** | `@se-studio/contentful-cms` | `npx skills add @se-studio/skills` | Minimal set shipped with the CLI (`core`, `editor-tasks`, `templates`, `setup`) |
9
9
 
10
10
  ## Where to edit
11
11
 
@@ -22,8 +22,8 @@ Never edit:
22
22
  ## `.claude/skills` vs `.agents/skills`
23
23
 
24
24
  - **`.agents/skills/`** — Monorepo target for `pnpm skills:sync`; gitignored; symlinked to `.cursor/skills/`.
25
- - **`.claude/skills/`** — Optional per-machine path used by some Claude setups; **intentionally untracked**. Skills should come from this repo (`@se-studio/skills`, `cms-edit skill install`) or third-party skill packs — not from committed copies under `.claude/`.
25
+ - **`.claude/skills/`** — Optional per-machine path used by some Claude setups; **intentionally untracked**. Skills should come from this repo (`@se-studio/skills`) or third-party skill packs — not from committed copies under `.claude/`.
26
26
 
27
27
  ## Installing bundled skills
28
28
 
29
- `cms-edit skill install` copies bundled `core`, `editor-tasks`, and `templates` skills into `.agents/skills/` in the current project. In the monorepo, prefer `pnpm skills:sync` from `@se-studio/skills`.
29
+ `npx skills add @se-studio/skills` installs cms-edit skills into `.agents/skills/` in the current project. In the monorepo, prefer `pnpm skills:sync` from `@se-studio/skills`.
@@ -13,12 +13,12 @@
13
13
  ## Prerequisites
14
14
 
15
15
  - `cms_edit ["index", "sync"]` if catalog may be stale
16
- - `cms_edit ["sitemap"]` or `cms_edit ["search", "<find text>"]` to list affected entries
16
+ - `cms_edit ["list", "--type", "page"]` / `["list", "--type", "article"]` or `cms_edit ["search", "<find text>"]` to list affected entries
17
17
  - Read `cms-edit://customer/routing` for slug rules
18
18
 
19
19
  ## Steps
20
20
 
21
- 1. **Discover scope** — `search` or `sitemap`; propose affected page/article count to the user
21
+ 1. **Discover scope** — `search` or `list --type page|article`; propose affected page/article count to the user
22
22
  2. **Dry-run bulk replace:**
23
23
  ```
24
24
  cms_edit ["bulk-rtf-replace", "--find", "…", "--replace-plain", "…", "--dry-run"]
@@ -13,7 +13,7 @@
13
13
  ## Prerequisites
14
14
 
15
15
  - Field name is **`description`** (meta description) on pages and articles
16
- - `cms_edit ["sitemap"]` for inventory
16
+ - `cms_edit ["list", "--type", "page"]` for page inventory
17
17
 
18
18
  ## Steps
19
19
 
@@ -25,8 +25,8 @@ cms_edit ["create", "taxonomy-from-json", "--file", "<path>", "--if-not-exists"]
25
25
  **Individual entries:**
26
26
 
27
27
  ```
28
- cms_edit ["ensure", "tag-type", "--slug", "topic", "--name", "Topic"]
29
- cms_edit ["ensure", "tag", "--slug", "mental-health", "--name", "Mental Health", "--tag-type-slug", "topic"]
28
+ cms_edit ["create", "tag-type", "--slug", "topic", "--name", "Topic", "--if-not-exists"]
29
+ cms_edit ["create", "tag", "--slug", "mental-health", "--name", "Mental Health", "--tag-type-slug", "topic", "--if-not-exists"]
30
30
  ```
31
31
 
32
32
  Verify:
@@ -15,8 +15,11 @@ Default: **Preview API** (includes drafts). Use `--published` on sync/review for
15
15
  ```bash
16
16
  cms-edit asset review
17
17
  cms-edit --json asset review --space brightline > media-review.json
18
+ cms-edit --json asset review --include-usage --include-passing > image-inventory.json
18
19
  ```
19
20
 
21
+ `--include-usage` adds slug-bearing page/article ancestry per asset (slower; uses CMA walk-up). Use with `--include-passing` for a full image inventory (replaces the old `audit images` command).
22
+
20
23
  ## Checks
21
24
 
22
25
  - Filename quality (stock IDs, camera defaults, generic names)
@@ -35,6 +38,7 @@ cms-edit --json asset review --space brightline > media-review.json
35
38
  | `--max-video-mb` | 8 |
36
39
  | `--max-lottie-kb` | 400 |
37
40
  | `--include-passing` | off (failures only) |
41
+ | `--include-usage` | off (no usage ancestry in JSON) |
38
42
  | `--published` | off (Preview index) |
39
43
 
40
44
  Exit code **1** when any asset has failing issues.
@@ -1,10 +1,10 @@
1
- # cms-edit run — Batch Operations Guide
1
+ # cms-edit batch run — JSON Operation Scripts
2
2
 
3
- `run` executes a sequence of `cms-edit` operations from a JSON file. It is best suited for **patching fields on existing entries** — for creating complete new pages, use `create from-json` instead.
3
+ `batch run` executes a sequence of `cms-edit` operations from a JSON file. It is best suited for **patching fields on existing entries** — for creating complete new pages, use `create from-json` instead.
4
4
 
5
5
  ```bash
6
- cms-edit run --file patch.json
7
- cms-edit run --file patch.json --dry-run # validate without saving
6
+ cms-edit batch run --file patch.json
7
+ cms-edit batch run --file patch.json --dry-run # validate without saving
8
8
  ```
9
9
 
10
10
  ---
@@ -162,13 +162,13 @@ Do all `add` operations in one batch. Re-snapshot to see final refs. Write a sec
162
162
 
163
163
  ```bash
164
164
  # Batch 1: add all items
165
- cms-edit run --file add-items.json
165
+ cms-edit batch run --file add-items.json
166
166
 
167
167
  # Inspect final refs
168
168
  cms-edit snapshot
169
169
 
170
170
  # Batch 2: set fields using the stable refs from snapshot
171
- cms-edit run --file set-fields.json
171
+ cms-edit batch run --file set-fields.json
172
172
  ```
173
173
 
174
174
  ### Pattern C — Append to end only
@@ -200,8 +200,8 @@ For building complete page trees from scratch, `create from-json` is safer than
200
200
 
201
201
  Run:
202
202
  ```bash
203
- cms-edit run --file patch.json --dry-run # validate first
204
- cms-edit run --file patch.json # apply
203
+ cms-edit batch run --file patch.json --dry-run # validate first
204
+ cms-edit batch run --file patch.json # apply
205
205
  cms-edit open --page-slug /solutions # inspect result
206
206
  ```
207
207
 
@@ -6,6 +6,7 @@
6
6
  cms-edit create from-json --file my-page.json
7
7
  cms-edit create from-json --file my-page.json --dry-run # validate without writing
8
8
  cms-edit create from-json --file my-page.json --strict # fail on unknown JSON keys
9
+ cms-edit create from-json --file my-page.json --if-not-exists # return existing ID when slug exists
9
10
  ```
10
11
 
11
12
  Run `cms-edit index sync` before using any `*AssetFilename` shorthand (index-backed exact `file.fileName` lookup).
@@ -121,7 +122,7 @@ Each item in `components` (and `items` for collections) follows this shape:
121
122
  "contentType": "component",
122
123
 
123
124
  // The type discriminator value (e.g. HeroSimple, TextBlock, CardGrid).
124
- // Run `cms-edit types` to see valid values.
125
+ // Run `cms-edit schema types <content-type>` to see valid values.
125
126
  "type": "HeroSimple",
126
127
 
127
128
  // Optional. Human-readable label in Contentful's entry list. Defaults to `type`.
@@ -299,7 +300,7 @@ If a run fails mid-way (e.g. a missing internal link slug), the page entry is al
299
300
 
300
301
  Options:
301
302
  1. Delete the partial entry in Contentful, fix the dependency order, and re-run.
302
- 2. Repair the partial entry using `cms-edit run` with targeted `set`/`rtf` operations.
303
+ 2. Repair the partial entry using `cms-edit batch run` with targeted `set`/`rtf` operations.
303
304
  3. Use `cms-edit open --page-slug /solutions` + individual `add` operations to rebuild the content.
304
305
 
305
306
  ---
@@ -41,10 +41,10 @@ Sort by publication `date` (matches the website), not `sys.updatedAt`:
41
41
  ```bash
42
42
  cms-edit list --type article --sort date -n 10
43
43
  cms-edit search "keyword" --type article
44
- cms-edit sitemap --include article --sort date
44
+ cms-edit list --type article --sort date
45
45
  ```
46
46
 
47
- To find **draft** articles: `cms-edit sitemap --include article --status draft`, then `cms-edit peek --article-slug <slug>` or `cms-edit open --id <id>`. `peek` and `open` load draft content — only `list --published` is published-only.
47
+ To find **draft** articles: `cms-edit list --type article --sort date` (preview index includes drafts), then `cms-edit peek --article-slug <slug>` or `cms-edit open --id <id>`. `peek` and `open` load draft content — only `list --published` is published-only.
48
48
 
49
49
  ---
50
50
 
@@ -9,7 +9,7 @@ A `component` entry is an individual content section — a hero, text block, car
9
9
  | Field | Type | Description |
10
10
  |---|---|---|
11
11
  | `cmsLabel` | Text | Human-readable label in Contentful's entry list |
12
- | `componentType` | Text | Variant discriminator — e.g. `HeroSimple`, `TextBlock`, `Generic`. Run `cms-edit types` to see valid values |
12
+ | `componentType` | Text | Variant discriminator — e.g. `HeroSimple`, `TextBlock`, `Generic`. Run `cms-edit schema types component` to see valid values |
13
13
  | `heading` | Text | Main heading text |
14
14
  | `preHeading` | Text | Small label above the heading. Rendered as `<p>`, not a heading tag |
15
15
  | `postHeading` | Text | Small label below the heading. Rendered as `<p>`, not a heading tag |
@@ -17,8 +17,8 @@ A `component` entry is an individual content section — a hero, text block, car
17
17
  | `links` | Array of Links | CTA link entries attached to this component |
18
18
  | `visual` | Link (Asset or Entry) | Primary visual: image asset or responsive visual entry |
19
19
  | `mobileVisual` | Link (Asset or Entry) | Alternative visual for mobile viewports |
20
- | `backgroundColour` | Text | Named colour. Run `cms-edit colours` to see valid values |
21
- | `textColour` | Text | Named colour for text. Run `cms-edit colours` to see valid values |
20
+ | `backgroundColour` | Text | Named colour. Run `cms-edit schema colours` to see valid values |
21
+ | `textColour` | Text | Named colour for text. Run `cms-edit schema colours` to see valid values |
22
22
 
23
23
  Not all components use all fields — unused fields are simply null.
24
24
 
@@ -10,7 +10,7 @@ cms-edit create tag --slug easl-congress-2026 --name "EASL Congress 2026" --tag-
10
10
  --description "Research presented at EASL Congress 2026." --featured-image <logoAssetId>
11
11
 
12
12
  # Idempotent import helpers
13
- cms-edit ensure tag-type --slug conference-venue --name "Conference Venue"
13
+ cms-edit create tag-type --slug conference-venue --name "Conference Venue" --if-not-exists
14
14
  cms-edit resolve --tag-type-slug presentation-type
15
15
  ```
16
16
 
@@ -53,8 +53,8 @@ All creates are draft-only. See `cms-edit help taxonomy-from-json` for batch boo
53
53
  | `articleTemplate` | Link (Entry) | No | Template for article detail pages |
54
54
  | `articlePageTopContent` | Array of Links | No | Top content on article detail |
55
55
  | `structuredData` | Array of Links | No | Schema entries for article pages |
56
- | `backgroundColour` | Symbol | No | Valid values: `cms-edit colours` |
57
- | `textColour` | Symbol | No | Valid values: `cms-edit colours` |
56
+ | `backgroundColour` | Symbol | No | Valid values: `cms-edit schema colours` |
57
+ | `textColour` | Symbol | No | Valid values: `cms-edit schema colours` |
58
58
  | `indexed` | Boolean | Yes | Search indexing (default: `true`) |
59
59
  | `hidden` | Boolean | Yes | Sitemap visibility (default: `false`) |
60
60
  | `indexPageHidden` | Boolean | No | Hide article index page |
@@ -82,8 +82,8 @@ All creates are draft-only. See `cms-edit help taxonomy-from-json` for batch boo
82
82
  | `template` | Link (Entry) | No | Template for tag detail |
83
83
  | `topContent` | Array of Links | No | Top content on tag detail |
84
84
  | `structuredData` | Array of Links | No | Schema entries |
85
- | `backgroundColour` | Symbol | No | Valid values: `cms-edit colours` |
86
- | `textColour` | Symbol | No | Valid values: `cms-edit colours` |
85
+ | `backgroundColour` | Symbol | No | Valid values: `cms-edit schema colours` |
86
+ | `textColour` | Symbol | No | Valid values: `cms-edit schema colours` |
87
87
  | `indexed` | Boolean | Yes | Search indexing (default: `true`) |
88
88
  | `hidden` | Boolean | Yes | Sitemap visibility (default: `false`) |
89
89
  | `show` | Boolean | No | Visual display on cards/detail |
@@ -153,6 +153,6 @@ These top-level keys resolve to Contentful Entry/Asset links (same conventions a
153
153
  | `--if-not-exists` | Return existing entry ID when slug matches (exit 0) |
154
154
  | `--dry-run` | Validate field build and link resolution without writing |
155
155
 
156
- **Idempotency:** `--if-not-exists` and `ensure` check Contentful then create. They work for **sequential** import scripts. Do not run two creates for the same slug in parallel — both may succeed. Re-run with `--if-not-exists` to converge.
156
+ **Idempotency:** `--if-not-exists` checks Contentful then creates. They work for **sequential** import scripts. Do not run two creates for the same slug in parallel — both may succeed. Re-run with `--if-not-exists` to converge.
157
157
 
158
158
  Use `CMS_EDIT_JSON=1` or `--json` for machine-readable output: `{ ok, id, slug, contentType, status: "created"|"existing"|"dry-run" }` (`id` is empty on dry-run).
@@ -27,7 +27,7 @@ Many content types have a `*Type` field that picks a specific variant:
27
27
  | `component` | `componentType` | `HeroSimple`, `TextBlock`, `CardGrid`, `Generic`, etc. |
28
28
  | `collection` | `collectionType` | `CardGrid`, `Timeline`, `CategoryExplorer`, etc. |
29
29
 
30
- Run `cms-edit types` to see all valid discriminator values for the current space.
30
+ Run `cms-edit schema types <content-type>` to see all valid discriminator values for the current space.
31
31
 
32
32
  ---
33
33
 
@@ -35,7 +35,7 @@ Run `cms-edit types` to see all valid discriminator values for the current space
35
35
 
36
36
  The `backgroundColour` and `textColour` fields accept named values, not hex codes.
37
37
 
38
- Run `cms-edit colours` to see valid values for the current space.
38
+ Run `cms-edit schema colours` to see valid values for the current space.
39
39
 
40
40
  Common values: `"Navy"`, `"White"`, `"Grey"`, `"Black"`, `"Brand"`.
41
41
 
@@ -40,7 +40,7 @@ Catalog commands **prefer** the index when present (CMA fallback if a row is mis
40
40
 
41
41
  - `cms-edit list --type page|article|pageVariant|template|articleType|tagType|tag|navigation|navigationItem`
42
42
  - `cms-edit open`, `cms-edit resolve`, `cms-edit nav open` — see [lookup.md](./lookup.md)
43
- - `cms-edit create … --if-not-exists` / `ensure` for taxonomy
43
+ - `cms-edit create … --if-not-exists` for taxonomy
44
44
  - `tagTypeSlug` / `tagTypeName` shorthands in JSON create flows
45
45
 
46
46
  For `--type template`, `--slug` filters by **cmsLabel** (not URL slug).
@@ -10,7 +10,8 @@
10
10
  |---|---|
11
11
  | `cms-edit` | Command list + one-line descriptions |
12
12
  | `cms-edit <command> --help` | Options and synopsis for a command |
13
- | `cms-edit help <topic>` | Full narrative help with examples |
13
+ | `cms-edit guide [topic]` | Short getting-started markdown for hosted MCP (`overview`, `workflow`, `commands`, `troubleshooting`, `hosted`) |
14
+ | `cms-edit help <topic>` | Detailed CLI playbooks with examples (this index lists topics) |
14
15
 
15
16
  Available topics for `cms-edit help <topic>`:
16
17
 
@@ -22,8 +23,8 @@ Available topics for `cms-edit help <topic>`:
22
23
  | `person-from-json` | Batch-create person/author entries from JSON |
23
24
  | `article-tags-from-json` | Set tags on multiple articles from JSON |
24
25
  | `bulk-rtf-replace` | Find-replace plain text across Rich Text fields in entry trees |
25
- | `run` | Execute a batch of operations from a JSON file |
26
26
  | `batch` | Edit multiple entries by Contentful entry ID, then save once |
27
+ | `batch-run` | Execute a JSON script of operations (`batch run --file`) |
27
28
  | `fields` | Overview of all content types |
28
29
  | `fields-page` | All fields on a `page` entry |
29
30
  | `fields-article` | All fields on an `article` entry |
@@ -39,8 +40,8 @@ Available topics for `cms-edit help <topic>`:
39
40
  ## Quick-Start One-Liners
40
41
 
41
42
  ```bash
42
- # See what pages exist
43
- cms-edit sitemap
43
+ # See what pages exist (catalog index; auto-syncs if needed)
44
+ cms-edit list --type page
44
45
 
45
46
  # Open a page and inspect it
46
47
  cms-edit open --page-slug /about
@@ -69,7 +70,7 @@ cms-edit article-tags-from-json --file tags.json
69
70
  cms-edit bulk-rtf-replace --find "Old" --replace-plain "New" --dry-run
70
71
 
71
72
  # Run a batch of edits
72
- cms-edit run --file patch.json
73
+ cms-edit batch run --file patch.json
73
74
  ```
74
75
 
75
76
  ---
@@ -77,6 +78,9 @@ cms-edit run --file patch.json
77
78
  ## Commands by Category
78
79
 
79
80
  ### Navigation & Discovery
81
+
82
+ **Content discovery** uses the local catalog index (`index sync`) and `list --type <type>`. Catalog types: `page`, `article`, `pageVariant`, `template`, `articleType`, `tagType`, `tag`, `navigation`, `navigationItem`. Other types (e.g. `person`, `customType`, `pageTest`): `list --type <type> --force-cma`.
83
+
80
84
  | Command | Description |
81
85
  |---|---|
82
86
  | `open --page-slug <slug>` | Load a page into the session (see `help lookup`) |
@@ -86,15 +90,14 @@ cms-edit run --file patch.json
86
90
  | `snapshot` | Re-print the current session's content tree with @refs |
87
91
  | `read [@ref] [field]` | Read fields from the active session (@refs from snapshot) |
88
92
  | `read <id> --id [field]` | Read entry fields by ID without an open session |
89
- | `sitemap` | List all pages with their slugs |
90
- | `list --type <ct>` | List all entries of a content type |
93
+ | `list --type <ct>` | List catalog entries (page, article, pageVariant, template, taxonomy, nav, …) |
91
94
  | `search <query>` | Full-text search across entries |
92
95
  | `resolve <id>` | Resolve a Contentful entry or asset ID |
93
96
  | `resolve --page-slug <slug>` | Resolve an entry by flat lookup flag (no session); see `help lookup` |
94
- | `ensure tag-type\|tag\|article-type …` | Idempotent taxonomy create (returns existing entry if slug matches) |
95
- | `types` | List valid type-discriminator values |
96
- | `colours` | List valid backgroundColour / textColour values |
97
- | `schema` | Display the content model schema |
97
+ | `create tag-type\|tag\|article-type … --if-not-exists` | Idempotent taxonomy create (returns existing entry if slug matches) |
98
+ | `schema types <content-type>` | List valid type-discriminator values |
99
+ | `schema colours` | List valid backgroundColour / textColour values |
100
+ | `schema <content-type>` | Display field definitions for a content type |
98
101
  | `health` | Check Contentful API connectivity |
99
102
 
100
103
  ### Editing
@@ -115,7 +118,6 @@ cms-edit run --file patch.json
115
118
  | `diff` | Show unsaved changes |
116
119
  | `save` | Write changes to Contentful as drafts |
117
120
  | `discard` | Discard unsaved changes |
118
- | `revert` | Revert an entry to its published version |
119
121
 
120
122
  ### Content Creation
121
123
  | Command | Description |
@@ -135,17 +137,19 @@ cms-edit run --file patch.json
135
137
  ### Batch Operations
136
138
  | Command | Description |
137
139
  |---|---|
138
- | `run --file <path>` | Execute a JSON batch of operations |
140
+ | `batch set <entryId>:field=value …` | Queue scalar updates on multiple entries by ID |
141
+ | `batch diff` / `batch save` / `batch discard` | Review and commit batch session |
142
+ | `batch run --file <path>` | Execute a JSON batch of operations |
139
143
 
140
144
  ### Utilities
141
145
  | Command | Description |
142
146
  |---|---|
143
- | `backup` | Snapshot Contentful state |
144
- | `audit` | Audit content issues (images, alt-text, orphaned) |
147
+ | `asset review` | Audit visual assets (filename, alt, size, dimensions) |
145
148
  | `preview url` | Generate a page preview URL |
146
149
  | `preview showcase` | Generate a component/collection showcase URL |
147
150
  | `preview` | Generate preview URLs |
148
- | `skill` | Manage installed skills |
151
+
152
+ Agent skills: `npx skills add @se-studio/skills`
149
153
 
150
154
  ---
151
155
 
@@ -163,10 +167,11 @@ cms-edit run --file patch.json
163
167
 
164
168
  ## Further Reading
165
169
 
170
+ - `cms-edit guide overview` — hosted/MCP getting started
166
171
  - `cms-edit help workflow` — step-by-step editing guide
167
172
  - `cms-edit help create-from-json` — single-shot page creation
168
173
  - `cms-edit help taxonomy-from-json` — batch taxonomy bootstrap
169
174
  - `cms-edit help fields-taxonomy` — tagType, articleType, and tag field reference
170
- - `cms-edit help run` — batch operations and variable binding
175
+ - `cms-edit help batch-run` — JSON operation scripts and variable binding
171
176
  - `cms-edit help fields-page` — complete page field reference
172
- - `cms-edit --docs` — full README path (for reading in an editor)
177
+ - `cms-edit --docs` — full README path (for reading in an editor)
@@ -35,7 +35,7 @@ cms-edit open --page-slug /
35
35
  cms-edit open --page-slug /index
36
36
  ```
37
37
 
38
- `sitemap` lists the homepage as `/index` (display formatting). Non-standard sites (e.g. Pedestal `home`) document overrides in the editor-pack `routing` resource.
38
+ `list --type page` shows slugs as stored in Contentful. Non-standard homepage slugs (e.g. Pedestal `home`) are documented in the editor-pack `routing` resource; open with `--page-slug /` or the CMS slug from routing.
39
39
 
40
40
  ```bash
41
41
  cms-edit open --page-slug /pricing/
@@ -54,7 +54,7 @@ You can also pass a full Rich Text document on `bio` inside `fields` instead of
54
54
 
55
55
  ```bash
56
56
  cms-edit create person --slug jane-smith --name "Jane Smith" --job-title "CMO" --bio-file bio.md
57
- cms-edit ensure person --slug jane-smith --name "Jane Smith"
57
+ cms-edit create person --slug jane-smith --name "Jane Smith" --if-not-exists
58
58
  ```
59
59
 
60
60
  ---
@@ -69,7 +69,7 @@ cms-edit set @p0 authors <personId1>,<personId2> --links
69
69
  cms-edit diff && cms-edit save
70
70
  ```
71
71
 
72
- Or batch-link in a `cms-edit run` ops file.
72
+ Or batch-link in a `cms-edit batch run` ops file.
73
73
 
74
74
  ---
75
75
 
@@ -78,5 +78,5 @@ Or batch-link in a `cms-edit run` ops file.
78
78
  | Command | Purpose |
79
79
  |---|---|
80
80
  | `cms-edit create person` | Create one person |
81
- | `cms-edit ensure person` | Idempotent single create |
81
+ | `cms-edit create person … --if-not-exists` | Idempotent single create |
82
82
  | `cms-edit help fields` | Field overview |
@@ -88,7 +88,7 @@ Human mode prints a summary per entry. JSON mode (`CMS_EDIT_JSON=1` or `--json`)
88
88
 
89
89
  ## Idempotent import pattern
90
90
 
91
- Combine batch bootstrap with `ensure` and `resolve` for script-friendly imports:
91
+ Combine batch bootstrap with `create … --if-not-exists` and `resolve` for script-friendly imports:
92
92
 
93
93
  ```bash
94
94
  # One-time taxonomy bootstrap
@@ -99,7 +99,7 @@ cms-edit resolve --tag-type-slug presentation-type --json
99
99
  cms-edit resolve --tag-slug asco-2025 --json
100
100
 
101
101
  # Add a single entry idempotently
102
- cms-edit ensure tag --slug new-tag --name "New Tag" --tag-type presentation-type
102
+ cms-edit create tag --slug new-tag --name "New Tag" --tag-type presentation-type --if-not-exists
103
103
  ```
104
104
 
105
105
  ---
@@ -111,5 +111,5 @@ cms-edit ensure tag --slug new-tag --name "New Tag" --tag-type presentation-type
111
111
  | `cms-edit create tag-type` | Create one tagType |
112
112
  | `cms-edit create article-type` | Create one articleType |
113
113
  | `cms-edit create tag` | Create one tag |
114
- | `cms-edit ensure …` | Alias for create with `--if-not-exists` |
114
+ | `cms-edit create … --if-not-exists` | Idempotent single-entry create |
115
115
  | `cms-edit help fields-taxonomy` | Full field reference |
@@ -8,7 +8,7 @@ The standard workflow is: **open → snapshot → read/edit → diff → save**.
8
8
 
9
9
  ```bash
10
10
  # List all pages with slugs
11
- cms-edit sitemap
11
+ cms-edit list --type page
12
12
 
13
13
  # Search for entries by text
14
14
  cms-edit search "hepatology"
@@ -58,7 +58,7 @@ When a site editor pack is deployed, these MCP resources provide **site-specific
58
58
  | `cms_edit_create_article` | Create an article (requires article type; featured image rules) |
59
59
  | `cms_edit_create_from_doc` | Create a page from a freeform document (infer → confirm → dry-run) |
60
60
  | `cms_edit_create_article_from_doc` | Create an article from a freeform document |
61
- | `cms_edit_taxonomy` | Import or ensure taxonomy entries |
61
+ | `cms_edit_taxonomy` | Import taxonomy entries (`create … --if-not-exists`) |
62
62
  | `cms_edit_bulk_seo` | Update SEO meta descriptions (read `task-seo-descriptions`) |
63
63
  | `cms_edit_bulk_find_replace` | Bulk find-replace in rich text across entries |
64
64
  | `cms_edit_bulk_article_tags` | Update tags on one or more articles |
@@ -81,7 +81,7 @@ Each step is a separate `cms_edit` call. Sessions persist in Redis between calls
81
81
  ["open", "--id", "<entry-id>"]
82
82
  ```
83
83
 
84
- **Homepage (all SE Studio sites):** Contentful stores the marketing homepage slug as `index`. The live site URL is `/`. In cms-edit, `--page-slug /` and `--page-slug /index` are equivalent (both resolve to `index`). `sitemap` displays this page as `/index` — that is formatting, not a different slug. Read `cms-edit://customer/routing` for site-specific exceptions (e.g. Pedestal uses `home`).
84
+ **Homepage (all SE Studio sites):** Contentful stores the marketing homepage slug as `index`. The live site URL is `/`. In cms-edit, `--page-slug /` and `--page-slug /index` are equivalent (both resolve to `index`). Read `cms-edit://customer/routing` for site-specific exceptions (e.g. Pedestal uses `home`).
85
85
 
86
86
  ### 2. Snapshot — see the content tree
87
87
 
@@ -169,7 +169,7 @@ Use MCP prompt `cms_edit_create_article` for guided creation.
169
169
  ### List all pages
170
170
 
171
171
  ```
172
- ["sitemap"]
172
+ ["list", "--type", "page"]
173
173
  ```
174
174
 
175
175
  ### Refresh local index (assets, media, templates, taxonomy)
@@ -254,12 +254,12 @@ Asset search and media-by-filename list **require** the index. Template/taxonomy
254
254
  ["list", "--type", "article", "--sort", "date", "-n", "10"]
255
255
  ```
256
256
 
257
- Alternatives: `["search", "<keyword>", "--type", "article"]` (also sorts by date), `["sitemap", "--include", "article", "--sort", "date"]`.
257
+ Alternative: `["search", "<keyword>", "--type", "article"]` (also sorts by date).
258
258
 
259
259
  **Draft articles** — `peek` and `open` load drafts via CMA (not published-only). To discover drafts:
260
260
 
261
261
  ```json
262
- ["sitemap", "--include", "article", "--status", "draft"]
262
+ ["list", "--type", "article", "--sort", "date"]
263
263
  ["search", "<title>", "--type", "article"]
264
264
  ["list", "--type", "article", "--slug", "<slug>"]
265
265
  ```
@@ -272,7 +272,7 @@ After upgrading cms-edit, run `["index", "sync"]` once so the local index includ
272
272
 
273
273
  ## Command reference (cms_edit args)
274
274
 
275
- **Discovery:** `sitemap`, `list --type <type>`, `search <query>`, `schema <contentType>`, `index sync`, `index status`
275
+ **Discovery:** `list --type <type>`, `search <query>`, `schema <contentType>`, `index sync`, `index status`
276
276
 
277
277
  **Reading:** `open --page-slug <slug>`, `open --id <id>`, `peek --page-slug <slug>`, `peek --id <id>`, `snapshot`, `read <ref>`, `read <ref> <field>`, `read <id> --id [field]`
278
278