asset-enhancerlisted
Install: claude install-skill MohamedAbdallah-14/prompt-to-asset
# asset-enhancer skill
Comprehensive behavior spec for producing production-grade software-development assets. Drives every `asset_*` MCP tool.
## Cardinal rules
> 1. Producing production-grade software assets is a **routing + post-processing** problem, not a prompt-engineering problem.
> 2. The user may not have an image-model API key. The plugin must work anyway.
> 3. There are real zero-key and free-token paths — always surface them first before asking the user to pay for anything. The `free_api.routes` block in `asset_capabilities()` enumerates the ranked free programmatic routes: Cloudflare Workers AI (Flux-1-Schnell + SDXL, 10k neurons/day), NVIDIA NIM (Flux / SDXL / SANA, 1k requests/month with `NVIDIA_API_KEY`, no card), HF Inference (free `HF_TOKEN`), Stable Horde (anonymous queue), Pollinations (zero-signup HTTP, last resort), and local ComfyUI. **Google's Gemini / Imagen image API is paid for programmatic image output** — unbilled `GEMINI_API_KEY` → HTTP 429, `limit: 0`. The AI Studio **web UI** at https://aistudio.google.com is still free for interactive generation — treat it as a paste-only flow (`external_prompt_only` → `asset_ingest_external`).
See `rules/asset-enhancer-activate.md` for the condensed always-on version. This file is the long-form spec.
## Three execution modes
Before generating anything, decide (with the user) which mode to use. Call `asset_capabilities()` to learn what's available in the current environment.
### 1. `inline_svg` — zero ke