Skip to content

lihytaihe-lang/aetherpane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AetherPane

A premium web UI system for AI coding agents

Transform rough pages into polished interfaces with glassmorphism, Apple-inspired layouts, and three switchable themes.

English | ไธญๆ–‡

License: MIT Version


English

๐ŸŽจ What is AetherPane?

AetherPane is an AI-first web UI system that helps coding agents (Claude Code, Codex, GLM, Kimi, MiniMax, Cursor, Windsurf, etc.) generate premium, polished frontend pages. Beyond a component library, it's a complete design intelligence platform with critique, evolution tracking, multi-agent collaboration, and a reusable pattern library.

โœจ Features

Design System

  • ๐ŸŽจ Three Premium Themes: Switchable Classic, Editorial, and Signal styles
  • ๐ŸŽฎ Interactive Playground: Edit HTML and see live preview
  • ๐Ÿ“ฆ Essential Components: Tabs, Dropdown, Tooltip, Modal, Drawer, Toast
  • ๐Ÿ“„ Four Page Types: Landing, Showcase, Dashboard, Settings with templates
  • ๐ŸŽฏ Design Tokens: All design variables visualized and copyable

AI Intelligence (Phase 1 & 2)

  • ๐Ÿง  Design Intelligence System: Aesthetic judgment framework with Visual Hierarchy, Breathing Space, Glass Quality, and Typography scoring
  • ๐Ÿ” AI Design Critique: Automated quality analysis with issue detection, severity levels, code-fix suggestions, and HTML problem annotation
  • ๐Ÿ“Š Evolution Tracker: Version-by-version design improvement tracking with pattern extraction
  • ๐Ÿค Multi-Agent Collaboration: Intelligent task allocation across Claude, GLM, Kimi, Cursor, Windsurf
  • ๐Ÿงฉ Pattern Library: 9 production-ready design patterns (Hero ร— 3, Card ร— 3, Layout ร— 3) with a composition engine
  • ๐Ÿ› ๏ธ CLI Tool: Unified command-line interface for all capabilities

Quality

  • ๐Ÿค– Multi-Agent Ready: Supports Claude Code, Codex, GLM, Kimi, MiniMax, Cursor, Windsurf
  • โ™ฟ Accessible: WCAG AA compliant with keyboard navigation
  • โœ… Tested: Full test coverage with visual regression
  • โšก Optimized: 57.65 kB gzipped bundle size

๐Ÿš€ Quick Start

# Install dependencies
npm install

# Start dev server (interactive playground)
npm run dev
# Open http://localhost:5173

CLI Tools (Phase 2):

# Critique your HTML design
node skills/web-ui-polish/tools/cli.cjs critique your-page.html

# Browse and compose patterns
node skills/web-ui-polish/patterns/compose.cjs list
node skills/web-ui-polish/patterns/compose.cjs build --hero hero-centered-cta --theme classic --output landing.html

# Track design evolution
node skills/web-ui-polish/evolution/tracker.cjs init my-project
node skills/web-ui-polish/evolution/tracker.cjs save my-project v1 "Initial version" --file landing.html
node skills/web-ui-polish/evolution/tracker.cjs report my-project

# Allocate tasks to the best AI agent
node skills/web-ui-polish/collaboration/task-allocator.cjs --requirements semantic_html,copywriting

๐Ÿ—๏ธ Project Structure

