r/ClaudeAI • • 1d ago

Built with Claude I open-sourced the Claude Code skill we built to generate Apple WWDC-style release Bentos and 4-panel social carousels (MIT)

We have been building, using, and refining this internally with Claude Code for our Mac app (Droppy) for months, and just open-sourced the whole thing under the MIT license (100% free, no paid tiers or accounts).

The problem we kept running into: every time we shipped an update, putting together an Apple WWDC25-style 20x12 feature grid or a flowing 4-panel X/Threads carousel by hand took half a day, and asking an LLM to draw one with HTML/CSS or image generation always looked flat, misaligned, or off-brand. We used Claude Code over dozens of real release cycles to build the native Swift offscreen renderers, tighten the 20x12 layout rules, and codify every visual check into an automated linter so it stopped making the same mistakes.

We packaged the whole setup as a drop-in skill (skill/bentokit/) for Claude Code (also works in Codex, Antigravity, and Cursor).

How the Claude Code workflow works
- Drop skill/bentokit/ into ~/.claude/skills/bentokit/ and ask Claude to build a release Bento or 4-panel social carousel for your repo.
- Claude first runs apple-bento/tools/discover_brand.py against your project to scan existing brand docs, color tokens, fonts, .icon bundles, wallpapers, and recent changelog deltas, then writes a brand.json.
- Instead of faking Apple visuals in CSS, Claude drives small native Swift + CoreGraphics CLI renderers (glassword, glyph, keycaps, tilt3d, compose) that render real macOS SwiftUI .glassEffect(.regular) offscreen through Metal CARenderer, build multi-layer Apple Icon Composer icons via Xcode's ictool, and composite your actual UI captures inside 9 pixel-calibrated hardware bezels.
- After rendering, apple-bento/tools/lint.py runs an automated visual lint pass (checking 1:1 sharpness with zero upscaling, white-tile balance, UI text legibility floors, sentence case, and carousel seam safety so nothing gets sliced across panels) plus a 400% Liquid Glass rim refraction proof. Claude reads the review crops and iterates until it hits 0 errors, 0 warnings.

The attached images were all generated with BentoKit: a meta Reddit-branded Bento, an X-branded Bento, a flowing 4-panel Facebook carousel, and the BentoKit overview itself. All the runnable examples and skill instructions are in the repo.

Requires macOS 26+, Xcode 26+, and Python 3 (pillow and numpy).

Repo (MIT): https://gitlab.com/droppyformac1/bentokit

81 Upvotes

10 comments sorted by

3

u/KILLJEFFREY 23h ago

Yeah, me too lol

0

u/iordv 23h ago

💙

1

u/miracletime 23h ago

Pairing tiny native CLI renderers with an automated visual linter like lint.py is such a smart pattern for Claude Code skills. Giving the agent concrete geometry checks and review crops to iterate against beats trying to prompt HTML/CSS or image gen into looking right every single time. Also really cool that it pulls tokens straight from existing .icon bundles and brand docs before composing.

1

u/iordv 23h ago

Yeah! You can basically just point it at your app or existing brand resources - and it'll make an awesome Bento-card that looks super professional in minutes.

-9

u/HeadmasterP 1d ago

Why copy Apple instead of creating something unique?

9

u/iordv 1d ago

Go ahead and do so! That's not what I posted this for.

1

u/metatalks 23h ago

I mean you could always use something else lol he just chose to do this for this exercise.

3

u/iordv 23h ago

Yeah that's it - it's made for people who love this style and can't really nail it. I worked a lot on this, felt like I nailed it, and justed wanted to share 💙