Mosquito

Catching design inconsistencies while building

A design-system QA agent that audits code against the team’s system, from tokens and spacing to focus states and accessibility.

Role and team

Design and development

Project goals

Check coded interfaces against a design system.

Timeline

1 week

Mosquito workflow illustrated with the portfolio design language

Project overview

Problem we solved

Colours, spacing, typography, and interaction states can become inconsistent during implementation.

Challenge

Find design-system mismatches and identify the source that needs changing.

Results

A QA agent that reports findings with file and line references and suggested fixes.

I built Mosquito to check coded interfaces against a design system. It flags inconsistent colors, spacing, typography, and interaction states while I’m building.

Mosquito accepts a source path or running localhost URL. For a URL, it inspects rendered HTML and styles, then finds the matching source. It checks tokens, colors, states, focus rings, accessibility patterns, typography, and spacing. Focused accessibility, spacing, and visual modes report findings with file and line references.

Try a UI check.

Run an illustrative check, inspect the findings, then apply the fixes to see the difference. The rules here belong to this portfolio.

Findings I can work with.

Each finding points to a file and line, with a suggested fix. I built the tool for the Absorb design system, including component documentation and QA specifications. This example uses sample code and the styles from my portfolio.