accessibility-audit
Run comprehensive accessibility audit (WCAG 2.1) on Webflow pages - checks buttons, forms, links, focus states, headings,…
Create and deploy reusable React components for Webflow Designer. Configure existing React projects with webflow.json, build and bundle code, validate output, and deploy to workspace using library share. Use when building custom components for designers.
$ npx -y skills add webflow/webflow-skills --skill code-component-command --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-component-commandContext preview
The summary Claude sees to decide when to auto-load this skill.
Create and deploy reusable React components for Webflow Designer. Configure existing React projects with webflow.json, build and bundle code, validate output, and deploy to workspace using library share. Use when building custom components for designers.
name: webflow-cli:code-component description: Create and deploy reusable React components for Webflow Designer. Configure existing React projects with webflow.json, build and bundle code, validate output, and deploy to workspace using library share. Use when building custom components for designers.
Create, build, and deploy React components to Webflow Designer with comprehensive validation and deployment verification.
**ALWAYS use Bash tool for all Webflow CLI operations:**
**Package Manager Detection:**
1. **Verify CLI installed**: Run `webflow --version` to confirm CLI is installed 2. **Check project state**: Determine if user has existing React project or needs guidance 3. **Identify workspace**: Explain that workspace authentication happens on first share 4. **Review configuration**: Check if webflow.json exists with library configuration
5. **Ask operation type**: Clarify what user wants to do:
6. **Configure webflow.json**: Add library configuration to webflow.json:
7. **Read configuration files**: Use Read tool to show:
8. **Verify dependencies**: Ensure React is installed and build scripts exist
9. **Run build**: Execute user's build command (e.g., `npm run build`, `yarn build`) 10. **Validate build output**: Check for build errors or warnings 11. **Run bundle command**: Execute `webflow library bundle` for local validation 12. **Analyze bundle**:
13. **Preview bundle details**: Show bundle summary with validation status
14. **Show deployment preview**:
15. **Explain deployment**: What happens when library is shared 16. **Require explicit confirmation**: User must type "share" or "deploy" to proceed 17. **Confirm workspace**: Explain browser will open for workspace selection (first time only)
18. **Execute share command**: Run `webflow library share` 19. **Monitor deployment**: Show CLI output and progress 20. **Handle workspace auth**: If first time, guide user through browser authentication 21. **Verify deployment success**: Confirm library appears in workspace 22. **Show .env updates**: Explain WEBFLOW_WORKSPACE_ID and WEBFLOW_WORKSPACE_API_TOKEN added 23. **Provide next steps**:
**User prompt:**
I have a React project with some components I want to share to Webflow
**Step 1: Environment Verification**
🔍 Webflow CLI Environment Check Checking CLI installation... ✓ Webflow CLI installed: v1.5.2 Current directory: /Users/user/projects/my-components ✓ Found package.json with React project ✓ Found src/ directory with components Checking webflow.json... ⚠️ No webflow.json found - needs configuration Ready to configure for Code Components? (yes/no)
*User confirms: yes*
**Step 2: Project Configuration**
📋 Configure Code Components Library I'll help you add the library configuration to webflow.json. Questions: 1. What should your library be called in Webflow Designer? Example: "My Component Library" 2. Where are your component files located? Pattern examples: - "./src/**/*.webflow.tsx" (components with .webflow.tsx extension) - "./src/components/**/*.tsx" (all components in src/components/) - "./src/Button.tsx" (specific files) Let me know the library name and component pattern.
*User provides: "Acme Components" and "./src/**/*.webflow.tsx"*
Creating webflow.json configuration...
{
"library": {
"name": "Acme Components",
"components": ["./src/**/*.webflow.tsx"]
}
}
✓ Configuration ready
Found component files:
- src/Button.webflow.tsx
- src/Card.webflow.tsx
- src/Hero.webflow.tsx
Next: Build your components and run bundle command.**Step 3: Build & Bundle Validation**
🔨 Building Components What build command do you use? (e.g., npm run build, yarn build)
*User responds: npm run build*
Executing: npm run build Output: ✓ TypeScript compilation successful ✓ Components built to dist/ Creating bundle for validation... Executing: webflow library bundle Output: ✓ Analyzing 3 components ✓ Bundling dependencies ✓ Creating bundle ✓ Bundle created: dist/bundle.js 📦 Bundle Analysis: - Size: 287 KB (✓ within 2MB limit) - Components: 3 (Button,
A 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…