UI To Vue Skill
- Installs
- 9.1k
- Repo stars
- 315k
- Repo updated
- Dec 1, 2026
TL;DR
ui-to-vue is a Claude Code skill that batch-converts UI design screenshots into Vue 3 Composition API components for developers who target Vant, Element Plus, or Ant Design Vue in Vue 3 applications.
Install if
Frontend developers scaffolding a Vue 3 app from a multi-screen design export folder with a chosen UI library.
Skip if
Non-Vue frameworks, single-screenshot requests, or designs requiring full interaction logic, a11y review, or private data in screenshots.
npx skills add https://github.com/affaan-m/ECC --skill ui-to-vueTry it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add the remote connector:
claude mcp add --transport http skillselion https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:affaan-m/ecc#ui-to-vue (Ui To Vue) and follow it.Try it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add this URL as a custom connector (Claude.ai, ChatGPT or Cursor):
https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:affaan-m/ecc#ui-to-vue (Ui To Vue) and follow it.What ui-to-vue covers
- Batch converts directories of screenshots into Vue 3 components
- Groups related states (list, detail, form, loading, empty) into single page components
- Automatically wires router and shared component references
- Supports Vant, Element Plus, and Ant Design Vue component libraries
- Respects structured screenshot folder conventions including cut-images directories
ui-to-vue by the numbers
| All-time installs | 9,134 | skills.sh registry |
|---|---|---|
| Repo stars | ★ 315k | GitHub |
| Repo last updated | December 1, 2026 | GitHub |
| Repository | affaan-m/ECC ↗ | |
Data as of Dec 2, 2026 (Skillselion catalog sync)
- Supports 3 Vue UI libraries: Vant, Element Plus, and Ant Design Vue
What does the Ui To Vue skill produce?
Vue 3 Composition API page and shared components with initial router wiring from design screenshot batches.
- Vue component files
- Shared component modules
- Initial router wiring
What files ship with ui-to-vue?
UI To Vue
UIデザインのスクリーンショットをVue 3 Composition APIコンポーネントコードに一括変換します。
使用するタイミング
- ユーザーがデザインスクリーンショットまたはデザインエクスポート画像のディレクトリを提供するとき。
- ターゲットアプリケーションがVue 3のとき。
- ユーザーがページコンポーネント、共有コンポーネント、ルーター配線の最初の変換を希望するとき。
- ユーザーがVant、Element Plus、またはAnt Design Vueをコンポーネントライブラリとして指定するとき。
使用しないタイミング
- ユーザーがスクリーンショット1枚のみで、特定のコンポーネントを希望するとき。
- ターゲットプロジェクトがVueでないとき。
- デザインが詳細なインタラクションロジック、データフロー、またはアクセシビリティレビューを必要とするとき。
- スクリーンショットに外部モデルAPIに送信できないプライベートな顧客データが含まれるとき。
入力
モジュールとページ状態でスクリーンショットをグループ化したディレクトリを入力として使用します。
サポートされている切り出し画像ディレクトリ名:assets、icons、sprites、cut、images、cut-images。
変換モデル
- ページグループ化:リスト、詳細、フォーム、ローディング、または空の状態を表す関連スクリーンショットを1つのページコンポーネントにまとめる。
- UIライブラリマッピング:可能な限りネイティブのビジュアル要素をVant、Element Plus、またはAnt Design Vueコンポーネントにマッピングする。
- 切り出し画像の優先順位:ページレベルのアセットを優先し、次にモジュールレベル、最後にグローバル共有アセット。
- コンポーネント抽出:繰り返し使われるUIリージョンが2回以上現れる場合は共有コンポーネントに抽出する。
CLI使用方法
グローバルバイナリに依存せず、ドキュメントに記載されたコマンドが機能するように npx でコンバーターを実行します:
export DASHSCOPE_API_KEY=your_key
npx ui-to-vue-converter@1.0.2 --input ./screenshots --ui vant --output ./srcオプション
| オプション | 説明 | デフォルト |
|---|---|---|
--input | デザイン画像ディレクトリ | ./screenshots |
--ui | UIライブラリ:vant、element-plus、または antd-vue | vant |
--output | 出力ディレクトリ | ./src |
--config | 設定ファイルのパス | ./.ui-to-vue.config.json |
セキュリティとプライバシー
- デザインスクリーンショットを外部モデルAPIに送信される可能性があるソース素材として扱う。
- 許可なくプライベートな顧客デザインでこのフローを実行しないこと。
- 再現可能なワークフローでは
@latestの代わりにコンバーターのバージョンを固定すること。 - コミット前に生成されたVueコードをレビューすること。
.ui-to-vue.config.json、APIキー、生成されたシークレット、または顧客スクリーンショットをコミットしないこと。
出力レビューチェックリスト
- [ ] ページコンポーネントが
views/または選択した出力ディレクトリの下に生成された。 - [ ] 繰り返しのUIリージョンが再利用が明確な場合のみ
components/に抽出された。 - [ ] ルーター出力がターゲットプロジェクトのルータースタイルと互換性がある。
- [ ] 生成されたコンポーネントが要求したUIライブラリを一貫して使用している。
- [ ] 生成されたCSSのユニットがデザインのベースラインと一致している。
- [ ] コードがプロジェクトのフォーマッター、リンター、型チェッカー、ビルドをパスする。
- [ ] プレースホルダーのコピー、モックデータ、生成されたアセットをコミット前にレビューした。
トラブルシューティング
| 問題 | 確認事項 |
|---|---|
401 または認証エラー | コマンドを実行するシェルで DASHSCOPE_API_KEY が設定されていることを確認する。 |
command not found: ui-to-vue | npx ui-to-vue-converter@1.0.2 の形式を使用するか、パッケージをグローバルインストールする。 |
| 切り出し画像が無視される | アセットディレクトリ名がサポートされており、対応するページまたはモジュールの下にネストされていることを確認する。 |
| コンポーネントが要求されたUIライブラリを無視する | 明示的な --ui 値で再実行して、生成されたインポートを確認する。 |
| 生成されたレイアウトの寸法がおかしい | スクリーンショットのエクスポート幅がターゲットライブラリのベースラインと一致していることを確認する。 |
リファレンス
- npmパッケージ:
ui-to-vue-converter
Which skills are related to ui-to-vue?
What are the Ui To Vue skill forks?
Ui To Vue has 1 known copy in the catalog totaling 2.4k installs. They canonicalize to this original listing.
- affaan-m - 2.4k installs
Ui To Vue skill FAQ
Who is the Ui To Vue skill for?
Frontend developers scaffolding a Vue 3 app from a multi-screen design export folder with a chosen UI library. Skip if: Non-Vue frameworks, single-screenshot requests, or designs requiring full interaction logic, a11y review, or private data in screenshots.
When should I use ui-to-vue?
User provides a directory of UI screenshots or design exports for a Vue 3 app and names Vant, Element Plus, or Ant Design Vue.
Which Vue UI libraries does ui-to-vue support?
ui-to-vue supports Vant, Element Plus, and Ant Design Vue when generating Vue 3 Composition API components. The developer specifies the target library before batch conversion begins.
What input format does ui-to-vue expect?
ui-to-vue expects a directory of UI screenshots grouped by module and page state. Supported sliced-image folder names include assets and icons for design export assets.
Add a ui-to-vue badge
Show developers this skill is listed on Skillselion. Paste this into your README.