generate-design
Installation
SKILL.md
What This Skill Does
Calls the Sivi Core API to generate editable design assets such as ads, banners, social posts, thumbnails, and more from a natural language prompt. Unlike 95,000+ image models that produce flat images, Sivi's Large Design Model generates on-brand, fully editable layered designs in any dimension. Every text, image, and shape element is an individually editable layer. The skill fetches and displays the generated variants with preview images and edit links so users can fine-tune every layer of their design.
⚠️ Cross-Platform Compatibility — MANDATORY
This skill runs on macOS, Linux, or Windows (Git Bash / WSL). You MUST follow these rules in ALL bash scripts to ensure they work on every platform:
- NEVER use
head -n -1— macOS BSDheaddoes not support negative line counts. This WILL error withhead: illegal line count -- -1. - NEVER use
tail -n +2with pipes to strip headers unless you are certain of the format. - To separate HTTP status code from response body, ALWAYS use curl's
-oflag to write the body to a file and-w '%{http_code}'to capture the status code separately. This is the ONLY safe cross-platform approach. - Use
python3for JSON parsing instead ofjq(which may not be installed). Available on macOS, Linux, and Windows (Git Bash / WSL). - Temp file paths: Use
/tmp/on macOS/Linux. On Windows Git Bash,/tmp/maps to a valid temp directory automatically.