تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

materials-workbench

بواسطة cai-zhuo

Web & Frontend Development
317التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Materials editor workbench — React UI and Express server to render JSON schemas to images and generate schemas.

الوصف

ما الذي تفعله هذه المهارة

Local web workbench with a React frontend and Express backend for editing and rendering JSON schemas to images. The server uses declare-render to produce PNG or JPG files and materials-agents, backed by OpenAI, to generate or refine schemas on request.

Combines a visual schema editor, AI-assisted schema generation, and live image rendering in one local environment, removing the need to switch between separate tools.

متى تستخدمها

  • Editing render schemas and previewing image output in real time
  • Generating a new schema layout with AI from a text description
  • Iterating on layer composition for image templates
  • Exporting PNG or JPG assets from JSON schema definitions
  • Running a local dev environment for schema-based image creation

مثال على سير العمل

الإدخال

User asks: generate a banner schema with a title and background color, then render it to PNG

الوكيل
  1. 1

    Starts the workbench server and client with pnpm run dev

  2. 2

    Sends the user's description to the AI schema generation endpoint

  3. 3

    Receives a declare-render JSON schema with text and shape layers

  4. 4

    Renders the schema to PNG via the Express server's render endpoint

  5. 5

    Displays the image preview in the React client UI

الإخراج

A PNG image rendered from the AI-generated declare-render schema

المتطلبات

  • OPENAI_API_KEY — required for AI schema generation and refinement features

التثبيت

clawhub install cai-zhuo/materials-workbench

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط