RepositoryJavaScript
ngocanhnckh

ngocanhnckh/renderlint

Lint the rendered UI: catches overflowing text, low contrast, overlaps, broken responsive layouts, emoji icons and more in any web framework. Built for AI coding agents.

814stars
181forks
0issues
5views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: ui

#1 Repository of the day

1
TINIX TRENDING·Topic: contrast

#1 Repository of the day

1
TINIX TRENDING·Topic: linter

#1 Repository of the day

🎯 The Linter That Sees Pixels

TypeScript and ESLint can't catch what's wrong with the pixels — renderlint can.

renderlint opens your app in a real browser, renders every page at phone, tablet, and desktop widths (plus dark mode), and hunts for the visual defects that slip through static analysis: text spilling out of cards, gray-on-gray captions, chart labels overlapping, layouts that only break at 1024px, dropdown arrows jammed against borders, $undefined in KPI tiles, emoji where icons should be. It was built specifically for AI coding agents — Claude Code, Cursor, Codex, Copilot, Gemini CLI, Windsurf, Aider, Zed, Amp — but works just fine for humans too.

✨ Highlights

  • Real browser checks: Opens your app in Playwright, sweeps every viewport width, and re-checks with longer text and bigger numbers to catch edge cases static tools miss.
  • Every page, every role: Reads routes from Next.js, Nuxt, SvelteKit, Astro, React Router, Remix, TanStack Router, Angular, and Vue Router; fills dynamic routes with real IDs; checks each page as admin, viewer, or any custom role.
  • Pages behind login: Mocks the API or logs in through the real form — server-rendered apps get the same mock on the server, so middleware and loaders run too. Pages that only show a login form are reported, never passed.
  • Menus and dropdowns: Opens every dropdown, menu, and combobox on the page and verifies options are visible; catches menus trapped under other cards by z-index or cut off by overflow: hidden containers.
  • Native dialog rule: Flags alert() and confirm() calls both at runtime and in source, suggesting toasts, inline messages, or the app's own modal instead.
  • Annotated findings: Each defect reports the element, the source file, an annotated screenshot, and a concrete fix in plain text an agent can act on immediately.
  • Playwright and Storybook integration: withRenderlint(test) checks each state your e2e tests reach; renderlint storybook checks every story.
  • Claude Code skills: init installs three skills — setting up every page and role, fixing findings, and Playwright and Storybook — so agents can handle the full workflow without asking.

💡 Why it matters

Static linters like ESLint and TypeScript work on the code, not the pixels. They cannot see that a heading is clipped by its card, that contrast falls below 4.5:1 on a non-uniform background, or that a layout only breaks at a specific width. renderlint fills that gap by treating the rendered UI as the source of truth — it renders, it observes, it reports. A coverage report gives every route a status, so no page is skipped silently.

It fits best as a build gate: run npx renderlint after every UI change and fix every error until it shows 0. It works with any framework, needs no backend to mock login pages, and was tested on Radix, Headless UI, and Bootstrap components. For teams shipping UI through AI agents, renderlint turns "this looks broken" into a precise, actionable finding with a screenshot and a fix.


#accessibility #visual-testing #ai-agents #linter #frontend #playwright #ui #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
Leonxlnx/taste-skill

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

124.6k
Nov 26, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryJavaScript
DietrichGebert/ponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

203.5k
Nov 22, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryTypeScript
garrytan/gstack

Ship agent-written code you can trust: review, QA, a destructive-command guard and PRs that carry their own evidence, for Claude Code and other coding agents.

143.2k
Dec 1, 2026
RepositoryPython
browser-use/browser-use

Browser Use: open source browser agent infrastructure

122.6k
Dec 2, 2026
RepositoryTypeScript
thedotmack/claude-mem

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

121.3k
Dec 2, 2026