Webflow To Clean Code — Design skill for Claude Code
Agent workflow for migrating Webflow exports to self-contained HTML, CSS and JavaScript.
How to install Webflow To Clean Code
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open morrimoz/webflow-to-clean-code and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Webflow To Clean Code does
Agent workflow for migrating Webflow exports to self-contained HTML, CSS and JavaScript.
Alternatives in Design
- Plan Artifact — Creates one polished, self-contained HTML artifact from a plan, PRD, roadmap, strategy, migration, rollout, re 652 ★
- Design Framework — Convert HTML/CSS design output to framework-specific component code 309 ★
- UX Copy — Microcopy review and rewrite against the voice rubric 66 ★
README
Webflow to clean code
**Category: Web migration | Format: Agent skill**
A repeatable workflow for converting Webflow-exported pages into self-contained HTML, CSS and JavaScript. It guides an AI coding agent through removing Webflow runtime dependencies while preserving the page's appearance and behaviour.
This repository contains instructions for an agent. It is not a standalone converter.
When to use it
Use it when moving an exported site to another host, taking ownership of generated code or replacing Webflow-specific interactions with maintainable JavaScript.
| Input | Work performed | Output |
|---|---|---|
| Exported HTML, styles, scripts and assets | Inventory dependencies, replace interactions, reorganise styles and verify the result | Static files that can be reviewed and hosted independently |
Install
For Cursor, clone into the personal skills directory:
mkdir -p ~/.cursor/skills
git clone https://github.com/morrimoz/webflow-to-clean-code.git ~/.cursor/skills/webflow-to-clean-code
For a shared project skill, use `.cursor/skills/webflow-to-clean-code` as the destination. Other agents can read [SKILL.md](SKILL.md) directly. Start a new agent session after installation.
Example request
Use webflow-to-clean-code on the exported site in site-export/.
Keep the design, replace Webflow interactions and verify navigation and forms.
The workflow inventories the export, removes coupling, reorganises CSS, replaces JavaScript interactions, resolves assets and checks the rendered pages.
Verification and limits
Search the output for remaining runtime dependencies. Replace `site-output` with the actual output folder:
rg -n 'webflow\.js|webflow\.css|webflow\.io|uploads-ssl\.webflow\.com|data-wf-page|data-wf-site' site-output
No matches is one check, not proof that the migration works. Compare layouts at desktop and mobile sizes, exercise keyboard navigation and test every interaction. Forms, CMS behavi
Related Skills
Sprite Stack Campfire Exploded
Create a single self-contained HTML file using only HTML, CSS, and JavaScript. No build tools or external asse
Sprite Stack Turntables
Create a single self-contained HTML file using only HTML, CSS, and JavaScript. No build tools or external asse
CSS Animation Skill
A Claude Code skill that generates self-contained HTML/CSS animations of app features for walkthroughs, demos,
J Explain
Generate a self-contained HTML document or information report that explains a topic — inline CSS/JS/SVG, visua
Session Story
Generate a self-contained HTML "session story" that links each prompt in a vibe coding session to the file edi
Paper Workbench
Build a visual, dyslexia-friendly paper editing workbench HTML file. Takes a paper (file or pasted text) plus
Related Agents
Ms Mockup Designer
Generates self-contained HTML/CSS mockups for design direction exploration. Spawned by design-phase command.
Canva Fse Converter
Specialized agent for converting Canva HTML/CSS exports to WordPress FSE block themes. Parses design tokens fr
Light Web CodeReview
Use this agent when the user has written or modified HTML, CSS, or JavaScript code and needs it reviewed for e