본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

test-materials

cai-zhuo 제작

DevOps & Cloud
366clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Render JSON schemas to images and generate schemas from prompts using declare-render and AI.

설명

이 스킬이 하는 일

A CLI tool for working with declare-render JSON schemas. It renders schemas to PNG or JPG images, validates schema files against the declare-render format, and generates schemas from text prompts using OpenAI.

Combines schema generation, validation, and rendering in a single CLI instead of requiring separate tools for each step.

사용 시점

  • Rendering a JSON layout schema to a PNG for design review
  • Generating an image from a plain-text description without writing JSON
  • Validating a schema file before passing it to a render pipeline
  • Exporting structured visual templates as static image files
  • Prototyping image layouts by describing them in natural language

예시 워크플로

입력

User asks: generate an image of a red circle with the text 'Hello'

에이전트
  1. 1

    Runs materials generate "A red circle with text Hello" -o out.png

  2. 2

    OpenAI generates a declare-render JSON schema from the prompt

  3. 3

    CLI validates the generated schema against the declare-render format

  4. 4

    CLI renders the schema to out.png

출력

out.png saved to the working directory containing a red circle with 'Hello' text

요구 사항

  • OPENAI_API_KEY — OpenAI API key, required for the generate command

설치

clawhub install cai-zhuo/test-materials

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크