AI Agent Hub
Back to skills
One-Click HTML Visual Editor icon

One-Click HTML Visual Editor

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_f8aa8765/html-editor into your AI assistant.

About this skill

Problem

Static HTML often requires repeated source edits for copy, color, and spacing changes. This skill turns a page into a visual editor: text can be edited directly, while side panels control color, font size, and layout, then exports a deliverable HTML file.

Core capabilities

  • Data-driven color panel: scans DOM text nodes for computed color and aggregates the top text, background, and border colors by character-weighted usage.
  • Font and layout controls: a small set of sliders covers headings, body, auxiliary text, page width, padding, line height, and card spacing.
  • Style prompt: clicking a style card copies a prompt with description, palette, and constraints, suitable for an AI to rewrite CSS.
  • Clean export: removes editor UI, keeps data-editable, and restores var(--xxx) to hex for pasting into docs or email.

Boundaries

Best with pages that already use CSS variables. Inline-heavy, canvas, or iframe pages are only partially supported. Prefer running adapt.py; do not hand-write panels or modify assets/editor-core.js. Manually check text editability, font hierarchy, and visual results.

Use Cases

  • Review a static landing page and edit copy in place before exporting HTML to engineering.
  • Apply design feedback on color, font size, and spacing by extracting inline colors into variables.
  • Copy a style prompt with palette and constraints before asking an AI to rewrite CSS.
  • Export a clean HTML version for Notion or email while preserving readable colors.

Best For

  • Frontend engineers delivering landing pages: turn static HTML into an editable version and export clean HTML.
  • Technical writers producing product reviews: adjust font size, color, and layout without editing source code.
  • Independent developers refining design drafts: extract inline colors into CSS variables and ask an AI to refactor.
  • Engineers preparing CSS rewrite prompts for AI: copy style prompts with palette and constraints.