Token导航 LogoToken导航TokenDH.com
图像处理只读github未标认证来源可访问clear审计提醒

fluxwing-component-expanderFluxwing 组件扩展器

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

27,056

周安装

779

GitHub Stars

14

下载量

4,857
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fluxwing-component-expander(Fluxwing 组件扩展器)
来源仓库:https://github.com/jackspace/claudeskillz
仓库路径:skills/fluxwing-component-expander
安装命令:
npx skills add https://github.com/jackspace/claudeskillz --skill 'Fluxwing Component Expander'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jackspace/claudeskillz --skill 'Fluxwing Component Expander'

简介

用于辅助图像生成和图片编辑工作流。

  • 适合扩展组件功能或整合视觉元素。
  • 需确认输入图片版权、输出格式及模型限制。
  • 安装命令:npx skills add https://github.com/jackspace/claudeskillz --skill 'Fluxwing Component Expander'。
  • 涉及公开展示素材时应额外审核授权与内容合规。

SKILL.md

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}.uxm with 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.modified timestamp (set to current ISO 8601 timestamp)
  • behavior.states array (add new states to end)
  • .md file (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 compliance
  • ✓ All states have valid properties
  • ✓ Variables match between.uxm and.md
  • ✓ Accessibility requirements met
  • ✓ No duplicate states

If validation fails:

  1. Read the error messages
  2. Fix the issues in the.uxm or.md files
  3. Re-validate before confirming to user

Performance: ~100ms (very fast!)

6. Confirm Expansion

Show summary:

✓ Expanded: ./fluxwing/components/{component-name}
✓ Added states: hover, active, disabled
✓ Total states: 4 (default, hover, active, disabled)

Preview of hover state:
┏━━━━━━━━━━━━━━━━━━━━┓
┃   {{text}}         ┃
┗━━━━━━━━━━━━━━━━━━━━┛

Resources Available

  • State patterns: {SKILL_ROOT}/docs/06-ascii-patterns.md - Box-drawing characters
  • Component creation: {SKILL_ROOT}/docs/03-component-creation.md - Component structure

Example Interaction

User: Expand submit-button with hover state

Skill: I found `submit-button` in ./fluxwing/components/

Current states: default

I'll add the hover state to make the button interactive.

[Reads submit-button.uxm and submit-button.md]
[Generates hover state]
[Updates both files]

✓ Expanded: ./fluxwing/components/submit-button
✓ Added states: hover
✓ Total states: 2 (default, hover)

Preview of hover state:
┏━━━━━━━━━━━━━━━━━━━━┓
┃   Submit Form      ┃
┗━━━━━━━━━━━━━━━━━━━━┛

Next steps:
- Add more states (active, disabled)
- Use this button in a screen
- View all components

Example with Custom States

User: Add focus and error states to email-input

Skill: I found `email-input` in ./fluxwing/components/

Current states: default

I'll add the requested states: focus, error

[Generates only focus and error states]

✓ Expanded: ./fluxwing/components/email-input
✓ Added states: focus, error
✓ Total states: 3 (default, focus, error)

Note: Standard input states also include 'disabled'.
Let me know if you want to add it!

Quality Standards

Ensure expanded components include:

  • ✓ Valid JSON schema compliance (no breaking changes)
  • ✓ All new states have definitions in.uxm behavior.states array
  • ✓ All new states have ASCII sections in.md
  • ✓ State properties match component type conventions
  • ✓ Consistent box-drawing character usage
  • ✓ Updated modification timestamp
  • ✓ Preserved existing data (no data loss)
  • ✓ No duplicate states (check before adding)

Important Notes

  • Always preserve existing states (never remove or modify existing ones)
  • Detect duplicate states (skip if state already exists in behavior.states array)
  • Validate component after expansion (ensure valid JSON)
  • Use appropriate border styles per state (refer to patterns doc)
  • Match visual style of existing default state (consistent dimensions and layout)
  • Test keyboard navigation for new interactive states
  • Insert.md sections in correct location (after states, before Variables section)
  • Update only the modified timestamp (preserve created timestamp)

Error Handling

If component not found:

✗ Component '{component-name}' not found.

Searched in:
- ./fluxwing/components/
- ./fluxwing/library/

Available components:
[List first 10 components found]

Please check the component name and try again.

If state already exists:

⚠ State 'hover' already exists in {component-name}.
Skipping duplicate state.

Current states: default, hover
Adding: active, disabled

If file write fails:

✗ Failed to update {component-name}.

Error: [specific error message]

The component files remain unchanged.
Please check file permissions and try again.

You're helping users create fully interactive uxscii components!

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.84%
按下载量换算1,546

windsurf

23.69%
按下载量换算1,151

OpenCode

17.06%
按下载量换算829

Codex

12.49%
按下载量换算607

Antigravity

8.43%
按下载量换算409

Gemini CLI

3.55%
按下载量换算172

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。来源字段存在多来源差异,先按来源优先级自动处理,无法消解时进入异常复核队列。

来源信息

继续浏览同类 Skills