aetherpane/
โ”œโ”€โ”€ skills/web-ui-polish/          # AI skill โ€” the core of Phase 1 & 2
โ”‚   โ”œโ”€โ”€ SKILL.md                   # Skill definition (YAML front matter + instructions)
โ”‚   โ”œโ”€โ”€ DESIGN_INTELLIGENCE.md     # Aesthetic judgment framework + scoring formulas
โ”‚   โ”œโ”€โ”€ COLLABORATION.md           # Multi-agent collaboration protocol
โ”‚   โ”œโ”€โ”€ critique/                  # AI Design Critique system
โ”‚   โ”‚   โ”œโ”€โ”€ critique-engine.cjs    # 4-dimension scoring engine
โ”‚   โ”‚   โ”œโ”€โ”€ report-generator.cjs   # HTML / Markdown / JSON report generation
โ”‚   โ”‚   โ””โ”€โ”€ visualizer.cjs         # Annotate HTML with issue highlights
โ”‚   โ”œโ”€โ”€ evolution/                 # Design Evolution Tracker
โ”‚   โ”‚   โ”œโ”€โ”€ tracker.cjs            # init / save / history / report commands
โ”‚   โ”‚   โ”œโ”€โ”€ diff-analyzer.cjs      # Structural diff between versions
โ”‚   โ”‚   โ””โ”€โ”€ pattern-extractor.cjs  # Extract improvement patterns from history
โ”‚   โ”œโ”€โ”€ collaboration/             # Multi-Agent Optimizer
โ”‚   โ”‚   โ”œโ”€โ”€ agent-profiles.json    # Capability profiles for 5 agents
โ”‚   โ”‚   โ”œโ”€โ”€ task-allocator.cjs     # Score + recommend best agent for a task
โ”‚   โ”‚   โ””โ”€โ”€ workflow-optimizer.cjs # Topological sort + parallel grouping
โ”‚   โ”œโ”€โ”€ patterns/                  # Design Pattern Library
โ”‚   โ”‚   โ”œโ”€โ”€ pattern-registry.json  # Master index
โ”‚   โ”‚   โ”œโ”€โ”€ compose.cjs            # Composition engine (list / show / build)
โ”‚   โ”‚   โ”œโ”€โ”€ hero-patterns/         # 3 hero patterns
โ”‚   โ”‚   โ”œโ”€โ”€ card-patterns/         # 3 card patterns
โ”‚   โ”‚   โ””โ”€โ”€ layout-patterns/       # 3 layout patterns
โ”‚   โ”œโ”€โ”€ tools/
โ”‚   โ”‚   โ””โ”€โ”€ cli.cjs                # Unified CLI (critique / track / collab / pattern)
โ”‚   โ”œโ”€โ”€ scripts/                   # Validation scripts
โ”‚   โ”‚   โ”œโ”€โ”€ validate-html.cjs
โ”‚   โ”‚   โ”œโ”€โ”€ validate-a11y.cjs
โ”‚   โ”‚   โ”œโ”€โ”€ validate-tokens.cjs
โ”‚   โ”‚   โ””โ”€โ”€ design-critique.cjs
โ”‚   โ”œโ”€โ”€ resources/                 # Machine-readable design rules
โ”‚   โ”‚   โ”œโ”€โ”€ style-guide.json
โ”‚   โ”‚   โ”œโ”€โ”€ tokens.json
โ”‚   โ”‚   โ”œโ”€โ”€ theme-personalities.json
โ”‚   โ”‚   โ”œโ”€โ”€ checklist.json
โ”‚   โ”‚   โ””โ”€โ”€ *.md                   # Human-readable rule files
โ”‚   โ”œโ”€โ”€ examples/                  # 7 golden-standard HTML examples
โ”‚   โ””โ”€โ”€ learning-data/             # Directory structure for visual learning data
โ”œโ”€โ”€ src/                           # React demo application
โ”‚   โ”œโ”€โ”€ pages/                     # Demo pages
โ”‚   โ”œโ”€โ”€ styles.css                 # Design system styles
โ”‚   โ””โ”€โ”€ tokens.css                 # Design tokens
โ””โ”€โ”€ docs/                          # Documentation

๐Ÿง  Design Intelligence

AetherPane scores designs across 4 dimensions using executable formulas:

Dimension Measures
Visual Hierarchy Score (VHS) Heading contrast, focal points, CTA clarity, spacing tiers
Breathing Space Analysis (BSA) Section padding, text measure, gap utilities
Glass Quality Metrics (GQM) Blur strength, backdrop usage, layering depth
Typography Rhythm Score (TRS) Fluid type, line height, font token usage

Run a critique:

node skills/web-ui-polish/critique/critique-engine.cjs your-page.html

Example output:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•๏ฟฝ๏ฟฝโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘        AetherPane Design Critique            โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

File:     landing-classic.html
Grade:    B  (production-ready)
Overall:  8.2/10

  Visual Hierarchy     โ–ˆโ–ˆ๏ฟฝ๏ฟฝโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ 10/10
  Breathing Space      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘  7/10
  Glass Quality        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘  9/10
  Typography           โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘  6.5/10

Issues:
  โš  [WARNING] No fluid typography (clamp()) detected
    โ†’ Use clamp() for headings so they scale with viewport

๐Ÿงฉ Pattern Library

9 production-ready design patterns with variable substitution:

