Logo de Hof Css Prohibits

Hof Css Prohibits

Organização
openreachtech
hof-css-prohibits

Conventions collecting CSS notations that are prohibited (anti-patterns).

Visão geral

Publicado poropenreachtech
Repositóriohora-skills-ort-furo
Nome da habilidadehof-css-prohibits
Estrelas
32
Forks
0
Arquivos incluídos
1
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: 1

    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 openreachtech no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Hof Css Prohibits 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/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-prohibits
  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/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-css-prohibits .claude/skills/hof-css-prohibits
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Hof Css Prohibits 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 Hof Css Prohibits 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, Hof Css Prohibits 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á.

Frontend: CSS Prohibits

Collects CSS notations that are prohibited.

Prohibit physical-direction properties and values

  • Physical direction (top / right / bottom / left, physical axes like width / height, and physical values like float: left) is prohibited without exception. Use only the logical properties and values that follow the writing direction.
  • Three families are covered. See references/physical-to-logical.md for the complete mapping.
    • Properties with a top/right/bottom/left set: margin / padding / border-* / border-*-radius / inset (top/right/bottom/left) / scroll-margin-* / scroll-padding-*
    • Physical dimensions: width / height / min-* / max-* / overflow-x / overflow-y
    • Physical values: left/right/top/bottom on float / clear / text-align / caption-side
  • To set a single side, use *-inline-start / *-inline-end / *-block-start / *-block-end (start / end are the only way to set one side, so they are allowed).
  • The one exception: border-image-outset takes four values but has no logical equivalent and cannot be replaced, so it alone may stay in physical form.
  • Reason: in right-to-left (RTL) languages, left / right do not work and physical-direction values break the layout. Logical forms follow the writing direction automatically.
css
/* NG: physical direction */
.box {
  padding: 0.5rem 0.75rem;
  margin-left: 1rem;
  border-bottom: var(--hairline-width) solid #ccc;
  width: 20rem;
  top: 0;
  left: 0;
  float: left;
  text-align: left;
}

/* OK: logical properties and values */
.box {
  padding-block: 0.5rem;
  padding-inline: 0.75rem;
  margin-inline-start: 1rem;
  border-block-end: var(--hairline-width) solid #ccc;
  inline-size: 20rem;
  inset-block-start: 0;
  inset-inline-start: 0;
  float: inline-start;
  text-align: start;
}

Prohibit CSS nesting

  • CSS nesting is prohibited. Do not nest selectors (neither a selector inside a rule nor an & combination); keep selectors flat.
  • The one exception: a media-query override for the same selector may be written as @media { } inside that selector (see the breakpoint example in the rem-based unit convention).
  • There are several reasons.
    • Diffs are unreadable in GitHub pull requests; nesting obscures the diff.
    • When nesting is deep, you must scroll every time to confirm that an addition sits at the correct level.
    • The editor assistance that would supply the nesting context does not work on GitHub.
css
/* NG: nested selectors */
.card {
  color: #cc3300;

  .card-title {
    font-weight: bold;
  }

  &:hover {
    opacity: 0.8;
  }
}

/* OK: keep selectors flat */
.card {
  color: #cc3300;
}

.card-title {
  font-weight: bold;
}

.card:hover {
  opacity: 0.8;
}
css
/* OK (the one exception): only a media-query override for the same selector goes inside */
.card {
  padding-inline: 0.75rem;

  @media (min-width: 48rem) {
    padding-inline: 1rem;
  }
}

Prohibit one-line declaration blocks

  • Writing a selector's { } (declaration block) on one line is prohibited. Put the opening { on the same line as the selector, one declaration per line, and the closing } on its own line — always chopped down.
  • No exceptions, even for a single declaration; this keeps things consistent.
css
/* NG: { } written on one line */
.card { color: #cc3300; }

/* OK: always chopped down */
.card {
  color: #cc3300;
}

Prohibit !important

  • !important on a declaration is prohibited without exception, whatever the reason. When you need to override, do not raise specificity or reach for !important — resolve it through the order of cascade layers (→ the cascade layers convention).
  • Reasons:
    • !important hoists a declaration outside the specificity system and breaks control of the cascade itself. With multiple contributors, you inevitably fall into a chain of "an !important that overrides an !important" — an importance war.
    • Its effect is non-local. One person's !important silently nullifies legitimate styles elsewhere, and the cause becomes hard to trace.
    • This repo designs override order with cascade layers (reset → base → furo → app, later layers win). Which rule wins is decided by layer order, so there is no need in principle to strike individually with !important. Using !important is nothing but jumping the queue and ignoring that designed order.
css
/* NG: striking with !important */
.button {
  color: #fff !important;
}

/* OK: let layer order decide (app beats furo — no !important) */
@layer furo {
  .button {
    color: #333;
  }
}

@layer app {
  .button {
    color: #fff;
  }
}

Prohibit bare tag selectors outside the reset / base layers

  • Bare (unqualified) tag selectors (a {} / h1 {} / ul {} and the like) may be used only in the two layers @layer reset and @layer base. These two layers define the look of the native HTML elements themselves (reset = reset, base = base design system) (→ the cascade layers convention).
  • Bare tag selectors are prohibited in the furo / app layers. When you refer to a tag, always qualify it with a class (the tagname.furo form, per the Furo convention).
  • Reason: a bare tag selector has an extremely wide reach — it hits every element of that kind across the whole document. That reach is correctly needed in reset / base, which set "the default look of the raw element", but in furo / app, which define components, it becomes a source of styles leaking onto unrelated elements. Confine the wide reach to the two layers whose purpose it is.
css
/* OK: reset / base target the native elements themselves */
@layer base {
  a {
    color: var(--color-primary);
  }
}
css
/* NG: a bare tag selector in furo / app */
@layer furo {
  a {
    color: var(--color-primary);
  }
}

/* OK: in furo / app, qualify with a class (tagname.furo) */
@layer furo {
  a.furo {
    color: var(--color-primary);
  }
}

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 Hof Css Prohibits faz?

Conventions collecting CSS notations that are prohibited (anti-patterns).

Por que usar Hof Css Prohibits no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Hof Css Prohibits é 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 Hof Css Prohibits no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-prohibits. 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 Hof Css Prohibits?

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 Hof Css Prohibits?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Hof Css Prohibits 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 Hof Css Prohibits é gratuita?

Sim. A habilidade é publicada no GitHub por openreachtech 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 👇