Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Web Design Builder

БесплатноБез исполняемых скриптовНе проверен

Create and refactor HTML5/JavaScript web designs from specifications or descriptions. Generates complete, accessible, responsive web designs with modern…

rknallот rknall★ 94 звезды на GitHub36 установок в других каталогах

Об этом скилле

Web Design Builder

This skill creates professional HTML5/JavaScript web designs from specifications, with automatic accessibility and functionality verification using Playwright MCP.

When to Use This Skill

Activate this skill when the user requests:

  • Create a web design from a specification or description
  • Build a landing page, website, or web application
  • Create a design mockup or prototype
  • Refactor or improve existing HTML/CSS/JavaScript code
  • Build responsive web interfaces
  • Create component libraries or design systems
  • Generate accessible web designs with WCAG compliance

Core Workflow

Phase 1: Requirements Gathering

When a user requests a web design, start by understanding their needs:

  1. Clarify the Design Scope

    • What type of design? (landing page, dashboard, form, etc.)
    • Target audience and use case
    • Required features and functionality
    • Content and copy (provided or placeholder?)
    • Brand colors, fonts, or design system
    • Responsive requirements (mobile-first?)
  2. Technical Preferences

    • Framework preference:
      • Vanilla HTML/CSS/JS (simple, no dependencies)
      • Tailwind CSS (utility-first, recommended for rapid development)
      • React (component-based, for complex interactions)
      • Vue (progressive framework)
      • Alpine.js (lightweight reactivity)
    • Browser support requirements
    • Accessibility requirements (WCAG level)
    • Performance constraints
  3. Check Playwright MCP Availability

    IMPORTANT: Before starting the design process, check if Playwright MCP is available:

    // Check if mcp__playwright tools are available
    // Look for tools like: mcp__playwright__navigate, mcp__playwright__screenshot, etc.
    

    If Playwright MCP is NOT available:

    • Inform the user: "Playwright MCP is not installed. Design verification will be skipped."
    • Provide installation instructions (see MCP Setup section below)
    • Continue with design generation but skip verification phase
    • Mark this clearly in the output

    If Playwright MCP IS available:

    • Inform the user: "Playwright MCP detected. Design will be automatically verified."
    • Include verification in the workflow

Phase 2: Design Generation

Step 1: Create Design Mockup

Generate a complete HTML/CSS/JS mockup including:

HTML Structure:

  • Semantic HTML5 elements
  • Proper heading hierarchy (h1 → h6)
  • ARIA landmarks (header, nav, main, aside, footer)
  • Accessible form labels and inputs
  • Alt text for images
  • Unique page title

CSS Styling:

  • Responsive design (mobile-first)
  • CSS Grid or Flexbox for layouts
  • Custom properties (CSS variables) for theming
  • Smooth transitions and animations
  • Print styles (if applicable)
  • Dark mode support (optional)

JavaScript Functionality:

  • Progressive enhancement
  • Accessible interactions (keyboard support)
  • Form validation
  • Dynamic content loading
  • Event handling
  • Error handling

Accessibility Features:

  • WCAG 2.1 Level AA compliance minimum
  • Keyboard navigation support
  • Focus indicators
  • Screen reader friendly
  • Color contrast compliance (4.5:1 minimum)
  • Skip links
  • ARIA attributes where needed

Example Output Structure:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Page Title</title>
  <style>
    /* Modern CSS with custom properties */
    :root {
      --primary-color: #0066cc;
      --text-color: #1a1a1a;
      --bg-color: #ffffff;
      --spacing: 1rem;
    }

    /* Reset and base styles */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      line-height: 1.6;
      color: var(--text-color);
      background: var(--bg-color);
    }

    /* Responsive layout */
    @media (max-width: 768px) {
      /* Mobile styles */
    }
  </style>
</head>
<body>
  <!-- Accessible skip link -->
  <a href="#main-content" class="skip-link">Skip to main content</a>

  <!-- Semantic structure -->
  <header role="banner">
    <nav aria-label="Main navigation">
      <!-- Navigation -->
    </nav>
  </header>

  <main id="main-content" role="main">
    <!-- Main content -->
  </main>

  <footer role="contentinfo">
    <!-- Footer -->
  </footer>

  <script>
    // Progressive enhancement JavaScript
    (function() {
      'use strict';

      // Feature detection
      if (!('querySelector' in document)) return;

      // Your JavaScript here
    })();
  </script>
</body>
</html>

Step 2: Save Design to File

Save the generated design to a file:

// Recommended file structure
project-name/
  index.html         // Main HTML file
  styles.css         // Separate CSS (if needed)
  script.js          // Separate JS (if needed)
  assets/
    images/          // Image assets
Полный SKILL.md на GitHub

Установить Web Design Builder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mddesign-templates.md

FAQ

Что делает скилл Web Design Builder?

Create and refactor HTML5/JavaScript web designs from specifications or descriptions. Generates complete, accessible, responsive web designs with modern frameworks. Automatically verifies designs using Playwright MCP for accessibility and functionality testing. Use this skill when users ask to create web designs, mockups, landing pages, web applications, or refactor existing HTML/CSS/JS designs.

Как установить скилл Web Design Builder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Web Design Builder запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Web Design Builder с