Category Patterns
Hero hero-centered-cta (9.0) ยท hero-split-content (8.8) ยท hero-video-background (8.5)
Card card-feature-grid (9.0) ยท card-testimonial (8.5) ยท card-pricing-table (8.7)
Layout layout-sidebar-content (8.8) ยท layout-masonry-grid (8.3) ยท layout-bento-box (8.6)

Compose a full page from patterns:

node skills/web-ui-polish/patterns/compose.cjs build \
  --hero hero-centered-cta \
  --theme classic \
  --output landing.html

๐Ÿค Multi-Agent Collaboration

Agent capability profiles are defined in collaboration/agent-profiles.json. The task allocator recommends the best agent for any given task:

# Find the best agent for HTML structure + accessibility work
node skills/web-ui-polish/collaboration/task-allocator.cjs \
  --requirements semantic_html,accessibility,complex_layouts

# Output:
# Recommended: claude-code (score: 7)
# Ranking: claude-code (7) > cursor (5) > kimi (3) > glm (2) > windsurf (2)

๐Ÿ“„ For AI Agents

AetherPane is designed to be used by AI agents. See SKILL.md for the full skill definition with YAML front matter.

Supported agents:

  • Claude Code โ€” Structure, layout, accessibility
  • GLM โ€” Chinese content, localization, copywriting
  • Kimi โ€” Visual polish, glass effects, theme application
  • Cursor / Windsurf โ€” General frontend development

๐Ÿ“š Documentation


๐Ÿงช Testing

# Run all tests
npm run test:run

# Build for production
npm run build

# Validate an HTML file
node skills/web-ui-polish/scripts/validate-html.cjs path/to/page.html
node skills/web-ui-polish/scripts/validate-a11y.cjs path/to/page.html

# Run design critique
node skills/web-ui-polish/critique/critique-engine.cjs path/to/page.html

๐Ÿ“„ License

MIT License โ€” see LICENSE for details.


ไธญๆ–‡

๐ŸŽจ ไป€ไนˆๆ˜ฏ AetherPane๏ผŸ

AetherPane ๆ˜ฏไธ€ไธช AI ไผ˜ๅ…ˆ็š„ Web UI ็ณป็ปŸ๏ผŒๅธฎๅŠฉ AI ็ผ–็ ไปฃ็†๏ผˆClaude Codeใ€Codexใ€GLMใ€Kimiใ€MiniMaxใ€Cursorใ€Windsurf ็ญ‰๏ผ‰็”Ÿๆˆ้ซ˜่ดจ้‡ใ€็ฒพ็พŽ็š„ๅ‰็ซฏ้กต้ขใ€‚ๅฎƒไธไป…ไป…ๆ˜ฏไธ€ไธช็ป„ไปถๅบ“๏ผŒ่€Œๆ˜ฏไธ€ไธชๅฎŒๆ•ด็š„่ฎพ่ฎกๆ™บ่ƒฝๅนณๅฐ๏ผŒๅŒ…ๅซ่ฎพ่ฎก่ฏ„ๅฎกใ€ๆผ”ๅŒ–่ฟฝ่ธชใ€ๅคšไปฃ็†ๅไฝœๅ’Œๅฏๅค็”จๆจกๅผๅบ“ใ€‚

โœจ ็‰นๆ€ง

่ฎพ่ฎก็ณป็ปŸ

  • ๐ŸŽจ ไธ‰ๅฅ—้ซ˜็บงไธป้ข˜๏ผšๅฏๅˆ‡ๆข็š„ Classicใ€Editorialใ€Signal ้ฃŽๆ ผ
  • ๐ŸŽฎ ไบคไบ’ๅผ Playground๏ผš็ผ–่พ‘ HTML ๅนถๅฎžๆ—ถ้ข„่งˆๆ•ˆๆžœ
  • ๐Ÿ“ฆ ๅŸบ็ก€็ป„ไปถ๏ผšTabsใ€Dropdownใ€Tooltipใ€Modalใ€Drawerใ€Toast
  • ๐Ÿ“„ ๅ››็ง้กต้ข็ฑปๅž‹๏ผšLandingใ€Showcaseใ€Dashboardใ€Settings ๅŠๆจกๆฟ
  • ๐ŸŽฏ ่ฎพ่ฎก Tokens๏ผšๆ‰€ๆœ‰่ฎพ่ฎกๅ˜้‡ๅฏ่ง†ๅŒ–ๅนถๅฏๅคๅˆถ

