Hof Css Prohibits logo

Hof Css Prohibits

Organization
openreachtech
hof-css-prohibits

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

Overview

Publisheropenreachtech
Repositoryhora-skills-ort-furo
Skill namehof-css-prohibits
Stars
32
Forks
0
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by openreachtech on GitHub. Read the source before you install it.

Installation

Install the Hof Css Prohibits AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-prohibits
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hof Css Prohibits in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hof Css Prohibits on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hof Css Prohibits is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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);
  }
}

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hof Css Prohibits AI skill do?

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

Why use Hof Css Prohibits on TypingMind?

Because you install it once and use it with any model. Hof Css Prohibits is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hof Css Prohibits in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-css-prohibits. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hof Css Prohibits?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hof Css Prohibits?

As many as you like. As long as a model supports skills, you can use Hof Css Prohibits with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hof Css Prohibits AI skill free?

Yes. It is published on GitHub by openreachtech under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