Created
April 8, 2026 11:56
-
-
Save malarkey/0eb8aba779811d55ca9060ef2e371bb9 to your computer and use it in GitHub Desktop.
Global AGENTS.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # AGENTS.md## Core rules | |
| - Prefer plain CSS and vanilla JavaScript. | |
| - Prefer inline SVG when control, styling, or reuse matter. | |
| - Use native platform features. Avoid dependencies and libraries. | |
| - Use semantic HTML. | |
| ## CSS rules | |
| - Don’t indent CSS declarations. | |
| - Don’t use the `transform` shorthand property. | |
| - Keep the closing curly brace on the same line as the last property. | |
| - Order all CSS properties alphabetically. | |
| - Prefer shallow selectors and avoid deep selector chains. | |
| - Use individual transform properties (`rotate`, `scale`, `translate`). | |
| ## Motion | |
| - Always respect `prefers-reduced-motion`. | |
| - Motion should be subtle, purposeful, and non-disruptive. | |
| - Use CSS for animation and JavaScript for triggers. | |
| ## Writing | |
| - Use British English. | |
| - Use sentence case for headings, interface copy, and labels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment