Renderlint lints the rendered page for layout and contrast bugs that coding agents ship
A command-line linter that opens a web app in a real browser and reports visual defects such as overflowing text, low contrast and overlapping elements, with fix suggestions an agent can act on.
renderlint, by ngocanhnckh, opens an app in a browser at phone, tablet and desktop widths, plus dark mode. It sweeps the widths in between and re-checks with longer text, bigger numbers and longer API data. The tool reports defects such as text running out of cards, gray-on-gray captions, chart labels colliding, emoji used as icons, and placeholder values such as undefined. Each finding names the element, the source file, an annotated screenshot and a suggested fix. According to the README, TypeScript and ESLint cannot see these problems because the code is valid.
To set it up, the README says to run npx -y @yitec/renderlint init. That installs the package, adds config, a build gate, agent instructions in AGENTS.md and a Claude Code Stop hook. After that, npx renderlint exits with code 1 when it finds errors. The tool is MIT licensed, needs Node 18.17 or newer, and says it works with any framework that renders in a browser. Pages behind a login can be reached with a stored token and mocked API responses. An optional --ux pass clicks through buttons, forms and links to look for missing feedback. The author lists 63 rules and reports that defects found in the websites of Ant Design, Hugo, Mantine, Ruby, Nuxt UI and Panda CSS were fixed upstream.
The author's own experiment ran 22 headless Claude Code sessions. He reports that the 11 baseline apps had 229 errors between them, and that all 11 apps built with renderlint finished at 0 errors. These are the author's figures from that test, and the README gives no independent check.
In the author's words
It opens your app in a real browser, finds the visual defects coding agents ship, and fails the build until they're fixed.
From the README or the author's post. We checked that the sentence is there, not that it is true.
When to reach for it
A reader building with coding agents could add a rendered-page check that the agent must pass after every UI change, so the agent fixes overflow and contrast problems that type checks miss. The approach is to run the check against several screen widths rather than only the desktop layout.
Works with
See it
AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made