bulk-cms-update by webflow/webflow-skills
npx skills add https://github.com/webflow/webflow-skills --skill bulk-cms-update通过全面的验证、细粒度的审批和回滚功能,创建或更新多个 CMS 项目。
始终对所有操作使用 Webflow MCP 工具:
data_sites_tool 和 list_sites 操作来列出可用站点data_cms_tool 和 get_collection_list 操作来列出 CMS 集合data_cms_tool 和 get_collection_details 操作来获取集合模式data_cms_tool 和 list_collection_items 操作来检索现有项目广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
data_cms_tool 和 create_collection_items 操作来创建项目(草稿或已发布)data_cms_tool 和 update_collection_items 操作来更新项目(草稿或已发布)data_cms_tool 和 publish_collection_items 操作来发布草稿项目webflow_guide_tool 获取最佳实践context 参数(15-25 个单词,第三人称视角)data_cms_tool 和 get_collection_list 操作来显示可用集合data_cms_tool 和 get_collection_details 操作来检索:
* 所有字段定义及其类型
* 必填字段与可选字段
* 字段验证(最大长度、模式等)
* 引用字段的目标data_cms_tool 和 list_collection_items 操作来获取当前数据重要提示 - 高效项目查找:
* 当按名称搜索特定项目时,**始终**使用 `name` 参数进行过滤(例如,`name: "Pikachu"`)
* 当按 slug 搜索时,使用 `slug` 参数进行过滤
* **切勿**先获取所有项目,然后在结果中搜索——这会浪费 API 调用和令牌
* 仅当需要显示所有项目或不知道要定位哪些特定项目时,才获取完整列表
*_live 端点)
* 创建为草稿(使用常规端点 + 手动发布)用户提示:
Add 2 blog posts about Webflow MCP and update the first blog to say "Top" instead of "Best"
步骤 1:站点与集合选择
📋 批量 CMS 更新设置
可用站点:
1. MCP Demo#1
2. MCP Demo#2
3. MCP Demo#3
请选择一个站点 (1-3):
用户选择:1
可用集合 (MCP Demo#1):
└── Blog Posts (9 个项目)
字段:name, slug, post-body, post-summary, main-image, thumbnail-image, featured, color
是否继续处理 Blog Posts 集合?(yes/no)
用户确认:yes
步骤 2:数据收集
🔍 集合模式:Blog Posts
必填字段:
- name (PlainText,最多 256 个字符)
- slug (PlainText,最多 256 个字符,仅限字母数字)
可选字段:
- post-body (RichText)
- post-summary (PlainText)
- main-image (Image)
- thumbnail-image (Image)
- featured (Switch, true/false)
- color (Color, 十六进制格式)
我将解析您的请求:
- 创建 2 篇关于 Webflow MCP 的新文章
- 更新第一篇文章:"Best" → "Top"
正在生成项目...
步骤 3:验证与预览
📋 预览:批量 CMS 更新
集合:Blog Posts
操作:创建 2 个项目 + 更新 1 个项目
---
### 🆕 要创建的项目 (2)
[1] ✓ 新文章
name: "Webflow MCP: The Future of Web Development"
slug: "webflow-mcp-future-web-development"
post-summary: "Discover how Webflow MCP is revolutionizing..."
post-body: "<h1>The Future is Here</h1><p>..."
featured: true
color: "#9B59B6"
✅ 所有验证通过
[2] ✓ 新文章
name: "Why Webflow MCP Will Transform Your Workflow in 2026"
slug: "webflow-mcp-transform-workflow-2026"
post-summary: "Learn how Webflow MCP's integration..."
post-body: "<h1>Transform Your Workflow</h1><p>..."
featured: true
color: "#3498DB"
✅ 所有验证通过
---
### ✏️ 要更新的项目 (1)
[3] ✓ 更新现有项目
项目 ID: 69615f84fc6ce1aa444d24d5
Slug: why-webflow-is-best-2026-ai
更改:
name: "Why Webflow is the Best Choice for 2026" → "Why Webflow is the Top Choice for 2026"
✅ 所有验证通过
---
**摘要:**
- ✅ 将创建 2 个项目
- ✅ 将更新 1 个项目
- ⚠️ 0 个警告
- ❌ 0 个错误
**发布选项:**
1. 立即发布(推荐)
2. 保存为草稿
您希望处理哪些项目?
- 输入 "all" 处理所有 3 个项目
- 输入数字以跳过(例如,"2" 跳过项目 2)
- 输入 "none" 取消
选择发布选项 (1/2): _
选择项目: _
用户选择:1, all
⚠️ 您即将:
- 创建 2 篇新博客文章(立即发布)
- 更新 1 篇现有博客文章(更改立即发布)
输入 "confirm" 继续。
用户确认:confirm
步骤 4:执行与结果
🔄 正在处理批量更新...
创建项目:██████████ 100% (2/2)
更新项目:██████████ 100% (1/1)
✅ 批量 CMS 更新完成!
---
### 🆕 已创建项目 (2)
✓ [1] "Webflow MCP: The Future of Web Development"
ID: 6961640c66de07bed9aacf3e
Slug: webflow-mcp-future-web-development
发布时间:Jan 9, 2026, 8:24 PM
✓ [2] "Why Webflow MCP Will Transform Your Workflow in 2026"
ID: 6961640c66de07bed9aacf41
Slug: webflow-mcp-transform-workflow-2026
发布时间:Jan 9, 2026, 8:24 PM
---
### ✏️ 已更新项目 (1)
✓ [3] "Why Webflow is the Top Choice for 2026"
ID: 69615f84fc6ce1aa444d24d5
已更改:标题已更新
发布时间:Jan 9, 2026, 8:24 PM
---
**摘要:**
- ✅ 2 个项目创建成功
- ✅ 1 个项目更新成功
- ❌ 0 个失败
- ⏱️ 在 3.2 秒内完成
**总项目数:** 11(原为 9)
📋 回滚可用:
最近更新:3 个项目刚刚修改
在 5 分钟内输入 "undo" 以恢复所有更改
替代方案:带验证警告
📋 预览:批量 CMS 更新
[1] ⚠️ 新文章
name: "Test Post"
slug: "test"
post-summary: "Hi"
⚠️ 警告:post-summary 太短(< 20 个字符)- 可能影响 SEO
⚠️ 警告:slug 太通用 - 考虑使用更具描述性的 slug
⚠️ 警告:缺少 post-body - 内容将为空
✅ 必填字段存在(可以继续)
[2] ❌ 新文章
name: "Another Post!!!"
slug: "another post"
❌ 错误:slug 包含空格(必须仅为字母数字和连字符)
❌ 错误:name 包含不允许的特殊字符
🔴 无法继续 - 请先修复错误
---
**摘要:**
- ✅ 1 个项目可以创建(带警告)
- ❌ 1 个项目有错误(无法创建)
修复项目 2 还是跳过它?(fix/skip)
站点与集合选择:
sites_list 获取实际的站点列表灵活的输入格式: 接受多种格式的数据:
CREATE:
- name: "Post Title"
slug: "post-slug"
featured: true
2. 自然语言:
"Add a blog post called 'Getting Started' with slug 'getting-started'"
3. CSV 风格:
name,slug,featured
"Post 1","post-1",true
"Post 2","post-2",false
4. 项目符号列表:
- Post 1: "Title" (slug: title-slug)
- Post 2: "Another" (slug: another-slug)
解析规则:
高效项目查找: 当为更新获取现有项目时,使用过滤参数以最小化 API 调用:
# 良好 - 当你知道项目名称时按名称过滤
collections_items_list_items(collection_id, name: "Pikachu")
# 良好 - 当你知道 slug 时按 slug 过滤
collections_items_list_items(collection_id, slug: "pikachu")
# 糟糕 - 获取所有项目然后在结果中搜索
collections_items_list_items(collection_id) # 返回 100 个项目
# 然后在结果中手动搜索 "Pikachu"...
name 或 slug 参数字段名称验证:
必填字段:
name 和 slug 对于 Webflow CMS 始终是必填的字段类型验证:
PlainText:
RichText:
Image/File:
Switch (Boolean):
Color:
引用字段:
Slug 验证:
约束验证:
预览格式:
对于 创建操作:
[1] ✓ 新文章
field1: "value1"
field2: "value2"
field3: "value3"
✅ 所有验证通过
对于 更新操作:
[2] ✓ 更新现有项目
项目 ID: xxx
Slug: existing-slug
更改:
field1: "old value" → "new value"
field2: (无变化)
field3: "old" → "new"
✅ 所有验证通过
对于 带警告的项目:
[3] ⚠️ 新文章
name: "Title"
⚠️ 警告:缺少可选字段 'post-body'
⚠️ 警告:Slug 可能太通用
✅ 可以继续(仅警告)
对于 带错误的项目:
[4] ❌ 新文章
name: "Title!!!"
slug: "bad slug"
❌ 错误:slug 包含空格
❌ 错误:name 包含特殊字符
🔴 无法继续 - 必须修复错误
细粒度审批:
发布选项:
*_live 端点(推荐)分批处理:
每批最多 50 个项目
显示进度条:
Processing: ████████░░ 80% (40/50 items)
预计剩余时间
处理速率限制(暂停/重试)
错误处理:
对于单个项目失败:
Processing item 3/10...
❌ 失败:"Post Title"
错误:Slug 已存在
→ 跳过到下一个项目
继续处理:
对于关键失败:
❌ 关键错误:API 连接丢失
错误前已处理的项目:7/50
- 5 个创建成功
- 2 个更新成功
- 43 个未处理
重试失败的项目吗?(yes/no)
成功报告格式:
✅ 操作完成
已创建:25 个项目
- 显示前 5 个及其 ID
- 如果 > 5,显示 "[+20 more]"
已更新:10 个项目
- 显示前 5 个及其 ID
- 如果 > 5,显示 "[+5 more]"
失败:2 个项目
- "项目名称":错误原因
- "项目名称":错误原因
总时间:12.5 秒
每秒处理项目数:2.8
回滚能力:
在更改前存储:
{
"timestamp": "2026-01-09T20:24:44Z",
"operations": [
{
"type": "update",
"itemId": "xxx",
"originalValues": {
"name": "Old Title",
"featured": false
},
"newValues": {
"name": "New Title",
"featured": true
}
}
]
}
提供回滚:
📋 回滚可用:
最近更新:15 个项目在 2 分钟前修改
回滚将:
- 将 10 个已更新项目恢复到之前的值
- 删除 5 个新创建的项目
⚠️ 输入 "undo" 以回滚所有更改
⚠️ 回滚在 3 分钟后过期
批次大小:
进度指示器:
Creating items...
Batch 1/3: ████████████████████ 100% (50/50)
Batch 2/3: ████████████████████ 100% (50/50)
Batch 3/3: ██████░░░░░░░░░░░░░░ 30% (15/50)
速率限制:
清晰且可操作:
❌ 糟糕:
"Error: validation failed"
✅ 良好:
"项目 3 的验证错误:
- Slug 'my post' 包含空格
- 更改为:'my-post'(仅限字母数字和连字符)"
错误类别:
始终:
切勿:
边缘情况:
用户体验:
每周安装次数
90
仓库
GitHub Stars
36
首次出现
Jan 21, 2026
安全审计
安装于
cursor79
codex76
opencode76
gemini-cli75
github-copilot69
amp67
Create or update multiple CMS items with comprehensive validation, granular approval, and rollback capability.
ALWAYS use Webflow MCP tools for all operations:
data_sites_tool with action list_sites for listing available sitesdata_cms_tool with action get_collection_list for listing CMS collectionsdata_cms_tool with action get_collection_details for fetching collection schemasdata_cms_tool with action list_collection_items for retrieving existing itemsdata_cms_tool with action create_collection_items for creating items (draft or published)data_cms_tool with action update_collection_items for updating items (draft or published)data_cms_tool with action publish_collection_items for publishing draft itemswebflow_guide_tool to get best practices before startingcontext parameter (15-25 words, third-person perspective)data_cms_tool with action get_collection_list to show available collectionsdata_cms_tool with action get_collection_details to retrieve:
Ask operation type : Clarify what user wants to do:
Receive data from user : Accept data in flexible formats:
Parse and normalize : Convert user data into structured format
Fetch existing items (if updates involved): Use Webflow MCP's data_cms_tool with action list_collection_items to get current data
IMPORTANT - Efficient Item Lookup:
* When searching for specific items by name, ALWAYS use the `name` parameter to filter (e.g., `name: "Pikachu"`)
* When searching by slug, use the `slug` parameter to filter
* NEVER fetch all items first and then search through the results - this wastes API calls and tokens
* Only fetch the full list when you need to display all items or don't know which specific items to target
*_live endpoints)
* Create as drafts (use regular endpoints + manual publish)User prompt:
Add 2 blog posts about Webflow MCP and update the first blog to say "Top" instead of "Best"
Step 1: Site & Collection Selection
📋 Bulk CMS Update Setup
Available Sites:
1. MCP Demo#1
2. MCP Demo#2
3. MCP Demo#3
Please select a site (1-3):
User selects: 1
Available Collections in MCP Demo#1:
└── Blog Posts (9 items)
Fields: name, slug, post-body, post-summary, main-image, thumbnail-image, featured, color
Proceed with Blog Posts collection? (yes/no)
User confirms: yes
Step 2: Data Collection
🔍 Collection Schema: Blog Posts
Required Fields:
- name (PlainText, max 256 chars)
- slug (PlainText, max 256 chars, alphanumeric only)
Optional Fields:
- post-body (RichText)
- post-summary (PlainText)
- main-image (Image)
- thumbnail-image (Image)
- featured (Switch, true/false)
- color (Color, hex format)
I'll parse your request:
- Create 2 new posts about Webflow MCP
- Update first post: "Best" → "Top"
Generating items...
Step 3: Validation & Preview
📋 Preview: Bulk CMS Update
Collection: Blog Posts
Operations: Create 2 items + Update 1 item
---
### 🆕 Items to Create (2)
[1] ✓ NEW POST
name: "Webflow MCP: The Future of Web Development"
slug: "webflow-mcp-future-web-development"
post-summary: "Discover how Webflow MCP is revolutionizing..."
post-body: "<h1>The Future is Here</h1><p>..."
featured: true
color: "#9B59B6"
✅ All validations passed
[2] ✓ NEW POST
name: "Why Webflow MCP Will Transform Your Workflow in 2026"
slug: "webflow-mcp-transform-workflow-2026"
post-summary: "Learn how Webflow MCP's integration..."
post-body: "<h1>Transform Your Workflow</h1><p>..."
featured: true
color: "#3498DB"
✅ All validations passed
---
### ✏️ Items to Update (1)
[3] ✓ UPDATE EXISTING
Item ID: 69615f84fc6ce1aa444d24d5
Slug: why-webflow-is-best-2026-ai
Changes:
name: "Why Webflow is the Best Choice for 2026" → "Why Webflow is the Top Choice for 2026"
✅ All validations passed
---
**Summary:**
- ✅ 2 items will be created
- ✅ 1 item will be updated
- ⚠️ 0 warnings
- ❌ 0 errors
**Publish Options:**
1. Publish immediately (recommended)
2. Save as drafts
Which items would you like to process?
- Type "all" to process all 3 items
- Type numbers to skip (e.g., "2" to skip item 2)
- Type "none" to cancel
Select publish option (1/2): _
Select items: _
User selects: 1, all
⚠️ You're about to:
- Create 2 new blog posts (published live)
- Update 1 existing blog post (changes published live)
Type "confirm" to proceed.
User confirms: confirm
Step 4: Execution & Results
🔄 Processing bulk update...
Creating items: ██████████ 100% (2/2)
Updating items: ██████████ 100% (1/1)
✅ Bulk CMS Update Complete!
---
### 🆕 Created Items (2)
✓ [1] "Webflow MCP: The Future of Web Development"
ID: 6961640c66de07bed9aacf3e
Slug: webflow-mcp-future-web-development
Published: Jan 9, 2026, 8:24 PM
✓ [2] "Why Webflow MCP Will Transform Your Workflow in 2026"
ID: 6961640c66de07bed9aacf41
Slug: webflow-mcp-transform-workflow-2026
Published: Jan 9, 2026, 8:24 PM
---
### ✏️ Updated Items (1)
✓ [3] "Why Webflow is the Top Choice for 2026"
ID: 69615f84fc6ce1aa444d24d5
Changed: title updated
Published: Jan 9, 2026, 8:24 PM
---
**Summary:**
- ✅ 2 items created successfully
- ✅ 1 item updated successfully
- ❌ 0 failures
- ⏱️ Completed in 3.2 seconds
**Total Items:** 11 (was 9)
📋 Rollback Available:
Last update: 3 items modified just now
Type "undo" within 5 minutes to revert all changes
Alternative: With Validation Warnings
📋 Preview: Bulk CMS Update
[1] ⚠️ NEW POST
name: "Test Post"
slug: "test"
post-summary: "Hi"
⚠️ Warning: post-summary too short (< 20 chars) - may affect SEO
⚠️ Warning: slug too generic - consider more descriptive slug
⚠️ Warning: missing post-body - content will be empty
✅ Required fields present (can proceed)
[2] ❌ NEW POST
name: "Another Post!!!"
slug: "another post"
❌ Error: slug contains spaces (must be alphanumeric with hyphens only)
❌ Error: name contains special characters not allowed
🔴 Cannot proceed - fix errors first
---
**Summary:**
- ✅ 1 item can be created (with warnings)
- ❌ 1 item has errors (cannot create)
Fix item 2 or skip it? (fix/skip)
Site & Collection Selection:
sites_listFlexible Input Formats: Accept data in multiple formats:
CREATE:
- name: "Post Title"
slug: "post-slug"
featured: true
2. Natural Language:
"Add a blog post called 'Getting Started' with slug 'getting-started'"
3. CSV-style:
name,slug,featured
"Post 1","post-1",true
"Post 2","post-2",false
4. Bullet Lists:
- Post 1: "Title" (slug: title-slug)
- Post 2: "Another" (slug: another-slug)
Parsing Rules:
Efficient Item Lookup: When fetching existing items for updates, use filter parameters to minimize API calls:
# Good - Filter by name when you know the item name
collections_items_list_items(collection_id, name: "Pikachu")
# Good - Filter by slug when you know the slug
collections_items_list_items(collection_id, slug: "pikachu")
# Bad - Fetching all items then searching through results
collections_items_list_items(collection_id) # Returns 100 items
# Then manually searching for "Pikachu" in results...
name or slug parameters when searching for specific itemsField Name Validation:
Required Fields:
name and slug are ALWAYS required for Webflow CMSField Type Validation:
PlainText:
RichText:
Image/File:
Switch (Boolean):
Color:
Reference Fields:
Slug Validation:
Constraint Validation:
Preview Format:
For Create Operations:
[1] ✓ NEW POST
field1: "value1"
field2: "value2"
field3: "value3"
✅ All validations passed
For Update Operations:
[2] ✓ UPDATE EXISTING
Item ID: xxx
Slug: existing-slug
Changes:
field1: "old value" → "new value"
field2: (no change)
field3: "old" → "new"
✅ All validations passed
For Items with Warnings:
[3] ⚠️ NEW POST
name: "Title"
⚠️ Warning: Missing optional field 'post-body'
⚠️ Warning: Slug may be too generic
✅ Can proceed (warnings only)
For Items with Errors:
[4] ❌ NEW POST
name: "Title!!!"
slug: "bad slug"
❌ Error: slug contains spaces
❌ Error: name has special characters
🔴 Cannot proceed - must fix errors
Granular Approval:
Publish Options:
*_live endpoints (recommended)Batch Processing:
Maximum 50 items per batch
Show progress bar:
Processing: ████████░░ 80% (40/50 items)
Estimated time remaining
Handle rate limits (pause/retry)
Error Handling:
For Single Item Failures:
Processing item 3/10...
❌ Failed: "Post Title"
Error: Slug already exists
→ Skipping to next item
Continue Processing:
For Critical Failures:
❌ Critical Error: API connection lost
Items processed before error: 7/50
- 5 created successfully
- 2 updated successfully
- 43 not processed
Retry failed items? (yes/no)
Success Report Format:
✅ Operation Complete
Created: 25 items
- Show first 5 with IDs
- "[+20 more]" if > 5
Updated: 10 items
- Show first 5 with IDs
- "[+5 more]" if > 5
Failed: 2 items
- "Item Name": Error reason
- "Item Name": Error reason
Total time: 12.5 seconds
Items per second: 2.8
Rollback Capability:
Store Before Changes:
{
"timestamp": "2026-01-09T20:24:44Z",
"operations": [
{
"type": "update",
"itemId": "xxx",
"originalValues": {
"name": "Old Title",
"featured": false
},
"newValues": {
"name": "New Title",
"featured": true
}
}
]
}
Offer Rollback:
📋 Rollback Available:
Last update: 15 items modified 2 minutes ago
Rollback will:
- Restore 10 updated items to previous values
- Delete 5 newly created items
⚠️ Type "undo" to rollback all changes
⚠️ Rollback expires in 3 minutes
Batch Size:
Progress Indicators:
Creating items...
Batch 1/3: ████████████████████ 100% (50/50)
Batch 2/3: ████████████████████ 100% (50/50)
Batch 3/3: ██████░░░░░░░░░░░░░░ 30% (15/50)
Rate Limiting:
Clear and Actionable:
❌ Bad:
"Error: validation failed"
✅ Good:
"Validation Error on item 3:
- Slug 'my post' contains spaces
- Change to: 'my-post' (alphanumeric with hyphens only)"
Error Categories:
Always:
Never:
Edge Cases:
User Experience:
Weekly Installs
90
Repository
GitHub Stars
36
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
cursor79
codex76
opencode76
gemini-cli75
github-copilot69
amp67
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
43,100 周安装
阿里云平台文档API审查冒烟测试指南 - 自动化测试与云服务验证
136 周安装
敏捷教练技能指南:团队转型、框架选择与GROW模型辅导
125 周安装
Auth0 迁移指南:从 Firebase、Cognito 等平台批量导入用户到 Auth0
156 周安装
AgentMail 工具包:为 AI 智能体添加电子邮件收发与管理功能 | 支持多框架
168 周安装
Boss直聘职位搜索技能 - AI自动化爬取招聘信息,支持薪资、公司规模筛选
139 周安装
Windows 基础设施管理员:Active Directory、组策略、PowerShell 自动化与混合身份管理专家
132 周安装