Vue collapse skill

From jiushiwon/wg-skills · View interactive version

Vue collapse skill is an AI agent skill from the GitHub repository jiushiwon/wg-skills. Vue 折叠面板组件,提供 base-collapse 组件(单面板 + 手风琴模式)。纯 HTML/CSS 实现,遵循 vue-generate-skill 规范。触发词:"Vue 折叠面板"、"vue-collapse"、"手风琴"、"accordion"、"展开收起"。

How to use this skill

Skill file

Vue Collapse Skill

容器原则:必须嵌入 <base-card> 使用

零 HTML5 标签:标题栏用 <div role="button"> 模拟,不用 <details>/<summary>/<button>

折叠面板组件,详细规范见 base-collapse.md。

能力清单

| 能力 | 说明 |

|------|------|

| 单面板折叠 | 单个面板展开/收起 |

| 手风琴模式 | accordion 同时仅一项展开 |

| 禁用项 | disabled 面板不可展开 |

| 自定义标题 | title 插槽 |

触发关键词

Vue 折叠面板、vue-collapse、手风琴、accordion、展开收起
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.