Logo de Broom

Broom

Comunidade
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.

Visão geral

Publicado porboburxd
Repositóriobroom-design
Nome da habilidadebroom
Estrelas
8
Forks
0
Arquivos incluídos
23
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 23

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por boburxd no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Broom no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/boburxd/broom-design/tree/main/skills/broom
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Broom em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Broom automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Broom não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Broom faz?

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...

Por que usar Broom no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Broom é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Broom no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/boburxd/broom-design/tree/main/skills/broom. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Broom?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Broom?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Broom com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Broom é gratuita?

Sim. A habilidade é publicada no GitHub por boburxd sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