Skills
AGENTS.md1 starsChanged 4 months agoMITView on GitHub
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository. A collection of agent skills for building great product interfaces (typography, colors, UI polish), published for installation via npx skills add jakubkrehel/skills. It is documentation-only; there is no build, lint, or test tooling. The .claude-plugin/ directory packages the same skills/ directory as a Claude Code plugin named interfaces. It is Claude Code-specific and needs no change when adding a skill, but leave it in place. Each…
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 35,337 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 repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- better-accessibilitySkill
- better-colorsSkill
- better-interfaceSkill
- better-layoutSkill
- better-operational-interfaceSkill
- better-typographySkill
- better-uiSkill
- better-writingSkill
- bof-operational-uiSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
When a concern crosses domains, keep the rule in the owner above and let other skills name only the handoff or secondary effect.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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.
Files
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
What this repository is
A collection of agent skills for building great product interfaces (typography, colors, UI polish), published for installation via npx skills add jakubkrehel/skills. It is documentation-only; there is no build, lint, or test tooling.
The .claude-plugin/ directory packages the same skills/ directory as a Claude Code plugin named interfaces. It is Claude Code-specific and needs no change when adding a skill, but leave it in place.
Structure
Each skill lives in skills/<skill-name>/:
SKILL.mdis the entry point. YAML frontmatter withname(matching the directory) anddescription(one-line summary, "Use when..." guidance, and a "Triggers on ..." keyword list that agents match against). The body: a short philosophy paragraph (one or two lines, with hand-off lines naming sibling skills that own adjacent topics), a Quick Reference table linking to reference files (only when the skill has them), numbered Core Principles, a Common Mistakes table, and a Review Output Format section. No review checklists and no trailing reference-file index; the Quick Reference is the only file listing.- Supporting
.mdreference files are optional; single-file skills are fine. Add one only when it carries depth beyond the principle statements (recipes, code patterns, lookup tables), not to restate SKILL.md in longer form. Link via relative paths from the Quick Reference table. - Each rule lives in exactly one skill; other skills point to it by skill name in backticks (e.g.
better-layout), never via cross-skill relative links.
Current skills: better-interface (user-invoked cross-discipline review), better-ui (interface polish details), better-typography (web typography), better-colors (OKLCH color space and color usage), better-accessibility (accessibility engineering), better-layout (layout structure), better-writing (UX writing and interface copy).
Rule ownership
| Skill | Owns |
better-interface | Review orchestration, shared severity, consolidation, coverage, and final output |
better-accessibility | Semantic HTML, keyboard and focus behavior, accessible names, forms, assistive technology, and accessibility requirements |
better-layout | Spatial grouping, alignment, spacing, responsive structure, logical CSS properties, and spatial RTL behavior |
better-writing | Source wording, terminology, voice, tone, labels, errors, and empty-state copy |
better-typography | Visual text rendering, type systems, font behavior, wrapping mechanics, punctuation, and text-level bidi behavior |
better-colors | Color notation, palette construction, gamut, rendered-pair contrast measurement, and color remediation |
better-ui | Optional visual polish: surfaces, icons, and motion aesthetics after the underlying interaction is sound |
When a concern crosses domains, keep the rule in the owner above and let other skills name only the handoff or secondary effect. In particular:
better-accessibilitydecides when contrast is required and the severity of a failure;better-colorsowns measuring the rendered pair and changing its colors.better-accessibilityowns semantic heading structure;better-typographyowns how heading levels render visually.better-layoutowns logical CSS properties and spatial mirroring;better-typographyowns language metadata, punctuation, and mixed-direction text.better-typographyowns truncation mechanics;better-layoutowns whether the surrounding layout has room or an expansion affordance;better-writingowns the source copy.better-accessibilityowns reduced-motion requirements;better-uiowns the optional animation recipe used when motion is appropriate.
Authoring conventions
- Principles are prescriptive and specific: exact CSS properties, exact values (e.g. scale
0.25→1, blur4px→0px), not vague advice. - Match the degree of prescription to the decision: requirements may be unconditional, while design heuristics name the context and escape conditions before giving exact recipe values.
- Skills instruct agents to match the target project's existing styling system (Tailwind vs. plain CSS vs. CSS-in-JS) rather than impose one.
- Frontmatter
descriptionis the discovery surface; when adding or changing a skill's scope, update its trigger keywords accordingly. - Skill directory names use the
better-*prefix; renaming a skill means renaming its directory and frontmatternametogether.
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
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.

