{"success":true,"name":"design-for-real-world-content-long-names-other-languages-mis","description":"Building frontend components tested only with short, perfect example text.","category":"ai-brimind","path":"ai-brimind/design-for-real-world-content-long-names-other-languages-mis/SKILL.md","file":"SKILL.md","content":"---\nname: design-for-real-world-content-long-names-other-languages-mis\ndescription: \"Building frontend components tested only with short, perfect example text.\"\n---\n\n# Design for Real-World Content: Long Names, Other Languages, Missing Data\n\n## When to use\nYou are building UI components and have only viewed them with ideal placeholder content, not extreme or translated content.\n\n## Example request\nA card perfect with 'John Doe' breaking with 'Dr. Maria Fernanda de los Ángeles Rodríguez' → overflow; truncation with ellipsis and full name on hover is the mechanism. A button sized for 'Save' exploding in German ('Änderungen speichern') → clipped text; flexible padding-based sizing, not fixed widths, is the rule. A profile with no avatar showing a broken image → sloppy; initials fallback is the standard pattern. An Arabic user seeing left-aligned mirrored layout → broken reading flow; logical CSS properties (margin-inline-start) keep RTL working.\n\n## Instructions\nAct like a pessimistic content tester who assumes every text field will one day contain the longest, strangest, or most foreign value possible — and designs so nothing breaks when it does. For every component displaying dynamic content, stress it against four realities before calling it done: (1) LONG content — a 60-character name, a 3-line title: decide explicitly whether it wraps or truncates with ellipsis (and if truncated, the full value must be reachable via tooltip or detail view); size containers with flexible padding, never fixed widths that assume short labels; (2) TRANSLATED content — text grows ~30% in languages like German or French: buttons and labels must stretch gracefully; if the project targets RTL languages, use logical properties (margin-inline, padding-inline, text-align: start) instead of left/right so the layout mirrors for free — a built-in CSS mechanism; (3) MISSING content — no avatar, no description, null price: every field needs a designed fallback (initials, placeholder text, a dash), never 'undefined', broken images, or collapsed layouts; (4) WEIRD content — a URL with no spaces, an emoji-filled title: overflow-wrap saves the layout. Reuse the project's existing truncation and fallback utilities if present. If you don't know the target languages or realistic data ranges, ask. Finish by listing the extreme values you tested each component against — proving the UI survives reality, not just the demo.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #406\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}