magic-ui-generator
できること
このツールは、ウェブサイトやアプリのボタンやフォームなどのUIコンポーネントについて、複数のデザイン案を作成します。モダンで質の高いデザインを参考にした、さまざまなスタイルから選ぶことができます。
使う場面
- ✓料金表セクションなど、新しいビジュアル要素が必要なとき。
- ✓既存のデザインに、よりスタイリッシュなデザインやアニメーションを加えて改善したいとき。
- ✓コンポーネントのデザインの方向性をいくつか比較検討したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/magic-ui-generator/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“モダンでミニマルなスタイルの「お問い合わせ」セクションのデザイン案を3つ作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールはMagicと呼ばれる技術を使って、UIコンポーネントのバージョンを複数生成します。生成された案を比較して、気に入ったものを選ぶと、すぐに使えるコードとしてプロジェクトに組み込まれます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Magic UI Generator
Leverage Magic by 21st.dev to build modern, responsive UI components using an AI-native workflow that prioritizes choice and design excellence.
Context
This skill leverages Magic by 21st.dev to build modern, responsive UI components. Instead of generating a single standard solution, it focuses on providing multiple design variations to choose from, drawing inspiration from a curated library of real-world components and premium design patterns (Shadcn UI, Magic UI, Aceternity, etc.).
When to Use
Trigger this skill whenever:
- A new UI component is requested (e.g., pricing tables, contact forms, hero sections).
- Enhancing an existing UI element with animations, better styling, or advanced features.
- Brainstorming different design directions for a specific feature.
- Professional logos or icons are needed (via the built-in SVGL integration).
Execution Workflow
- Analyze Requirements: Review the component description. Ensure the target output aligns with the project's stack (e.g., Next.js, TypeScript, Tailwind CSS). Define clear constraints for accessibility and responsiveness.
- Generate Variations: Use an available authorized Magic integration or browser tool to explore 21st.dev/magic to generate several distinct, unconventional styles for the requested component.
- Pro Tip: Use descriptive prompts pushing for modern aesthetics: "avant-garde SaaS pricing table with glassmorphism and animated borders" or "highly immersive contact form with dynamic floating labels."
- Present Options: Briefly describe the generated variations side-by-side. Highlight stylistic differences, layout approaches, and premium features (sticky headers, hover animations, etc.).
- Integrate Selection: Once a favorite variation is chosen:
- Integrate the fully functional, production-ready TypeScript code.
- Use existing reviewed dependencies where possible; add a package only when required and compatible, after inspecting its license/version.
- Handle proper props, types, and responsive behaviors.
Strict Rules
- Follow the user's chosen stack, design system and provider budget. This service is optional; do not replace the established UI or spawn a browser agent merely because a guide names one.
- Choice First: Offer variants when requested or a real design decision is unresolved; an accepted design can be implemented directly.
- Clean Code: Ensure all generated code is clean TypeScript, accessible, and responsive.
- Full Ownership: Check original component, icon, font and asset licenses/attributions. Generated code does not establish exclusive ownership or remove third-party rights.
Example
User request:
Generate three production-ready pricing-table variants, compare them, and integrate the strongest option into the current UI.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Inspect generated code as untrusted input, verify actual types, responsive layout, keyboard/focus, reduced motion and form states, and distinguish tested behavior from a production-ready claim. Hosted prompts/code may disclose private product information; obtain authorization for the actual transmission and costs.
よくある質問
「UIコンポーネント」とは何ですか?
ボタン、メニュー、フォーム、カードなど、ウェブサイトやアプリの見た目を構成する部品のことです。
「本番環境で使える」とはどういう意味ですか?
生成されたコードが、良いプログラミングとデザインの方法に沿っており、実際に公開されているウェブサイトやアプリでそのまま使えることを意味します。
このツールでロゴを作成することはできますか?
はい、プロフェッショナルなロゴやアイコンの作成を支援する連携機能があります。
詳細
作者による元の説明
Utilizes Magic by 21st.dev to generate, compare, and integrate multiple production-ready UI component variations.
人気
- GitHubのスター
- 48k
- ランキング
- #5131
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。