Banana web

From agentic-dev3o/devx-plugins · View interactive version

Banana web is an AI agent skill from the GitHub repository agentic-dev3o/devx-plugins. Generate web design assets — hero backgrounds, landing page visuals, card images, section dividers, and motion design keyframes with dark/light mode support. Triggers on: web design, hero image, hero background, landing page background, website asset, section graphic, UI mockup, web banner, motion d

How to use this skill

Skill file

Web Design Assets

Input: $ARGUMENTS (optional — asset type and visual description)

If $ARGUMENTS is provided, use it as the design brief and skip to prompt building. If empty, ask about the asset type and theme.

Requirements

Workflow

  1. Understand — Parse the user's request. Identify the asset type (hero, card, section divider, banner, motion keyframe), its placement context, and intended visual tone. Ask whether the asset targets dark mode or light mode if not specified. If the subject or intent is unclear, ask ONE clarifying question.
  2. Build prompt — Construct a detailed Gemini prompt using the Prompt Formula below. Ensure the prompt specifies negative space placement and focal point offset for headline overlay compatibility.
  3. Configure — Choose aspect ratio, resolution, and model based on the Asset Type Defaults table. Use defaults unless the user specifies otherwise.
  4. Generate — Run the script.
  5. Deliver — Report the saved file path. Do NOT read the image file back. Offer to iterate: adjust palette, composition, theme, or prompt.

Prompt Formula

Build every web design asset prompt using this structure:

[UI Element/Scene] + [Visual Hierarchy Direction] + [Theme Context: dark/light] + [Wide Cinematic Composition] + [Modern Digital Art / Gradient Mesh / 3D Abstract]

Rules

Asset Type Defaults

| Asset Type | Aspect Ratio | Resolution | Notes |

|---|---|---|---|

| Hero background | 16:9 | 2K | Wide composition, focal point offset for headline overlay |

| Card image | 3:2 | 1K | Contained composition, centered or subtly offset subject |

| Section divider | 21:9 | 1K | Ultra-wide, horizontal flow, seamless horizontal tiling |

| Motion keyframe | 16:9 | 2K | Dynamic composition, implied movement, animation-ready |

Generation

uv run "${CLAUDE_PLUGIN_ROOT}/scripts/banana.py" \
  --prompt "<detailed prompt following the formula>" \
  --output "<YYYY-MM-DD-HH-MM-SS-descriptive-name>.png" \
  --resolution <1K|2K> \
  --aspect-ratio <ratio> \
  --model gemini-3-pro-image-preview

Editing (with input images)

When the user provides an existing asset to modify (e.g., change palette, swap theme, adjust composition):

uv run "${CLAUDE_PLUGIN_ROOT}/scripts/banana.py" \
  --prompt "<edit instruction: what to change AND what to keep>" \
  --output "<YYYY-MM-DD-HH-MM-SS-descriptive-name>.png" \
  --input-image "/path/to/source.png" \
  --aspect-ratio <ratio>

For edits, describe both the change and what must stay identical:

"Convert this hero background to dark mode — shift the base to deep navy, change accent colors to luminous cyan. Keep the composition, shapes, and layout exactly the same."

Up to 14 input images can be passed (repeat --input-image for each).

Reference Prompts

See references/prompts.md for ready-to-use example prompts covering hero backgrounds, card illustrations, section dividers, dashboard mockups, and gradient mesh compositions for both dark and light themes.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.