AI ๆ™บ่ƒฝ๏ผˆPhase 1 & 2๏ผ‰

  • ๐Ÿง  ่ฎพ่ฎกๆ™บ่ƒฝ็ณป็ปŸ๏ผš็พŽๅญฆๅˆคๆ–ญๆก†ๆžถ๏ผŒๅŒ…ๅซ่ง†่ง‰ๅฑ‚ๆฌกใ€ๅ‘ผๅธ็ฉบ้—ดใ€็Žป็’ƒ่ดจ้‡ใ€ๆŽ’็‰ˆ่Š‚ๅฅๅ››็ปด่ฏ„ๅˆ†
  • ๐Ÿ” AI ่ฎพ่ฎก่ฏ„ๅฎก๏ผš่‡ชๅŠจๅˆ†ๆž่ฎพ่ฎก่ดจ้‡๏ผŒ็ป™ๅ‡บ้—ฎ้ข˜ไฝ็ฝฎใ€ไธฅ้‡็จ‹ๅบฆๅ’Œไปฃ็ ไฟฎๅคๅปบ่ฎฎ
  • ๐Ÿ“Š ๆผ”ๅŒ–่ฟฝ่ธชๅ™จ๏ผš้€็‰ˆๆœฌ่ฟฝ่ธช่ฎพ่ฎกๆ”น่ฟ›๏ผŒ่‡ชๅŠจๆๅ–ๆ”น่ฟ›ๆจกๅผ
  • ๐Ÿค ๅคšไปฃ็†ๅไฝœไผ˜ๅŒ–ๅ™จ๏ผšๅœจ Claudeใ€GLMใ€Kimiใ€Cursorใ€Windsurf ไน‹้—ดๆ™บ่ƒฝๅˆ†้…ไปปๅŠก
  • ๐Ÿงฉ ่ฎพ่ฎกๆจกๅผๅบ“๏ผš9 ไธช็”Ÿไบงๅฐฑ็ปช็š„่ฎพ่ฎกๆจกๅผ๏ผˆHero ร— 3ใ€Card ร— 3ใ€Layout ร— 3๏ผ‰ๅŠ็ป„ๅˆๅผ•ๆ“Ž
  • ๐Ÿ› ๏ธ CLI ๅทฅๅ…ท๏ผš็ปŸไธ€็š„ๅ‘ฝไปค่กŒๆŽฅๅฃ

๐Ÿš€ ๅฟซ้€Ÿๅผ€ๅง‹

# ๅฎ‰่ฃ…ไพ่ต–
npm install

# ๅฏๅŠจๅผ€ๅ‘ๆœๅŠกๅ™จ๏ผˆไบคไบ’ๅผ Playground๏ผ‰
npm run dev
# ๆ‰“ๅผ€ http://localhost:5173

CLI ๅทฅๅ…ท๏ผˆPhase 2๏ผ‰๏ผš

# ่ฏ„ๅฎก HTML ่ฎพ่ฎก่ดจ้‡
node skills/web-ui-polish/tools/cli.cjs critique your-page.html

# ๆต่งˆๅ’Œ็ป„ๅˆ่ฎพ่ฎกๆจกๅผ
node skills/web-ui-polish/patterns/compose.cjs list
node skills/web-ui-polish/patterns/compose.cjs build --hero hero-centered-cta --theme classic --output landing.html

# ่ฟฝ่ธช่ฎพ่ฎกๆผ”ๅŒ–
node skills/web-ui-polish/evolution/tracker.cjs init my-project
node skills/web-ui-polish/evolution/tracker.cjs save my-project v1 "ๅˆๅง‹็‰ˆๆœฌ" --file landing.html

# ไธบไปปๅŠกๅˆ†้…ๆœ€ๅˆ้€‚็š„ AI ไปฃ็†
node skills/web-ui-polish/collaboration/task-allocator.cjs --requirements semantic_html,copywriting

๐Ÿ“„ ่ฎธๅฏ่ฏ

MIT License - ่ฏฆ่ง LICENSE


โญ Star this repo if you find it helpful!

Made with โค๏ธ by the AetherPane community

About

Web UI polish skill and design system for AI coding agents (Codex, Claude Code, Cursor, Windsurf). Turn rough frontend pages into polished interfaces.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors