webflow
БесплатноБез исполняемых скриптовНе проверенWebflow is a visual website builder with a built-in CMS and hosting, plus a Data API v2 for managing content from code. Use when someone asks to "update…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Webflow
Overview
Webflow is a visual web design tool with its own CMS, hosting and forms. Designers build pages in the Designer; developers and automations use the Data API v2 (host api.webflow.com, paths start with /v2) to read and write CMS content, publish, read form submissions and register webhooks. Webflow also runs a hosted MCP server so an AI agent can work on a site, and a code components workflow (React components imported into the Designer).
The Data API v1 is a separate, older version; everything here is v2. Webflow's docs expose clean Markdown by appending .md to a page URL and a section index at https://developers.webflow.com/data/llms.txt.
Instructions
Step 1: Get a token
Every call sends Authorization: Bearer <token>.
- Site token: made in Site settings, Apps & integrations, API access. Scoped to one site and the scopes you tick (for CMS work
cms:readandcms:write, plussites:writeto publish the site). Best for internal scripts. - Workspace token: read access across a Workspace, for audits.
- OAuth app token: for public integrations and Marketplace apps.
Keep tokens in environment variables (WEBFLOW_API_TOKEN, WEBFLOW_SITE_ID), never in a Designer custom-code field or client-side JavaScript. Custom-code endpoints need an OAuth app, not a site token.
curl -s https://api.webflow.com/v2/sites -H "Authorization: Bearer $WEBFLOW_API_TOKEN"
curl -s https://api.webflow.com/v2/sites/$WEBFLOW_SITE_ID/collections -H "Authorization: Bearer $WEBFLOW_API_TOKEN"
GET /collections/{collection_id} returns the field list. Field slug values (not display names) are the keys of fieldData.
Step 2: Create, update and publish CMS items
Items live in two states. A staged item is a draft or pending change; a live item is what visitors see. Writes go to the staged copy unless you use a /live endpoint.
// src/webflow.ts
const API = "https://api.webflow.com/v2";
const headers = {
Authorization: `Bearer ${process.env.WEBFLOW_API_TOKEN}`,
"Content-Type": "application/json",
};
async function wf<T>(path: string, init?: RequestInit): Promise<T> {
const res = await fetch(`${API}${path}`, { ...init, headers });
if (res.status === 429) {
const wait = Number(res.headers.get("Retry-After") ?? 60);
await new Promise((r) => setTimeout(r, wait * 1000));
return wf<T>(path, init);
}
if (!res.ok) throw new Error(`Webflow ${res.status}: ${await res.text()}`);
return res.json() as Promise<T>;
}
// Create up to 100 items per request (POST /items/insert is the endpoint for new work)
export async function createPosts(collectionId: string, posts: { title: string; slug: string; html: string; imageUrl: string }[]) {
return wf<{ items: { id: string }[] }>(`/collections/${collectionId}/items/insert`, {
method: "POST",
body: JSON.stringify({
items: posts.map((p) => ({
isDraft: false, // queue for the next publish; default is true
fieldData: {
name: p.title,
slug: p.slug,
"post-body": p.html, // rich text is an HTML string
"thumbnail-image": { url: p.imageUrl }, // public URL, max 4 MB
},
})),
}),
});
}
// Update one item (PATCH, not PUT)
export const updateTitle = (collectionId: string, itemId: string, name: string) =>
wf(`/collections/${collectionId}/items/${itemId}`, { method: "PATCH", body: JSON.stringify({ fieldData: { name } }) });
// Publish specific items without publishing the whole site
export const publishItems = (collectionId: string, itemIds: string[]) =>
wf<{ publishedItemIds?: string[]; errors?: string[] }>(`/collections/${collectionId}/items/publish`, {
method: "POST",
body: JSON.stringify({ itemIds }),
});
Facts that bite:
- The create and publish endpoints answer
202; the work finishes asynchronously. - New items are drafts by default.
isDraft: falsequeues them for the next site publish;publishItemsmakes them live now. isDraft: trueon an already-published item keeps it live and holds the edit as a draft. To take items off the live site callDELETE /collections/{id}/items/livewith{"items": [{"id": "..."}]}(up to 100, answers204, and setsisDraftback totrue); settingisArchived: trueremoves it only at the next site-wide publish.- Update a live item and publish in one call with
PATCH /collections/{id}/items/{item_id}/live. - Older
POST /itemsandPOST /items/bulkstill work but are no longer listed; they take one locale per item. Create Items (/items/insert) takescmsLocaleIds(plural) orallCmsLocales: trueand rejects unknown properties with400. - List endpoints return at most 100 items; page with
offsetandlimit. Filter withfilter[<fieldSlug>][<operator>]=valueand sort withsort[<fieldSlug>]=asc. - Rich text API writes drop code blocks (an empty string results). Multi-image, reference and option fields have their own
Установить webflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл webflow?
Webflow is a visual website builder with a built-in CMS and hosting, plus a Data API v2 for managing content from code. Use when someone asks to "update Webflow CMS from a script", "sync content to Webflow", "publish a Webflow item", "Webflow webhook", "Webflow API", "connect Claude to Webflow", or "build a site in Webflow". Covers site tokens, CMS items, publishing, live content delivery, webhooks with signature checks, the MCP server and code components.
Как установить скилл webflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл webflow запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic