Skip to content

Commit 4023770

Browse files
yan-xie-nkclaude
andcommitted
fix(skills): standardize stale tool name references across 5 skills
Replace old API-style tool names with correct MCP format: - sites_list → data_sites_tool with action list_sites - sites_get → data_sites_tool with action get_site - sites_publish → data_sites_tool with action publish_site - collections_get → data_cms_tool with action get_collection_details - collections_list → data_cms_tool with action get_collection_list - collections_items_list_items → data_cms_tool with action list_collection_items - collection_fields_create_* → data_cms_tool with action create_collection_*_field - pages_list → data_pages_tool with action list_pages Skills fixed: safe-publish, bulk-cms-update, site-audit, cms-best-practices, cms-collection-setup Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 54ac5df commit 4023770

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

plugins/webflow-skills/skills/bulk-cms-update/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ Fix item 2 or skip it? (fix/skip)
316316
### Phase 1: Critical Requirements
317317

318318
**Site & Collection Selection:**
319-
- Always fetch actual site list using `sites_list`
319+
- Always fetch actual site list using `data_sites_tool` with action `list_sites`
320320
- Never assume site IDs
321321
- Show collection names and item counts
322322
- Display field schema before accepting data
@@ -364,13 +364,13 @@ When fetching existing items for updates, use filter parameters to minimize API
364364

365365
```
366366
# Good - Filter by name when you know the item name
367-
collections_items_list_items(collection_id, name: "Pikachu")
367+
data_cms_tool(action: "list_collection_items", collection_id, name: "Pikachu")
368368
369369
# Good - Filter by slug when you know the slug
370-
collections_items_list_items(collection_id, slug: "pikachu")
370+
data_cms_tool(action: "list_collection_items", collection_id, slug: "pikachu")
371371
372372
# Bad - Fetching all items then searching through results
373-
collections_items_list_items(collection_id) # Returns 100 items
373+
data_cms_tool(action: "list_collection_items", collection_id) # Returns 100 items
374374
# Then manually searching for "Pikachu" in results...
375375
```
376376

plugins/webflow-skills/skills/cms-best-practices/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ Let me know what you'd like me to check!
12961296
### Phase 1: Discovery Best Practices
12971297
12981298
**Always Start With:**
1299-
1. **Identify plan limits** - Use `sites_get` to check collection/item limits
1299+
1. **Identify plan limits** - Use `data_sites_tool` with action `get_site` to check collection/item limits
13001300
2. **Analyze existing structure** - List collections before recommending changes
13011301
3. **Understand content volume** - Check item counts to assess scale
13021302
4. **Review current pages** - See how content is currently displayed

plugins/webflow-skills/skills/cms-collection-setup/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ Relationships Configured:
708708
### Phase 1: Discovery Best Practices
709709

710710
**Site Selection:**
711-
- Always use `sites_list` to get available sites
711+
- Always use `data_sites_tool` with action `list_sites` to get available sites
712712
- Never assume site ID
713713
- Verify user has correct site selected
714714

@@ -932,14 +932,14 @@ Field Type → Tool to use:
932932
933933
PlainText, RichText, Email, Phone, Link, Number,
934934
Image, MultiImage, File, Video, DateTime, Switch, Color
935-
collection_fields_create_static
935+
data_cms_tool with action create_collection_static_field
936936
937937
Option
938-
collection_fields_create_option
938+
data_cms_tool with action create_collection_option_field
939939
(requires metadata.options array)
940940
941941
Reference, MultiReference
942-
collection_fields_create_reference
942+
data_cms_tool with action create_collection_reference_field
943943
(requires metadata.collectionId)
944944
```
945945

plugins/webflow-skills/skills/safe-publish/SKILL.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Publish a Webflow site with comprehensive preview, validation, and explicit conf
4242
- Categorize by type (static, CMS template, archived, draft)
4343
6. **List all collections**: Use Webflow MCP's `data_cms_tool` with action `get_collection_list`
4444
7. **Check for draft items**:
45-
- For each collection, use Webflow MCP's `collections_items_list_items`
45+
- For each collection, use Webflow MCP's `data_cms_tool` with action `list_collection_items`
4646
- Count items where `isDraft: true`
4747
- Count items modified since last publish
4848
8. **Detect issues**:
@@ -267,7 +267,7 @@ All unpublished changes have been successfully published to the Webflow subdomai
267267
### Phase 1: Critical Requirements
268268

269269
**Site Status Check:**
270-
- Always fetch complete site details using `sites_get`
270+
- Always fetch complete site details using `data_sites_tool` with action `get_site`
271271
- Compare `lastUpdated` vs `lastPublished` to detect unpublished changes
272272
- If timestamps are identical, inform user "No changes to publish"
273273
- If `lastPublished` is null, warn "First publish - entire site will go live"
@@ -297,8 +297,8 @@ All unpublished changes have been successfully published to the Webflow subdomai
297297
- Archived (won't appear on site)
298298

299299
**Collections to Check:**
300-
- Query all collections with `collections_list`
301-
- For each collection, list items with `collections_items_list_items`
300+
- Query all collections with `data_cms_tool` with action `get_collection_list`
301+
- For each collection, list items with `data_cms_tool` with action `list_collection_items`
302302
- Batch queries if site has many collections (10+ collections)
303303

304304
### Phase 3: Pre-Publish Validation
@@ -343,7 +343,7 @@ All unpublished changes have been successfully published to the Webflow subdomai
343343

344344
**Publish API Usage:**
345345
```javascript
346-
// Correct format for sites_publish
346+
// Correct format for data_sites_tool with action publish_site
347347
{
348348
"site_id": "site-id-here",
349349
"publishToWebflowSubdomain": true, // or false
@@ -376,7 +376,7 @@ All unpublished changes have been successfully published to the Webflow subdomai
376376

377377
**Post-Publish Verification:**
378378
1. **Fetch Updated Site Info:**
379-
- Call `sites_get` again
379+
- Call `data_sites_tool` with action `get_site` again
380380
- Verify `lastPublished` timestamp updated
381381
- If timestamp didn't update, publish may have failed
382382

plugins/webflow-skills/skills/site-audit/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ Comprehensive audit of a Webflow site's structure, content health, and quality w
5353
### Phase 3: CMS Collections Inventory
5454
7. **List all collections**: Use Webflow MCP's `data_cms_tool` with action `get_collection_list`
5555
8. **For each collection**:
56-
- Get detailed schema using Webflow MCP's `collections_get`
57-
- Count items using Webflow MCP's `collections_items_list_items`
56+
- Get detailed schema using Webflow MCP's `data_cms_tool` with action `get_collection_details`
57+
- Count items using Webflow MCP's `data_cms_tool` with action `list_collection_items`
5858
- Analyze field types and requirements
5959
- Identify required vs optional fields
6060
- Detect reference fields and relationships
@@ -217,7 +217,7 @@ Which format would you like? (1/2/3)
217217
### Phase 1: Critical Requirements
218218

219219
**Site Information:**
220-
- Always fetch complete site details using `sites_get`
220+
- Always fetch complete site details using `data_sites_tool` with action `get_site`
221221
- Include last published and last updated dates
222222
- Show timezone and locale information
223223
- Display custom domains if configured
@@ -346,8 +346,8 @@ Generate separate files:
346346
- Provide estimated time for large sites
347347

348348
**Error Handling:**
349-
- If `pages_list` fails, continue with collections
350-
- If `collections_get` fails, show basic collection info
349+
- If `data_pages_tool` with action `list_pages` fails, continue with collections
350+
- If `data_cms_tool` with action `get_collection_details` fails, show basic collection info
351351
- Report partial successes separately
352352
- Offer to retry failed operations
353353

0 commit comments

Comments
 (0)