Логотип Broom

Broom

Спільнота
boburxd
broom

Broom Design, the design skill for AI coding agents, removes AI slop from interfaces and keeps UI work at a studio level. Use it whenever you build, change or review any interface (a web app, a mobile app or a website, in any stack), when asked to audit or fix AI slop or to check UI work before calling it done, when setting up a design system or redesigning a product, and when turning a Figma file into rules for a coding agent. The product's own design system is the baseline, so slop is drift from that system toward generic defaults. Commands are audit (find the slop and write SLOP_REPORT.md), fix (fix that report one finding at a time), check (a quick pass over the files you changed), design (a design system from a short brief), redesign (a new look for an existing product) and handoff (a Figma file becomes rules for the coding agent). Ships scripts/detect.mjs, a checker, and scripts/design.mjs, which turns a brief into a design system.

Огляд

Видавецьboburxd
Репозиторійbroom-design
Назва навичкиbroom
Зірки
8
Форки
0
Файли в пакеті
23
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 23

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: boburxd. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Broom у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/boburxd/broom-design/tree/main/skills/broom
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/boburxd/broom-design.git /tmp/broom-design
mkdir -p .claude/skills
cp -r /tmp/broom-design/skills/broom .claude/skills/broom
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Broom в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Broom, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Broom не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Broom Design

Broom Design removes AI slop from interfaces: the generic, machine-made look of default UI. It keeps your UI work at the level of a good design studio, on any stack, and it respects the product's own design system.

Every path below is relative to this skill's folder, the folder that holds this SKILL.md. The scripts do the deterministic part: reading the code, the numbers, the validators, the files. You do the judging and the writing: reading documents and screenshots, reviewing screens, writing copy.

Always, whenever you write or change UI

  1. Their system comes first. Before writing UI, find what the product already declares: its tokens (CSS custom properties, a Tailwind theme, a tokens file, a theme in Dart, Swift or Kotlin), its shared components, its radii, spacing scale, fonts and blurs, and how its surfaces separate (a fill, a stroke, or both). Build with those. Slop is drift from their system toward generic defaults, not distance from anyone's taste.
  2. What their system does on purpose is theirs. A declared blur, gradients, pill-shaped controls, surfaces separated by a stroke: keep them. Accessibility floors hold whatever the system says: contrast, focus, names, keyboard paths.
  3. Read before you write. Always references/studio-hand.md, then the files the table below names for the task.
  4. Check before you finish. Run detect.mjs --changed (below). Fix every must, use their own token or component for every drift, weigh each taste line, then walk references/checklist.md for the screens you touched. UI work is not done while a must is left.
  5. No system yet? If the product has none and the task is more than a small change, offer design first.

Commands

In Claude Code type /broom audit; in other agents ask for "broom audit" in the same words. When a request or its arguments name one of these, read the command file and follow it step by step.

  • audit: find the slop and write SLOP_REPORT.md, changing no code. Read commands/audit.md and follow it.
  • fix: fix SLOP_REPORT.md, one finding per edit. Read commands/fix.md and follow it.
  • check: a quick pass over the files you changed. Read commands/check.md and follow it.
  • design: a design system from scratch, from a short brief. Read commands/design.md and follow it.
  • redesign: a new look for a product that already exists. Read commands/redesign.md and follow it.
  • handoff: a finished Figma file becomes rules for the coding agent. Read commands/handoff.md and follow it.

Scripts

Both sit in this skill's own folder, under scripts/. Take their full path from the folder this SKILL.md was loaded from. If you do not know that folder, look for broom in .claude/skills/, .agents/skills/ or .windsurf/skills/ of the repository, then in the same places under your home folder (~/.claude/skills/, ~/.codex/skills/, ~/.cursor/skills/ and so on). Run them from the repository root.

detect.mjs, the checker

It needs Node 18 or later and nothing else, and it makes no network calls.

node <skill-dir>/scripts/detect.mjs              # the whole repository
node <skill-dir>/scripts/detect.mjs src/app      # one folder
node <skill-dir>/scripts/detect.mjs --changed    # files changed against git HEAD, plus untracked ones
node <skill-dir>/scripts/detect.mjs --json       # the same, as data

