Command Palette

Search for a command to run...

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

design

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

Create the Visual Interface for audio plugins. Use when user mentions UI design, mockup, WebView interface, or requests 'design UI for [plugin]'.

Noizefieldот Noizefield★ 379 звёзд на GitHub

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

SKILL: GUI DESIGN

Goal: Create the Visual Interface for audio plugins. Output Location: $PluginPath/Design/ and $PluginPath/Source/ (via paths.plugins_dir)


🎨 PHASE 0: DESIGN LIBRARY CHECK

Check if design_library/manifest.json exists and count available designs.

One shipped design. The framework ships APC Minimal (apc-minimal): deep teal surfaces, a coral signal, cyan status/data colours, compact rounded corners, subtle material depth and mono numerals. tokens.css owns global colours/type/shadows; design-system.json documents the tokens, element parts/states/options/accessibility and stores optional elementTuning overrides. Preview and tune the library through Hub #09c-kit: global colour remains in THEME EDITOR, while ELEMENT SPEC exposes bounded per-element geometry and stroke controls and saves numeric overrides to the design spec. To make a new look, copy design_library/apc-minimal/ to design_library/<your-id>/, edit token values in tokens.css, mirror them in design-system.json, register the folder in design_library/manifest.json ("tokens": "tokens.css", "spec": "design-system.json"), then select it in the Hub. Pick UI elements from the kit, never hand-build them: controls knob slider selector toggle; widgets button buttons segmented checkbox radio dropdown menu tabs textfield numberfield label readout panel divider led progress list logo (guide .agents/guides/ui-kit-widgets.md); visualisation graph envelope spectrum waveform scope meter stepseq xypad picture (guide .agents/guides/ui-kit-viz.md); chrome and panels in ui-kit-controls.md / ui-kit-panels.md. Accent-coloured text uses --accent-text.

Import state management:

# Import state management module
. "$PSScriptRoot\..\scripts\state-management.ps1"
$PluginPath = Get-ApcPluginPath -PluginName $PluginName

Validate prerequisites:

# Check that planning phase is complete and framework is selected
if (-not (Test-PluginState -PluginPath $PluginPath -RequiredPhase "plan_complete" -RequiredFiles @(".ideas/architecture.md", ".ideas/plan.md"))) {
    Write-Error "Prerequisites not met. Complete planning phase first with framework selection."
    exit 1
}

# Get current state to check framework
$state = Get-PluginState -PluginPath $PluginPath
if ($state.ui_framework -eq "pending") {
    Write-Error "UI framework not selected. Complete planning phase first."
    exit 1
}

If designs exist, present menu:

Found {N} saved designs in library.

How would you like to start?
1. Use existing design - Apply saved visual style
2. Start from scratch - Create custom design
3. Browse library - View all designs first

Choose (1-3): _

Routing:

  • Option 1: Show designs with previews, let user pick, skip to Phase 2 with applied style
  • Option 2: Continue to Phase 1 (requirements gathering)
  • Option 3: List all designs with metadata, return to menu

If no designs: Skip to Phase 1.


🎨 PHASE 0: DESIGN LIBRARY CHECK

Check for existing designs first:

# Check if design library exists
$manifestPath = "design_library/manifest.json"
if (Test-Path $manifestPath) {
    $manifest = Get-Content $manifestPath | ConvertFrom-Json
    $designCount = $manifest.totalDesigns

    Write-Host "Found $designCount saved designs in library." -ForegroundColor Cyan
    Write-Host ""

    # Present menu
    Write-Host "How would you like to start?" -ForegroundColor Yellow
    Write-Host "1. Use existing design - Apply saved visual style"
    Write-Host "2. Start from scratch - Create custom design"
    Write-Host "3. Browse library - View all designs first"
    Write-Host ""
    $choice = Read-Host "Choose (1-3)"

    switch ($choice) {
        "1" {
            # Show available designs and let user pick
            Show-DesignLibrary -Manifest $manifest
            $selectedDesign = Read-Host "Enter design ID to use"
            # Apply selected design as v1
            Apply-DesignFromLibrary -DesignId $selectedDesign
            # Skip to Phase 2 with applied design
        }
        "2" {
            # Continue to Phase 1 (requirements gathering)
        }
        "3" {
            # List all designs with details
            Show-DesignLibrary -Manifest $manifest -Detailed
            # Return to menu
            # (Loop back to choice prompt)
        }
    }
} else {
    Write-Host "No design library found. Starting from scratch." -ForegroundColor Yellow
    # Continue to Phase 1
}

Design Library Integration:

  • If user chooses existing design: Apply it as the starting point, still allow iteration
  • If user chooses from scratch: Continue to Phase 1
  • Browse option: Show metadata without committing to use

📋 PHASE 1: REQUIREMENTS GATHERING

Do NOT write code yet. Gather requirements through focused questions.
Exception: For Visage only, a preview scaffold may be generated after Phase 2 if the user approve

Полный SKILL.md на GitHub

Установить design в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл design?

Create the Visual Interface for audio plugins. Use when user mentions UI design, mockup, WebView interface, or requests 'design UI for [plugin]'.

Как установить скилл design?

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

Скилл design запускает скрипты?

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

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

Сравнить design с