<h1 align="center">
<a href="https://prompts.chat">
Only send character reference PNGs for characters whose faces/features are actually visible and close enough to matter in the current panel. Sending refs for distant or occluded characters causes visual bleed.
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
Only send character reference PNGs for characters whose faces/features are actually visible and close enough to matter in the current panel. Sending refs for distant or occluded characters causes visual bleed.
When two characters share visual traits (both South Asian women with black hair), sending both reference sheets causes the model to blend them. The model sees two sets of similar-looking reference images and averages them. The daughter gets the mother's long hair. The mother gets the daughter's round face. Features cross-contaminate.
This is especially dangerous when:
Before adding a character to "characters": [] in prompts.json, ask:
If the answer to #1 or #2 is NO → don't send their refs.
| Distance | Send refs? | Why |
|---|---|---|
| Close-up (< 3 feet) | YES — full ref set | Face details, expression, clothing texture all matter |
| Medium (3-8 feet) | MAYBE — character sheet only | Body proportions matter, facial details less so |
| Far (8+ feet) | NO — text description only | Model can't render facial details at this distance anyway |
| Silhouette/backlit | NO | Refs are wasted — the model only needs shape/posture info |
When a character is too far for refs, describe them in the prompt text instead:
"A woman propped up in the hospital bed — just a silhouette
bathed in golden backlight from the window. Dark hair loose
on the pillow. She has turned her head toward the door."
This gives the model enough to render a distant figure without contaminating the close-up character.
When characters share visual traits, be extra defensive: