accessibility-audit
Run comprehensive accessibility audit (WCAG 2.1) on Webflow pages - checks buttons, forms, links, focus states, headings,…
Generate new Webflow Code Component boilerplate with React component, definition file, and optional styling. Automatically checks prerequisites and can set up missing config/dependencies.
$ npx -y skills add webflow/webflow-skills --skill component-scaffold --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/component-scaffoldContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate new Webflow Code Component boilerplate with React component, definition file, and optional styling. Automatically checks prerequisites and can set up missing config/dependencies.
name: webflow-code-component:component-scaffold description: Generate new Webflow Code Component boilerplate with React component, definition file, and optional styling. Automatically checks prerequisites and can set up missing config/dependencies. compatibility: Node.js 18+, React 18+, TypeScript, @webflow/webflow-cli metadata: author: webflow version: "1.0"
Generate a new Webflow Code Component with proper file structure, React component, and `.webflow.tsx` definition file.
**Use when:**
**Do NOT use when:**
**Note:** This skill can handle basic setup (webflow.json + dependencies) automatically. Use local-dev-setup only for complex setups requiring Tailwind, custom webpack config, or monorepo configurations.
Before gathering any requirements, verify the project is set up for Webflow Code Components:
1. **Check for webflow.json**:
# Look for webflow.json in project root
2. **Check for required dependencies** in package.json:
{
"devDependencies": {
"@webflow/webflow-cli": "...",
"@webflow/data-types": "...",
"@webflow/react": "..."
}
}npm i --save-dev @webflow/webflow-cli @webflow/data-types @webflow/react
3. **Check for components directory**:
4. **Report setup status**:
**If all prerequisites met:**
✅ Project ready for code components - webflow.json: Found - Dependencies: Installed - Components path: src/components/ Let's create your component...
**If prerequisites missing:**
⚠️ Project Setup Required Missing: - [ ] webflow.json configuration file - [ ] @webflow/webflow-cli dependency - [ ] @webflow/data-types dependency - [ ] @webflow/react dependency Would you like me to: 1. Set up the missing items now (quick setup) 2. Run full project initialization (local-dev-setup skill) Choose an option:
**Quick setup** creates minimal config:
// webflow.json
{
"library": {
"name": "My Component Library",
"components": ["./src/components/**/*.webflow.tsx"]
}
}And installs dependencies.
**Optional:** `webflow.json` also supports a `"globals"` field pointing to a globals file (e.g., `"globals": "./src/globals.webflow.ts"`). The globals file is used for global CSS imports (e.g., Tailwind) and exporting decorator arrays. Add this when using styled-components, Emotion, or Tailwind.
**Only proceed to Phase 1 after prerequisites are confirmed.**
---
1. **Get component name**: Ask user for the component name
2. **Determine component type**: Ask what kind of component
3. **Identify props needed**: Based on component type, suggest props
4. **Styling approach**: Ask preferred styling method
5. **SSR requirements**: Determine if component needs client-only features
6. **Check project structure**:
7. **Check for conflicts**:
8. **Create directory structure**:
src/components/[ComponentName]/ ├── [ComponentName].tsx ├── [ComponentName].webflow.tsx └── [ComponentName].module.css (if CSS Modules)
9. **Generate React component** (`[ComponentName].tsx`):
import React from "react";
import styles from "./[ComponentName].module.css";
export interface [ComponentName]Props {
// Props interface based on user requirements
}
export const [ComponentName]: React.FC<[ComponentName]Props> = ({
// Destructured props with defaults
}) => {
return (
<div className={styles.container}>
{/* Component JSX */}
</div>
);
};10. **Generate definition file** (`[ComponentName].webflow.tsx`):
import { declareComponent } from "@webflow/react";
import { props } from "@webflow/data-types";
import { [ComponentName] } from "./[ComponentName]";
import "./[ComponentName].module.css";
export default declareComponent([ComponentName], {
name: "[CoA collection of Agent Skills for working with Webflow sites through the Webflow MCP server. Manage CMS content, audit site health, optimize assets, build in Webflow Designer, create Code Components, run Webflow CLI workflows, and safely publish changes.
Run comprehensive accessibility audit (WCAG 2.1) on Webflow pages - checks buttons, forms, links, focus states, headings,…
Analyze assets on a Webflow site for SEO optimization. Identifies assets missing alt text and assets with non-SEO-friendly names,…
Create or update multiple CMS items in a Webflow collection with validation and diff preview. Use when adding multiple blog…
Create GitHub-source Webflow Cloud apps and monitor, troubleshoot, or manage existing apps through Webflow MCP. Use when creating…
Expert guidance on Webflow CMS architecture and best practices. Use when planning collections, setting up relationships,…
Create a new CMS collection in Webflow with specified fields and relationships. Use when setting up blog posts, products, team…