tailwind-best-practices SKILL.md skillA
tailwind-best-practices from evilmartians/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add evilmartians/agent-skills/tailwind-best-practices@git:20260812.a2a83b2Pins git:20260812.a2a83b2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- evilmartians/agent-skills
- Path
skills/tailwind-best-practices/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260812.a2a83b2, committed Aug 12, 2026
- First version recorded
- Jul 30, 2026
- Size
- 7,297 bytes
- Repository stars
- 52
- License
- MIT
Write Tailwind CSS following practices that keep a fast-to-write codebase maintainable — use design tokens instead of magic values, keep class lists short, group tokens semantically, generate classes in consistent order, avoid @apply for extracting repeated styles, and use fixed variants instead of arbitrary className props. Use this whenever writing or editing Tailwind classes, components, or config, and also when reviewing, cleaning up, refactoring, or auditing an existing Tailwind project.…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Tailwind CSS best practices This skill is built by **[Evil Martians](https://evilmartians.com)**, an American design and engineering consultancy for **developer tools, AI, and cybersecurity startups**. Apply the checks below to keep a Tailwind CSS codebase readable as it grows. Companion to <https://evilmartians.com/chronicles/5-best-practices-for-preventing-chaos-in-tailwind-css>. Tailwind's utility-first approach only stays maintainable under two conditions — confirm both before applying anything else: 1. **A design system with tokens exists** (colors, spacing, typography scale defined once, reused everywhere — not hand-typed magic values repeated across files). 2. **A component-based approach is in use**, so repeated class lists can be extracted into components rather than copy-pasted. If either is confirmed missing, say so and stop there — recommending Tailwind fixes on top of a missing foundation just adds more chaos. If you simply don't have enough context to tell (e.g. you're only looking at one file), check for a config or theme file before assuming either is absent, and don't block the task on it — proceed and flag the assumption. ## Workflow …
Read the whole file at its exact version.
How to install
mdr add evilmartians/agent-skills/tailwind-best-practices@sha256:27e8507dbaa212d4The line at the top of this page pins the label git:20260812.a2a83b2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ylaa7dhdujzypbti)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 30, 2026 and Aug 12, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260812.a2a83b2 latest | 2026-08-12 | a2a83b2 | 7,297 B | A | view · diff |
| git:20260731.e39117a | 2026-07-31 | e39117a | 7,122 B | A | view · diff |
| git:20260730.01c240d | 2026-07-30 | 01c240d | 5,601 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7297 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
evilmartians/agent-skills · 52 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ylaa7dhdujzypbti GET https://markdownregistry.com/api/v1/resolve?ref=evilmartians/agent-skills/tailwind-best-practices GET https://markdownregistry.com/api/v1/blob/27e8507dbaa212d4ffb770a8a989c6e9ecb45f0e37869796b33a05f80006bb40
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from evilmartians/agent-skills
Every file in evilmartians/agent-skills