Fluxwing Component Expander
БесплатноБез исполняемых скриптовНе проверенAdd interaction states like hover, focus, disabled, active, error to existing uxscii components. Use when working with .uxm files, when user wants to expand…
Об этом скилле
Fluxwing Component Expander
Expand existing uxscii components by adding interaction states.
Data Location Rules
READ from:
./fluxwing/components/- User-created components to expand./fluxwing/library/- User library components to expand{SKILL_ROOT}/docs/- Documentation for state definitions
WRITE to:
./fluxwing/components/- Updated components (overwrite existing)./fluxwing/library/- Updated library components (overwrite existing)
Your Task
Expand an existing uxscii component by adding interaction states.
Workflow
1. Locate Component
Ask for the component name if not provided:
- "Which component do you want to expand?"
- Search in
./fluxwing/components/and./fluxwing/library/ - Display current states if component found
2. Determine States to Add
Default behavior (no instructions): Add ALL standard states for component type
Smart defaults by type:
- button: hover, active, disabled
- input: focus, error, disabled
- checkbox/radio: checked, disabled
- select: open, disabled
- link: hover, visited, active
- card: hover, selected
- modal: open, closing
- alert: success, warning, error, info
- badge: active, inactive
- navigation: active, hover
- toggle: on, off, disabled
- slider: dragging, disabled
- tab: selected, hover
- list: selected, hover
- table: sorted, hover
User can override: "Only add hover and focus" or "Add error state only"
3. Read Existing Component Files
Read both files:
{component-name}.uxm- Current JSON metadata{component-name}.md- Current ASCII template
Extract:
- Current states (from behavior.states array)
- Component type (from type field)
- Visual properties (from ascii section)
- Variables (from ascii.variables array)
- Border style from default state (from behavior.states[0].properties.border)
4. Generate New States
For each new state to add:
A. Add state definition to .uxm file
Insert into the behavior.states array. Each state needs:
{
"name": "hover",
"properties": {
"border": "heavy",
"background": "primary-dark",
"textColor": "default"
},
"triggers": ["mouseenter"]
}
State property patterns by state name:
hover:
- border: "heavy"
- background: slightly darker than default
- triggers: ["mouseenter"]
focus:
- border: "double"
- background: same as default
- textColor: "primary"
- triggers: ["focus"]
active:
- border: "heavy"
- background: "filled"
- triggers: ["mousedown"]
disabled:
- border: "dashed"
- opacity: 0.5
- cursor: "not-allowed"
error:
- border: "heavy"
- borderColor: "red"
- textColor: "error"
success:
- border: "heavy"
- borderColor: "green"
- textColor: "success"
loading:
- opacity: 0.7
- cursor: "wait"
checked (checkbox/radio):
- border: "heavy"
- background: "filled"
- textColor: "primary"
selected:
- border: "heavy"
- background: "highlight"
- textColor: "primary"
open (modal/select):
- visible: true
- triggers: ["click"]
visited (link):
- textColor: "visited"
B. Generate ASCII for new state in .md file
Use appropriate box-drawing characters for each state:
- hover: Heavy border
┏━┓┃┗━┛ - focus: Double border
╔═╗║╚═╝ - active: Heavy filled
┏━┓┃┗━┛with darker interior - disabled: Dashed border
┌┄┄┐┆└┄┄┘ - error: Heavy border with indicator
┏━┓┃┗━┛ ⚠ - success: Heavy border with indicator
┏━┓┃┗━┛ ✓ - checked: Box with checkmark
[✓]or filled indicator - selected: Heavy border with highlight background
- loading: Spinner or progress indicator
Template for new state section in .md file:
## {State Name} State
\`\`\`
{ASCII art using appropriate border style}
\`\`\`
5. Update Files
Write updated files:
- Overwrite
{component-name}.uxmwith expanded states array - Append new state sections to
{component-name}.md
Preserve:
- All existing metadata (name, description, author, created, tags, category)
- All existing variables
- All existing states
- All existing props
- Component ID and version
Update:
metadata.modifiedtimestamp (set to current ISO 8601 timestamp)behavior.statesarray (add new states to end).mdfile (append new state sections before Variables section if it exists, otherwise at end)
Important: When updating the .md file, insert new state sections AFTER existing state sections but BEFORE the Variables, Accessibility, and Usage sections.
5a. Validate Expanded Component
After updating the files, validate the expanded component to ensure quality:
uv run {SKILL_ROOT}/../uxscii-component-creator/scripts/quick_validate.py \\
./fluxwing/components/{component-name}.uxm \\
{SKILL_ROOT}/../uxscii-component-creator/schemas/uxm-component.schema.json
Validation checks:
- ✓ JSON schema
Установить Fluxwing Component Expander в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGlobGrepBashВложенные файлы
FAQ
Что делает скилл Fluxwing Component Expander?
Add interaction states like hover, focus, disabled, active, error to existing uxscii components. Use when working with .uxm files, when user wants to expand, enhance, or add states to .uxm components.
Как установить скилл Fluxwing Component Expander?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Fluxwing Component Expander запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic