How to build your own style pack for Style Grid

A style pack is a CSV file. You can write one in any spreadsheet or text editor, or build it inside Style Grid without opening a file at all. This guide covers both, plus the habits that keep a pack usable once it grows past a few dozen styles.
It applies to both versions of Style Grid for WebUI and Style Grid for ComfyUI. The file format is the same.
The file
Five columns. The first three are the classic WebUI style format, the last two are optional:
name,prompt,negative_prompt,description,category
LIGHTING_Golden_Hour,"(golden hour:1.3), sunlight, backlighting","clock, sun","Warm evening light.",
LIGHTING_Rim_Light,"(rim light:1.3)","","Thin edge highlight on hair and shoulders.",
CLOTHES_Trench_Coat,"(trench coat:1.4)","down jacket","Long belted coat. Combos: SCENE_Rainy_Street.",Save it as UTF-8. Put it in the extension's styles folder or next to styles.csv (WebUI), or in ComfyUI/user/style_grid/ (ComfyUI).
Names decide the categories
Style Grid takes the part of the name before the first underscore and uses it as the category. LIGHTING_Golden_Hour lands in LIGHTING, CLOTHES_Trench_Coat in CLOTHES. If you'd rather not encode the category in the name, fill in the category column and that wins.
I use the prefix for everything. It keeps names unique, it makes the file sortable, and wildcard slices read naturally: {sg:lighting:Golden_Hour,Rim_Light}.
Keep names unique inside one file. Two rows with the same name in the same CSV will cause trouble when you edit one of them.
What goes in the prompt column
Keep a style to one idea. A lighting style sets the light. It shouldn't also set the pose and the camera, because then you can't combine it with another camera style.
Lead with the tag that carries the idea and give it a weight if the model tends to ignore it. Add supporting tags only if the result is clearly worse without them. Every extra tag is something that can clash with another style later.
What goes in the negative column
The negative of a style should cancel the things that get confused with it, and nothing else. My trench coat style has down jacket in the negative because that's what the model drifts to. It doesn't have quality tags or anatomy fixes. Those belong in one base style that you apply once.
The reason to be strict about this: when one style's negative contains a tag that another selected style adds, the two fight each other. Style Grid shows a conflict warning for these pairs, so you'll see it, but it's better not to create them.
A wildcard in the positive prompt also pulls in the picked style's negative, so a sloppy negative gets applied in places you won't be looking.
Descriptions and "Works with"
The description is free text and shows up in search, so a couple of plain words about what the style does are worth writing.
You can also list styles that go well together:
Long belted coat. Combos: SCENE_Rainy_Street; ACCESSORY_Umbrella; SHOES_*.The part after Combos: up to the first period becomes clickable chips on the card. An exact style name selects that style. A name ending in _* jumps to the category. Entries are separated by semicolons.
Building a pack inside the panel
You don't have to touch the file. Select your pack in the source dropdown and click + in the header to add a style. Right-click any card for Edit…, Duplicate, Move to category… and Delete….
Duplicate is the quickest way to make variants. Copy a style, change one tag, rename it. Renaming keeps the preview, the favorite star and any preset that uses the style.
Test before you trust it
A style that reads well can still do nothing, or do the wrong thing. Before a style goes into a pack I care about, I generate it on a few fixed seeds next to the same prompt without it. If I can't tell the two sets apart, the style is dead weight. There's a full write-up of that method in my guide on comparing styles.
A quick version with Style Grid itself: put a shuffle wildcard on your new category and step through it on one scene. Anything that looks the same as its neighbour needs another look.
Keep a backup
Before a big editing session, open ⋯ More → Backup & restore… and create a snapshot. It takes a second and covers your packs, presets and favorites.
Checklist
UTF-8, with
namein the first column.CATEGORY_Namenaming, unique names per file.One idea per style.
Negatives only cancel what gets confused with the style.
Quality and anatomy tags live in one base style.
Every style tested on fixed seeds against a control.
More guides are on my profile.