Logo di Hof Css Prohibits

Hof Css Prohibits

Organizzazione
openreachtech
hof-css-prohibits

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

Panoramica

Autoreopenreachtech
Repositoryhora-skills-ort-furo
Nome della skillhof-css-prohibits
Stelle
32
Fork
0
File inclusi
1
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 1 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da openreachtech su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Hof Css Prohibits in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-prohibits
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hof Css Prohibits in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Hof Css Prohibits non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Hof Css Prohibits non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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);
  }
}

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Hof Css Prohibits?

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

Perché usare Hof Css Prohibits su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hof Css Prohibits è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Hof Css Prohibits in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-prohibits. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hof Css Prohibits?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Hof Css Prohibits?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Hof Css Prohibits: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Hof Css Prohibits è gratuita?

Sì. È pubblicata su GitHub da openreachtech con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