agentleFS
jcm-developerjcm-developer/liquid-glass-components/agents/AGENTS.md

liquid-glass-components / agents

AGENTS.md4 starsChanged 27 days agoMITView on GitHub

This project uses Liquid Glass Components (v2.1.0), a design system that implements Apple's Liquid Glass material on the web. Full rules: .agents/skills/liquid-glass/SKILL.md. 1. Layer separation. Glass belongs ONLY to the navigation/chrome layer (tab bars, toolbars, sidebars, docks, modals, popovers, toasts, floating buttons). NEVER on content (articles, feeds, table cells). 2. No glass on glass. Controls inside a glass surface use flat fills (.glass-btn--plain, var(--glass-fill)). 3. The material: low frost (2px with refraction, 8px without), a faint tint, two specular rims…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 33,315 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Refraction is an enhancement: Add data-refract and load liquid-glass.js.

    line 15
  2. Very specific:

    Always pair -webkit-backdrop-filter with backdrop-filter.

    line 28
  3. Distinctive:

    No build step. Components are plain CSS and one optional vanilla JS file.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 42,283 AGENTS.md 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
AGENTS.md

Liquid Glass Components: agent instructions

This project uses Liquid Glass Components (v2.1.0), a design system that implements Apple's Liquid Glass material on the web. Full rules: .agents/skills/liquid-glass/SKILL.md.

Key rules

  1. Layer separation. Glass belongs ONLY to the navigation/chrome layer (tab bars, toolbars, sidebars, docks, modals, popovers, toasts, floating buttons). NEVER on content (articles, feeds, table cells).
  2. No glass on glass. Controls inside a glass surface use flat fills (.glass-btn--plain, var(--glass-fill)).
  3. The material: low frost (2px with refraction, 8px without), a faint tint, two specular rims (--glass-shadow-rim). Never a heavy blur of 20px or more.
  4. Refraction is an enhancement. Add data-refract and load liquid-glass.js; it only renders in Chromium on desktop. Components must look complete without it.
  5. Accessibility required in every component:
    • prefers-reduced-transparency: reduce: solid background, backdrop-filter: none !important
    • prefers-contrast: more: solid background, 2px outline, no shadows
    • prefers-reduced-motion: reduce: no transitions or animations
    • forced-colors: active: system colours (Canvas, CanvasText, ButtonFace)
  6. Interaction: pressed controls grow (--glass-press-scale); selections slide; springs use --glass-easing-spring over 600ms.
  7. Performance: at most 3 glass surfaces visible at once on mobile. Never will-change: backdrop-filter; never animate backdrop-filter.
  8. Typography: weight 500 or more on glass; 16px body, 14px metadata; no mix-blend-mode on text.
  9. Always pair -webkit-backdrop-filter with backdrop-filter.

Design tokens

snippets/tokens.css holds every --glass-* custom property, the schemes (data-glass-scheme="dark|light") and the accessibility overrides.

Component snippets

snippets/ holds one CSS file per component, with its usage markup in the top docblock, plus glass-surface.css for custom glass elements and liquid-glass.js for refraction and behaviours.

Build and test

No build step. Components are plain CSS and one optional vanilla JS file.

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.