Hof Css Props Naming logo

Hof Css Props Naming

Organization
openreachtech
hof-css-props-naming

The company's CSS custom property naming convention. Defines the top-prefix rule for denoting a value's kind, and the two-layer palette / color rule. Refer to it when defining or referencing custom properties.

Overview

Publisheropenreachtech
Repositoryhora-skills-ort-furo
Skill namehof-css-props-naming
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 Props Naming 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-props-naming
  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-props-naming .claude/skills/hof-css-props-naming
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hof Css Props Naming 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 Props Naming 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 Props Naming 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 Custom Properties Naming

A custom property denotes what kind of value it holds through its top prefix.

The top prefix denotes the kind

The first word right after -- is the top prefix. From the prefix you can tell which kind of value the variable holds.

Top prefixKindExample
--palette-*Raw color values. Colors with no meaning--palette-sky-500
--color-*Semantic colors. Named by their use--color-primary, --color-text
--size-*Dimensions. Length / width / height--size-header-height
--value-*Unitless scalars. Ratios and base values--value-golden-ratio
--motion-*The time axis of transition / animation. duration, easing, delay--motion-duration-base, --motion-easing-standard

Top prefixes are added as needed. The four above are not a fixed set. When a new kind is needed, do not force it into an existing prefix — stand up a new prefix. The set of prefixes stays open; the convention itself is the framework of "stand up a prefix per kind".

Put the more distinctive word last

In custom property naming, the top prefix (the broadest kind) comes first, and the more distinctive — the more specific, more qualifying — a word is, the later it comes. You read left to right, from "broad kind → individual qualifier".

--color-background-header
   └kind  └role       └which (distinctive)

This is the reverse of JavaScript class naming. A class puts its distinctive word in the prefix (front) and keeps the shared, categorical suffix at the back (AlphaSample / BetaSample — the distinctive Alpha / Beta in front, the kind Sample behind). A custom property is the opposite: the fixed kind comes first (the top prefix), and the distinctive word comes last.

This reversal is not a matter of taste; it is forced by what groups the name. The prefix always goes to whatever does the grouping.

  • JavaScript classes are grouped by modules, imports, and the type system. Because the grouping mechanism lives outside the name, the name itself need not carry the taxonomy and is free to follow English noun-phrase grammar (head-final: the head word comes last). AlphaSample reads as "an Alpha Sample" — the kind Sample stands last as the head, the distinctive Alpha in front as the modifier.
  • Custom properties have no namespace, no module, no scope; they are all laid flat in the single global dictionary of :root. With no mechanism outside the name to give structure, the name itself must carry the index (the same idea as reverse-DNS com.company.app, file paths, or BEM). Putting the broadest kind first lets lexical sorting and prefix autocomplete (typing --color-) cluster siblings in one place.

So putting the distinctive word first (--header-background-color) scatters siblings across both sorting and autocomplete, and in CSS — flat and module-less — the namespace stops working as an index. Fixing the kind at the front is what keeps that index intact.

palette and color — colors flow one way through two layers

Colors alone are handled in two layers, --palette-* and --color-*. No other kind has this two-layer structure.

  • palette layer (--palette-*): raw color values. No meaning. The internal layer.
  • color layer (--color-*): colors given meaning by use. The only public interface the application touches.

Colors always flow one way: palette → color → application.

--palette-*  →  --color-*  →  application CSS
(raw, internal)  (meaning, public)  (references color only)

To keep this one-way flow, two rules are imposed.

(1) The application may call only --color-*

The only color variables the application CSS may call are --color-*. It must not call --palette-* directly.

css
.button {
  background: var(--color-primary);      /* ✅ call the color layer */
}
css
.button {
  background: var(--palette-blue-500);   /* ❌ do not call palette directly */
}

Calling palette directly scatters raw color values through the application and skips the layer of meaning. palette is referenced only by the color layer.

(2) A --color-* value is either var(--palette-*) or a literal

When defining a --color-*, only two kinds of value may be passed.

css
:root {
  --color-primary: var(--palette-sky-500);   /* ✅ reference a palette */
  --color-border:  #ccc;                      /* ✅ a directly defined color */
}

A literal color (#ccc and the like) may be written only here, at the color definition. Because the application can call only --color-*, raw color values are sealed in here and never leak into the application CSS.

Refer to the template for palette definitions

For the concrete definition of --palette-*, use ./templates/property-palette.css as the example. Each hue is aligned in 11 steps from 050 to 950.

Related topics

  • the z-index convention: one example of --value-*. The layer base values for z-index and the calc() notation.

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 Props Naming AI skill do?

The company's CSS custom property naming convention. Defines the top-prefix rule for denoting a value's kind, and the two-layer palette / color rule. Refer to it when defining or referencing custom properties.

Why use Hof Css Props Naming on TypingMind?

Because you install it once and use it with any model. Hof Css Props Naming 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 Props Naming 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-props-naming. 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 Props Naming?

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 Props Naming?

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

Is the Hof Css Props Naming 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 👇