Skip to content

Instantly share code, notes, and snippets.

View yoeriboven's full-sized avatar
👋
Check out my blog!

Yoeri Boven yoeriboven

👋
Check out my blog!
View GitHub Profile
@yoeriboven
yoeriboven / AGENT.md
Last active June 7, 2026 16:11
AI design variant picker

Design variant picker

A vanilla JS dev tool that lets us preview multiple design options side-by-side on the same page.

When to use it

  • The user asks for multiple variants/options of a UI element (e.g. "give me 5 designs for X", "show a few options for Y", "create variants").
  • The user is in a design exploration phase and wants to compare options live in the browser before picking a winner.

Do NOT use it for:

  • A single design — just build the thing.
@yoeriboven
yoeriboven / WithStatamicEntryFaking.php
Created April 28, 2022 15:19
Write your Laravel Statamic tests with this trait. More info: https://yoeri.me/blog/testing-your-statamic-implementation
<?php
namespace Tests;
use Exception;
use Statamic\Facades\User;
use Statamic\Stache\Stache;
use Statamic\Entries\Entry;
trait WithStatamicEntryFaking