Recipe banner
Use this recipe with design-core. File names start with banner-, for example .codenomad/design/<subject>/banner-bold-a.png.
Framing questions
Ask only what the brief and the project leave open, 2 to 4 questions at most, each with choices and a default:
- Use: README banner, wide 2:1 / social preview (OG) image, 1.91:1 (default: README banner).
- Text in the image: the project name / the name and a tagline of up to 5 words / no text (default: the project name). Warn that image models often misspell text, so important text may need redrawing.
- Visual: offer two or three motifs drawn from what the project does (default: the first one).
- Directions: let the agent choose three / one named direction (default: the agent chooses three).
Prompt
- State the ratio in the prompt: "wide 2:1 banner" or "1.91:1 social preview image".
- Keep every word inside a safe area with wide margins: previews crop the edges and social cards are often shown small.
- One short, large title with strong contrast; at most one tagline; no paragraphs, badges, fake buttons or small print.
- One motif that carries the project's idea; leave calm space around the text.
- Match the project's colours when they are known.
Review
Check the title at one-third width, spelling, crop-safe edges and the motif's fit with the project. Recommend the best banner and what to fix.
