/webflow-skills:webflow-code-component:local-dev-setupfrom webflow-skills
Initialize a new Webflow Code Components project from scratch. Creates project structure, installs dependencies, configures webflow.json, and sets up development environment.
Ships in webflow-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Set up a new Webflow Code Components project from scratch.
Use when:
Do NOT use when:
Check if project exists:
Determine setup type:
Create project structure (if new):
Install dependencies:
Create webflow.json:
Configure TypeScript:
Create example component:
Create globals file (optional):
Verify bundle compiles:
npx webflow library bundle --public-path http://localhost:4000/ to catch build errors locallynpx webflow library shareProvide next steps:
For detailed step-by-step examples, see references/EXAMPLES.md.
Available examples:
Quick Start (New Project):
# 1. Create project
mkdir my-webflow-components && cd my-webflow-components
npm init -y
# 2. Install dependencies
npm install react react-dom
npm install -D typescript @types/react @types/react-dom
npm install -D @webflow/webflow-cli @webflow/data-types @webflow/react
# 3. Create webflow.json
echo '{"library":{"name":"My Library","components":["./src/**/*.webflow.tsx"]}}' > webflow.json
# 4. Create component directory
mkdir -p src/components/Button
Then create your component files (.tsx, .webflow.tsx, .module.css). See Example 1 in references/EXAMPLES.md for complete file contents including component, definition, and CSS files.
Deploy with:
npx webflow library share
After setup, verify the project is correctly configured:
| Check | How to Verify |
|---|---|
webflow.json exists in project root | cat webflow.json |
| Dependencies installed | npm list @webflow/webflow-cli |
| Bundle compiles without errors | npx webflow library bundle --public-path http://localhost:4000/ |
| At least one component found | Check bundle output for "Found N component(s)" |
Every code components project needs:
.webflow.tsx fileproject/
├── src/
│ ├── components/
│ │ └── [ComponentName]/
│ │ ├── [ComponentName].tsx
│ │ ├── [ComponentName].webflow.tsx
│ │ └── [ComponentName].module.css
│ ├── hooks/ # Custom hooks
│ ├── utils/ # Utilities
│ ├── declarations.d.ts # CSS module types
│ ├── globals.ts # Decorators/global imports
│ └── globals.css # Global styles
├── package.json
├── tsconfig.json
├── webflow.json
└── .gitignore
npm run dev)npx webflow library shareWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub webflow/webflow-skills --plugin webflow-skills33 skills in this plugin
/webflow-mcp:accessibility-auditRun comprehensive accessibility audit (WCAG 2.1) on Webflow pages - checks buttons, forms, links, focus states, headings, keyboard navigation, and generates detailed reports with fixes. Runs entirely headlessly against a page ID — no Designer connection required. Excludes image alt text (covered by asset-audit skill)./webflow-mcp:asset-auditAnalyze assets on a Webflow site for SEO optimization. Identifies assets missing alt text and assets with non-SEO-friendly names, then generates and applies improvements./webflow-mcp:bulk-cms-updateCreate or update multiple CMS items in a Webflow collection with validation and diff preview. Use when adding multiple blog posts, products, or updating fields across many items./webflow-mcp:cloud-appsCreate GitHub-source Webflow Cloud apps and monitor, troubleshoot, or manage existing apps through Webflow MCP. Use when creating a standalone or site-attached app from GitHub; identifying apps or environments; checking public URLs, domains, configuration keys, or deployed versions; diagnosing failures; changing a GitHub source, branch, or mount; provisioning environments; or previewing a deployment, retry, or rollback. Do not use for Designer/CSS variables, CLI/local-source app creation or deployment, or passing environment-variable values through MCP./webflow-mcp:cms-best-practicesExpert guidance on Webflow CMS architecture and best practices. Use when planning collections, setting up relationships, optimizing content structure, or troubleshooting CMS issues./webflow-mcp:cms-collection-setupCreate a new CMS collection in Webflow with specified fields and relationships. Use when setting up blog posts, products, team members, portfolios, or other content types with custom fields.Other plugins' skills for the same job