Without git, pass the folder you changed instead of --changed.

It reads the product's own system first (tokens, radii, spacing, fonts, blurs, how surfaces separate), then prints one line per finding, path:line message [detector-id], in three groups:

  • must: universal defects. Fix them.
  • drift: off their own system. Use their token or component instead.
  • taste: patterns that read as machine-made. Fix them in code you write; elsewhere only when asked.

A "Kept as theirs:" block lists what their system does on purpose, with the reason. Never change those. The last line is N findings in M files · score S (band): clean under 3, light 3–10, noticeable 10–20, heavy 20 and over.

Fix the code, not the check: a value moved into a variable or a comment is still the same value. A finding that is wrong for this code, because the code is right as it stands, is left alone and named in your summary.

design.mjs, the system

It does the deterministic half of design, redesign and handoff; the command files say when to run each part.

node <skill-dir>/scripts/design.mjs example                                     # a brief.json template: every field, its values, its default
node <skill-dir>/scripts/design.mjs plan brief.json                             # what to write into fill.json: instructions, schema, parameters
node <skill-dir>/scripts/design.mjs render brief.json [fill.json] --out <dir>   # the whole pack, after the validators
node <skill-dir>/scripts/design.mjs handoff <file.fig>                          # what to write into fill.json for a Figma file, and its findings
node <skill-dir>/scripts/design.mjs handoff <file.fig> [fill.json] --out <dir>  # the pack of a Figma file, and its findings

It needs Node 18 or later; handoff needs 22.15 or later, because Figma files are zstd-compressed. It makes no network calls, writes only inside --out and never deletes, so render into an empty folder. Warnings (an unknown key, a stack from another product type, an id not in a catalogue) go to stderr: read them. A refusal goes to stderr with exit code 1.

Where the rules are

A reference such as §6a.32 means: open the file for §6a and read item 32. Each file starts with its section's heading.

SectionFileRead it when
§1references/principles.mdyou start a screen or a component
§2references/bans.mdyou write UI, or a finding names a ban; §2.0 is one separation technique per element
§3references/design-tables.mdyou pick a value: a grey, an accent, a radius, a type size, a duration, a separation
§4references/components.mdyou build or restyle a component
§5references/copy.mdyou write any word on screen
§6areferences/studio-hand.mdalways
§6breferences/product-types.mdnavigation, and anything particular to a web app, a phone or a website
§6creferences/finishing.mdthe last pass on a screen: normalize, then polish
§6dreferences/spacing.mdpadding, gaps, layout rhythm
§6ereferences/interaction.mdforms, overlays, feedback, motion, gestures, accessibility, locale, images, charts
§6f, §6greferences/honesty-and-ai.mdprices, consent, permissions, signing up and leaving; a chat or AI surface
§6hreferences/audit-method.mdyou audit, review or choose a direction
§6references/checklist.mdbefore you call UI work finished
§7references/writing.mddesign and handoff: naming the system and writing its prose
references/brief.mddesign and redesign: the brief's questions and choices

Limits

The scripts read code and files; they render nothing. Hierarchy, density and contrast on the real screen are seen only if you can open it in a browser. When you cannot, say that those were checked by reading.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Broom?

Broom Design, the design skill for AI coding agents, removes AI slop from interfaces and keeps UI work at a studio level. Use it whenever you build, change or review any interface (a web app, a mobile app or a website, in any stack), when asked to audit or fix AI slop or to check UI work before calling it done, when setting up a design system or redesigning a product, and when turning a Figma file into rules for a coding agent. The product's own design system is the baseline, so slop is drift from that system toward generic defaults. Commands are audit (find the slop and write SLOP_REPORT.m...

Навіщо використовувати Broom у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Broom — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Broom у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/boburxd/broom-design/tree/main/skills/broom. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Broom?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Broom?

Зі скількома забажаєте. У TypingMind ви можете використовувати Broom із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Broom?

Так. На GitHub цю навичку публікує boburxd за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