English
AI coding agents
Agents write Tailwind classes fast, and get them wrong the way people do: a typo, a palette color instead of a theme one, two classes that override each other, a component rebuilt by hand. oxlint-tailwindcss reports those with the fix in the message, which an agent can act on without help. Two things make that automatic.
The skill
bash
npx skills add sergioazoc/oxlint-tailwindcss --skill oxlint-tailwindcssIt installs skills/oxlint-tailwindcss/SKILL.md for the agents npx skills supports. It tells the agent how to set the plugin up — the requirements, the entry point, the recommended config — and what to do about each diagnostic.
The Claude Code plugin
In Claude Code:
text
/plugin marketplace add sergioazoc/oxlint-tailwindcss
/plugin install oxlint-tailwindcss@oxlint-tailwindcssIt adds three things:
- Diagnostics as Claude works. It starts your project's
oxlint --lspas a language server, so Claude sees oxlint-tailwindcss's reports — and oxlint's — on the files it opens and edits. - A check before Claude finishes. It notes each file Claude edits; when Claude is about to finish, it lints those files and, if oxlint-tailwindcss reports errors in them, sends Claude back with the list. Warnings and files Claude didn't touch don't count, and it never sends Claude back twice in a row.
- The skill above.
It runs your project's own oxlint (node_modules/.bin/oxlint, found from the project root up) with your .oxlintrc.json, so install oxlint and oxlint-tailwindcss in the project and set it up first. Without them, the plugin does nothing.