跳到正文
cccskills
免费在 GitHub 公开

thesys-generative-ui

> Generate, modify, and style React components from natural language using the Thesys SDK. Guides schema-driven UI generation, theme customisation, tool calling integration, and deployment to Vite, Next.js, or Cloudflare Workers. Use when the user says "generate UI", "create a component", "build an interface", "Thesys", "generative UI", or asks to turn a description into a React component.

中文简介正在准备中。当前显示原文说明。

集成工具Cloudflare
查看安装方法

包含的文件(31)

  • SKILL.md2.4 KB
  • references/ai-provider-setup.md5.3 KB
  • references/common-errors.md11.8 KB
  • references/component-api.md1.5 KB
  • references/error-catalog.md269 B
  • references/integration-guide.md39.5 KB
  • references/tool-calling.md5.5 KB
  • references/use-cases-examples.md3.6 KB
  • references/what-is-thesys.md1.8 KB
  • scripts/check-versions.sh2.1 KB
  • scripts/install-dependencies.sh1.8 KB
  • templates/basic-usage.tsx255 B
  • templates/cloudflare-workers/frontend-setup.tsx4.8 KB
  • templates/cloudflare-workers/worker-backend.ts6.3 KB
  • templates/cloudflare-workers/wrangler.jsonc2.5 KB
  • templates/nextjs/api-chat-route.ts4.5 KB
  • templates/nextjs/app-page.tsx3.3 KB
  • templates/nextjs/package.json1.1 KB
  • templates/nextjs/tool-calling-route.ts8.9 KB
  • templates/python-backend/fastapi-chat.py3.0 KB
  • templates/python-backend/flask-chat.py2.8 KB
  • templates/python-backend/README.md5.2 KB
  • templates/python-backend/requirements.txt379 B
  • templates/shared/streaming-utils.ts9.6 KB
  • templates/shared/theme-config.ts7.3 KB
  • templates/shared/tool-schemas.ts10.0 KB
  • templates/vite-react/basic-chat.tsx3.3 KB
  • templates/vite-react/custom-component.tsx6.0 KB
  • templates/vite-react/package.json1.1 KB
  • templates/vite-react/theme-dark-mode.tsx5.4 KB
  • templates/vite-react/tool-calling.tsx7.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Thesys Generative UI

Last Updated: 2025-11-10

Quick Start

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>;
}

Core Features

  • Natural Language: Describe UI in plain English
  • Schema-Driven: Type-safe component generation
  • React Components: Generate production-ready components
  • AI-Powered: Uses LLMs for intelligent design

Example

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

Resources

Core Documentation

  • references/what-is-thesys.md - What is TheSys C1, success metrics, getting started
  • references/use-cases-examples.md - When to use, 12 errors prevented, all templates catalog
  • references/tool-calling.md - Complete tool calling guide with Zod schemas
  • references/integration-guide.md - Complete setup for Vite, Next.js, Cloudflare Workers

Additional References

  • references/component-api.md - Complete component prop reference
  • references/ai-provider-setup.md - OpenAI, Anthropic, Cloudflare Workers AI setup
  • references/tool-calling-guide.md - Tool calling patterns
  • references/theme-customization.md - Theme system deep dive
  • references/common-errors.md - Expanded error catalog

Templates (15+ files)

  • 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
  • Utilities: theme-config.ts, tool-schemas.ts, streaming-utils.ts

Official Docs: https://docs.thesys.dev | Playground: https://console.thesys.dev/playground

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.

中文简介正在准备中。当前显示原文说明。

secondsky/claude-skills2312026年9月28日 更新

Secure API authentication with JWT, OAuth 2.0, API keys. Use for authentication systems, third-party integrations, service-to-service communication, or encountering token management, security headers, auth flow errors.

中文简介正在准备中。当前显示原文说明。

secondsky/claude-skills2312026年9月28日 更新

Creates comprehensive API changelogs documenting breaking changes, deprecations, and migration strategies for API consumers. Use when managing API versions, communicating breaking changes, or creating upgrade guides.

中文简介正在准备中。当前显示原文说明。

secondsky/claude-skills2312026年9月28日 更新

Verifies API contracts between services using consumer-driven contracts, schema validation, and tools like Pact. Use when testing microservices communication, preventing breaking changes, or validating OpenAPI specifications.

中文简介正在准备中。当前显示原文说明。

secondsky/claude-skills2312026年9月28日 更新

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

中文简介正在准备中。当前显示原文说明。

secondsky/claude-skills2312026年9月28日 更新

Implements standardized API error responses with proper status codes, logging, and user-friendly messages. Use when building production APIs, implementing error recovery patterns, or integrating error monitoring services.

中文简介正在准备中。当前显示原文说明。

secondsky/claude-skills2312026年9月28日 更新

查看 secondsky 的全部技能

报告此技能的问题