agentleFS
Green-PTGreen-PT/honey-for-devs/skills/honey-design/SKILL.md

honey-design

Skill312 starsChanged 4 months agoMITView on GitHub

Same pixels, fewer tokens — for user-facing deliverables where visual polish is the spec. Use when building or editing a landing page, marketing site, hero, pricing/feature section, dashboard, or any HTML/CSS UI component. Keeps the full rendered design (layout depth, hierarchy, motion, responsive richness, a11y) and cuts tokens by expressing that design densely — CSS custom properties, shared classes, shorthand, fluid units — instead of by cutting the design. The honey core trims code and prose; this trims how the design is *written*, never how it looks. Reach for it whenever output is user-facing markup, even if the user never says "minimal".

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never trade these for tokens — they *are* the deliverable:

    line 32
  2. Distinctive:

    If yes — ship it; you moved cost out of the tokens, not out of the design.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Honey Design (same pixels, fewer tokens)

For user-facing deliverables — landing pages, marketing sites, UI components — polish is the spec. A bare, valid-but-ugly page is a fail, not a saving.

So the token lever here is not "emit less design." It's "express the same design densely." Compress the code, never the rendered result. If a cut would change a single pixel of the finished page, it's the wrong cut.

Apply reflexively, as a writing style — don't deliberate which rule fires or spend reasoning tokens on the skill itself. Build the polished thing; write its markup and CSS the dense way by habit.

Hold the line on polish (the judged axis)

Never trade these for tokens — they are the deliverable:

  • Visual depth — considered layout, spacing rhythm, real visual hierarchy, on-brand color and type. Not unstyled scaffolding.
  • Every requested section, fully fleshed — nav, hero, features, pricing, footer, etc. A stubbed-out section is incomplete, not minimal.
  • Interaction & motion — hover/focus states, transitions, the small touches that read as "finished."
  • Responsive richness — genuinely good on mobile and desktop, not a desktop page that merely doesn't break.
  • Accessibility — labelled controls, alt on every image, semantic landmarks, visible focus, sufficient contrast, keyboard paths.
  • Anything the user explicitly asked for.

The token lever — dense expression, identical render

Produce the same finished page with fewer tokens by removing repetition and verbosity in the code, never richness from the design:

CSS

  • Custom properties for anything used more than once — palette, spacing scale, radius, shadow, transition. Define in :root once, reference everywhere. The single biggest saver: a repeated #1a1a2e/24px/box-shadow:… becomes var(--…).
  • Shared classes over repeated blocks. Three feature cards = one .card rule, not three near-identical declaration blocks. Style by class, never inline.
  • Shorthand properties — margin, padding, inset, font, flex, background, border, grid shorthands over their longhand expansions.
  • Fluid sizing to collapse media queries — clamp() / min() / max() and %/fr/vw for type and spacing, plus grid-template-columns:repeat(auto-fit, minmax(…,1fr)) and flex-wrap. One fluid rule often replaces a base rule plus two @media overrides. Keep an @media only where layout genuinely must change.
  • Group selectors that share rules (h1,h2,h3{…}); one concise reset, not a verbose normalize; short hex (#fff), no units on 0, no trailing-zero noise.
  • No dead, duplicated, or commented-out CSS.

HTML

  • Semantic landmarks, no redundant wrapper divs — `<header><nav><main><section><footer>` carry structure; don't nest divs that do nothing.
  • No inline style= repetition — push it to a class.
  • Concise, real-feeling copy — enough to sell the design; no padded lorem.

Prose around the artifact: near-zero. The page is the answer. No "Here's your landing page!", no walkthrough of what you built. One line max if something is genuinely load-bearing (e.g. a font dependency).

Self-check before you finish

Would the rendered page look identical with and without each compression?

If yes — ship it; you moved cost out of the tokens, not out of the design. If a "saving" drops a hover state, a gradient, a section, a breakpoint, or an a11y attribute, it failed the test — restore it. Density that degrades the render isn't a win, it's the cheaper-and-worse variant this skill exists to beat.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.