morrimoz

Webflow To Clean Code — Design skill for Claude Code

Design community

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