An agent skill that turns one Figma frame, an offers file and the product shots in your ImageKit DAM into banners. Each banner is a live ImageKit URL, so nothing is exported from Figma per banner.
Check out Template-based creative automation with Figma and ImageKit to learn more.
| Path | What it is |
|---|---|
.claude/skills/figma-banner-builder/ |
The skill: its instructions, the banner URL template and two scripts |
offers.csv |
A sample offers file with 11 rows. Row o11 has no matching product on purpose |
templates/ |
Two sample frame backgrounds, 1200x400 and 1080x1080 |
.mcp.json |
The Figma, ImageKit DAM and ImageKit DevTools servers |
- An AI coding agent that supports skills, can run shell commands and can connect to MCP servers. We tested it in Claude Code.
- Python 3. The scripts use only the standard library.
- The Figma remote MCP server with a Dev or Full seat on a paid Figma plan
- An ImageKit account
The skill sits in .claude/skills/, where Claude Code looks for it. For another agent, copy the figma-banner-builder folder to wherever that agent reads skills from, and add the servers in .mcp.json the way that agent expects. The commands in the skill's instructions use the .claude/skills/ path, so change those too if you move it.
- Frame. In Figma, make a frame with six layers named
background,product,logo,headline,priceandcta. Thectalayer holds a text layer namedcta-label. The frame can be any size. - Background. Export the
backgroundlayer and upload it to your DAM as/templates/<frame name>-bg.png. The two samples intemplates/work if you name your framebanner-1200x400orbanner-1080x1080. - Assets. Put product images in
/productswith the custom metadata fieldsbrand,genderandgarment_type, and logos in/logoswithbrand. - Offers. Edit
offers.csvso its values match your metadata. Keep the column names. - Servers. Connect the Figma and ImageKit DAM servers in your agent and sign in to each. DevTools is only needed to regenerate the URL template.
Give your agent a link to the frame, including its node-id:
Build a banner for every offer in offers.csv from this Figma frame, using the products in our ImageKit DAM:
To try it on a few rows first, ask for "the first 2 offers".
The run writes three files to banner-output/, plus a saved copy of every banner:
banners.csv: one row per banner, with its URLfailed-rows.csv: one row per offer that had no match, with the reasoncontact-sheet.html: every banner, grouped by offer
- Fonts and colors are fixed in
url-template.txt: Montserrat and Roboto, and the sample brand colors. Change them there, or regenerate the template with the DevToolstransformation_builder, then look at a banner to check it. - Matching rules are in the skill's instructions. An offer with no matching product fails with a reason and is never filled with something close.