skills/asset-generation/SKILL.md
Generate hero images, illustrations, and visual assets for SaaS websites using AI image APIs. Every page MUST have a visual centerpiece — never just text. Use Fal.ai with Flux 2 Pro for best quality. Triggers when building landing pages, hero sections, or any page that needs custom imagery.
npx skillsauth add Cheggin/skill-chain asset-generationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate custom images for SaaS websites using AI image APIs.
Landing pages and marketing pages MUST have a visual centerpiece. A text-only lander looks unfinished. The visual IS the design for landers.
Pages that need custom visuals:
Pages that DON'T need generated assets:
Midjourney produces the best quality images for hero sections, illustrations, and brand visuals. No AI tool matches it for final production assets.
The harness CANNOT generate Midjourney images programmatically. Instead:
TODO(midjourney) comment next to every placeholder image in the codebasepublic/images/This is a manual step. The harness automates everything it can, but Midjourney quality requires human curation.
Use Fal.ai for placeholder images during development. Fast, cheap, good enough for layout validation.
npm install @fal-ai/client
import { fal } from "@fal-ai/client";
fal.config({ credentials: process.env.FAL_KEY });
const result = await fal.subscribe("fal-ai/flux-pro/v1.1", {
input: {
prompt: "Painterly illustration of a Mediterranean terrace overlooking the sea, warm sunlight, classical statue, vibrant flowers, impressionist style",
image_size: "landscape_16_9",
num_images: 1,
},
});
// result.data.images[0].url — download and save to public/images/
// Mark as placeholder: <!-- TODO(midjourney): Replace with production image -->
| Provider | Quality | Cost | Use Case | |----------|---------|------|----------| | Midjourney | Best | $10/mo plan | Production hero images, illustrations — USER generates manually | | Fal.ai Flux 2 Pro | Good | ~$0.05/img | Prototyping placeholders during build | | Fal.ai Flux Schnell | Okay | ~$0.003/img | Fast iterations, layout testing | | Replicate SDXL | Good | ~$0.02/img | Custom LoRA styles if needed | | OpenAI DALL-E 3 | Okay | ~$0.04/img | Text rendering in images | | Recraft v3 | Good | ~$0.04/img | Brand assets, icons |
public/images/ with descriptive namesnext/image with proper width/height for zero layout shiftdevelopment
Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, typography, micro-interactions, enter/exit animations, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, border radius, optical alignment, font smoothing, tabular numbers, image outlines, box shadows.
documentation
Agentic memory system for writers - track characters, relationships, scenes, and themes
documentation
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
development
Build production-quality SaaS websites with opinionated design presets. Use when creating any startup website. The user MUST pick a design style before building. Enforces shadcn/ui, Figma design principles, specific CSS values per style, and anti-AI-writing. Load alongside anti-ai-writing skill. LIGHT MODE ONLY.