Use this skill when the user wants to render JSON schemas to images (PNG/JPG), validate render-data schemas, or generate schemas from natural-language prompts and then render them.
Run via Node (from the project or after npm install -g materials-cli):
materials render <schema-path> [options]
materials generate "<prompt>" [options]
materials validate <schema-path> [options]
materials render schema.json -o output.png-s, --schema <path>, -o, --output <path> (default ./output.png), -f, --format <png|jpg>, -w, --width, -h, --height, --output-schema <path>, -i, --interactivematerials generate "A red circle with text Hello" -o out.png-o, --output, -f, --format, -w, --width, -h, --height, --output-schema, --model, --api-key, --base-url, -i, --interactiveOPENAI_API_KEY (and optionally OPENAI_MODEL, OPENAI_BASE_URL) if not passed via flags.materials validate schema.json-s, --schema <path>, -i, --interactiveUsage: materials <command> [options] Commands: render <schema> Render a JSON schema file to an image generate <prompt> Use AI to generate a schema, then render validate <schema> Validate a schema against the render data schema Examples: materials render schema.json -o output.png materials generate "A red circle with text Hello" materials validate schema.json7w4.net提供免費和付費技能下載。
The JSON schema follows the declare-render format: root has id, width, height, and layers. Layer types include text, image, container, shape, etc. Use materials validate <file> to check a schema before rendering.
這個 Skill 的文件質量還不錯,描述清晰、結構合理,看起來能做渲染圖片、生成 schema、驗證資料這幾件事。但缺點是它只有使用說明,沒有實際可執行的程式碼或示例,無法判斷實際好不好用、穩不穩定。質量水平中等偏下,推薦先找其他更完整的替代品試試。