mcpField
T
thesys-generative-ui

thesys-generative-ui

github.com/secondskyデザイン・UI240377 回インストール5 週間前に更新
リポジトリ

thesys-generative-ui について

自然言語の説明から Thesys で React UI コンポーネントを作成するスキルです。スキーマに基づく型安全な生成に加え、連携、テーマ、ツール呼び出しの資料を含みます。

主な機能

  1. 01自然言語による UI の説明
  2. 02スキーマ駆動のコンポーネント生成
  3. 03型安全な React コンポーネント
  4. 04テーマカスタマイズのガイド
  5. 05ツール呼び出しのパターン
  6. 06連携テンプレートと資料

活用シーン

  1. 01説明からプロフィールカードを生成
  2. 02問い合わせフォームの作成
  3. 03テンプレートでチャット UI を構築
  4. 04UI フロー向けツール呼び出しの設定

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/secondsky/claude-skills --skill thesys-generative-ui

インストール後、Claude Code で/thesys-generative-uiを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
ai-provider-setup.md
common-errors.md
component-api.md
error-catalog.md
integration-guide.md
tool-calling.md
use-cases-examples.md
what-is-thesys.md
scripts/
check-versions.sh
install-dependencies.sh
templates/
basic-usage.tsx
templates/cloudflare-workers/
frontend-setup.tsx
worker-backend.ts
wrangler.jsonc
templates/nextjs/
api-chat-route.ts
app-page.tsx
package.json
tool-calling-route.ts
templates/python-backend/
fastapi-chat.py
flask-chat.py
README.md
requirements.txt
templates/shared/
streaming-utils.ts
theme-config.ts
tool-schemas.ts
templates/vite-react/
basic-chat.tsx
custom-component.tsx
package.json
theme-dark-mode.tsx
tool-calling.tsx

詳細

Thesys Generative UI

最終更新日:2025-11-10

クイックスタート

import { generateUI } from 'thesys';

const ui = await generateUI({
  prompt: 'Create a user profile card with avatar, name, and email',
  schema: {
    type: 'component',
    props: ['name', 'email', 'avatar']
  }
});

export default function Profile() {
  return <div>{ui}</div>;
}

主な機能

  • 自然言語:平易な英語で UI を記述します
  • スキーマ駆動:型安全なコンポーネントを生成します
  • React コンポーネント:本番環境ですぐに使えるコンポーネントを生成します
  • AI 搭載:LLM を使用して、インテリジェントなデザインを実現します

使用例

const form = await generateUI({
  prompt: 'Create a contact form with name, email, and message fields',
  theme: 'modern'
});

リソース

コアドキュメント
  • references/what-is-thesys.md - TheSys C1 とは何か、成功指標、利用開始方法
  • references/use-cases-examples.md - 使用するタイミング、防止される12のエラー、すべてのテンプレートカタログ
  • references/tool-calling.md - Zod スキーマを使ったツール呼び出しの完全ガイド
  • references/integration-guide.md - Vite、Next.js、Cloudflare Workers の完全なセットアップ
その他のリファレンス
  • references/component-api.md - コンポーネントのプロパティに関する完全なリファレンス
  • references/ai-provider-setup.md - OpenAI、Anthropic、Cloudflare Workers AI のセットアップ
  • references/tool-calling-guide.md - ツール呼び出しのパターン
  • references/theme-customization.md - テーマシステムの詳細
  • references/common-errors.md - 拡張版エラーカタログ
テンプレート(15以上のファイル)
  • Vite + React:basic-chat.tsx、custom-component.tsx、tool-calling.tsx、theme-dark-mode.tsx
  • Next.js:app/page.tsx、app/api/chat/route.ts、tool-calling-route.ts
  • Cloudflare Workers:worker-backend.ts、frontend-setup.tsx
  • ユーティリティ:theme-config.ts、tool-schemas.ts、streaming-utils.ts

公式ドキュメント:https://docs.thesys.dev | プレイグラウンド:https://console.thesys.dev/playground

コメント