prototype
MAmattpocock/skills336k近 7 天新增 4,217 个 star
agentes.chat UI rules and routine. Use before any UI, CSS, layout, spacing, alignment, component, screen, page, dialog, card, chat, menu, toolbar, form, email or on-screen copy change in agentes.chat (apps/web, packages/ui, apps/mobile, apps/desktop), and for any design review or polish pass. Every rule is a number. The routine fixes the kit component, sweeps every sibling, keeps the CI geometry check green, shoots before and after at 1280 and 390, and runs break-ui and Impeccable's audit.
Measure, don't eyeball. Vision misses 1 to 2 px errors, source review can't see pixels, and a screenshot diff shows what changed, not what's wrong. Check the rendered screen.
--row-py, 12 on touch): one line 36, with a 24 face 40, with a 32 control 48. Cards 16 inside (--card-pad). A plated button stays 8 from its row's or card's edges (--action-clear). A row of actions (.ac-acts) puts 16 between what the eye sees, on touch too, and two plated buttons 8 apart. A small button keeps its 32 plate on touch: its target grows to 44 past it (--touch-target), up and down only when it has words.--page-top (its title's line on the sidebar's workspace row, 20 on phones) and --page-x (24, 16 under 640). Header, toolbar and content 16 apart, list groups 24 (.ac-groups).nest in scripts/geometry checks it).--cap-mid and --cap-top measured again.Layout
.ac-faceline with .ac-captop), and message text uses the full column width.Alignment and spacing
7. Controls side by side share one height. Shrink the taller one.
8. Gaps between buttons are even and never zero: plated buttons 8 apart, icon buttons' plates 8 apart, header glyph boxes 32 and 8 apart. Header icon buttons get no plate on hover or press, only the icon colour changes.
9. Faces, tiles and controls stay at least 8 from every row edge and divider, also inside a highlighted or bordered row. Top padding equals bottom, left equals right.
10. Icons, ⓘ and count badges centre on the capitals' middle within 1 px (.ac-iconline, 0.5lh - var(--cap-mid)), also inside a line of words. A face beside one line centres on it. Words right after an inline face share its baseline. Initials sit optically centred in their tile.
11. A picture taller than 1.25 lines beside 2 or more lines: the first line's capitals start at its top (.ac-captop). A step badge beside a name and a subtitle centres on the whole two-line block.
12. Menu rows are their kind's height, 2 apart, the menu's padding 4: a line 32, a name with its description 50, a row with a face 36 (40, 58 and 44 on touch). Every option in one select is the same height, a description line never makes one taller. A select never shows empty. A people select shows a small face.
13. List times end on one right edge. A list heading (GroupHeading) sits on its list's outer edge, 8 above it, 16 under the toolbar.
14. Text and placeholders sit vertically centred in their inputs.
15. Borders and shadows survive rounded corners. Hover backgrounds stay inside their row. A scrolling parent never cuts a control's ring.
16. One class keeps one height, padding and gap on every screen.
Text
17. Wrap meaning, never cut it with an ellipsis. Give a fact value the room to stay on one line. No row wraps word by word. One exception, a product decision: Task manager rows (every section, on the web and the phone, and Agora's, the same list in one click) are one line, the title then its context in quiet type, cut with "…" at the end, the words whole in the kit's Tip on hover and keyboard focus (never a native title) and on the task's own screen on the phone. Words and their actions (a title and its buttons, a notice and its fix, a toast and Desfazer) are an action line (.ac-actline, phone ACT_LINE): the actions sit beside the words only while the words fit on one line there, else on a row of their own under the words, from their edge. A close × stays beside the title, outside the line. Ver detalhes and every toggle like it go under their words. Only one small control that keeps its place (a switch, a select, a chevron) ends a row with .ac-actrow.
18. No button covers text. Desfazer never takes its own column: it goes at the end of its sentence, or under it when there's no room.
19. Badge, pill and button text 4.5:1 (3:1 for large text) in both themes. An unread or waiting count at least 3:1 against what's behind it.
20. Less text: a title, at most one short sentence, the controls. Help goes behind an ⓘ beside its label, a title plus one sentence (Field's and SettingRow's hint). Under a field only a format example (example) or an error. Under a setting only what must stay in sight (status). Background reading goes to a site page, linked once. Cut sentences that only reassure.
21. No semicolons in product copy, in any language or surface. No em dashes, except member group headers like "DONO — 1". Long "·" chains read dense.
22. Links use the house link style, never the browser's blue underline. Third-party products and AI providers show their official logo, never a generic icon. Text between backticks is an inline code pill (.ac-inlinecode) wherever formatted words show: a message, a document, an agent's words on a card.
Components 23. On phones, a card's lone primary button is full width (at least 90% of the card). 24. Bulk actions (Aprovar tudo, Agora não para todos) are compact and aligned, never tall floating buttons. 25. Cards inside a message share one width and stand apart from the row's hover in both themes. A group of one shows the item itself, not "Used 1 tool". 26. A link that only shows one dialog opens it in place. It never navigates away. 27. Calendar events follow Google Calendar's look, with no curved accent border. 28. A long-running screen always has a way out (stop or back). A failure says what happened and offers a retry. 29. Motion is smooth. Nothing pops in, not a new card, not an opened thread. 30. Scrolling columns hide their thumb until hover. 31. Emails carry the agentes.chat look in light and dark clients.
Discord-style layout 32. Members column on the right, open by default on desktop, toggled from the header. Roles have configurable colours and their marks are full circles. 33. Agents hold no roles. Their card shows "Quem pode falar" as plain lines (mark or face, then name) with an "Editar" link, never pills. 34. Unread is a bold name and a left pill. A red count only for mentions. 35. The left sidebar has one "Mensagens diretas" section. The pinned bar under the header stays.
scripts/geometry). Locally run only bun test scripts/geometry/check.test.ts. A rule here with no check yet gets one in scripts/geometry/rules.js, with a bad and a good fixture. Update baseline.json only after fixing offenders or for a verified false positive.translate beside a transform was dropped once). Check the build's CSS too.Run the break-ui skill on any component or screen that renders data: names, emails, counts, titles, translations, empty and huge lists. Look at the component's real container width, at 320 and at the widest, and in dark mode. Feed the worst case through the component's test fixture, so CI's geometry check keeps measuring it. Its dev-only toggle never ships.
--local (git-excluded), never in the shared .impeccable/config.json of this public repo without approval./impeccable audit <target>. It only reports.scripts/impeccable detect <paths>.init, document, extract, critique (it saves reports into the repo), live, generate, craft, shape, bolder, overdrive, colorize, delight, pin, hooks on or hooks off. Its live mode stays off (IMPECCABLE_LIVE_COPY_AGENT=off). Never take its font advice.MAmattpocock/skills336k近 7 天新增 4,217 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
FIfirecrawl/firecrawl214k近 7 天新增 4,815 个 star
ANanthropics/skills203k近 7 天新增 2,822 个 star
用 React、Tailwind 和 shadcn/ui 构建多组件页面。
ANanthropics/skills203k近 7 天新增 2,822 个 star