2026-11-27 16:19 UTC

Pristine offers cross-harness browser-based UI critique and polish

state: expiredheat: lowuncertainty: mediumrelevance: mediumagent-skills web-design coding-agentsmaddhruv

What is this?

Pristine is an Apache-2.0 agent skill from developer maddhruv for critiquing, designing, and polishing web interfaces. Its GitHub documentation describes commands for initialization, critique, design, and polish; browser-based inspection across light/dark and desktop/mobile views; and compatibility with several coding-agent harnesses. It also links eight before-and-after examples. The examples and claimed quality scores are project-provided, not independent evaluations.

Why it matters

Pristine packages visual critique and UI editing into a reusable skill that works across several coding-agent harnesses. Its browser-based checks and explicit critique, design, and polish commands could make interface refinement easier to repeat in agent workflows. The release is worth noting as a practical tool, but the supplied evidence does not establish adoption or independently verify its quality claims.

Current assessment

The project’s GitHub documentation describes Pristine as an Apache-2.0 skill by maddhruv, compatible with Claude Code, Codex, GitHub Copilot, Cursor, and other agents that read SKILL.md. It offers commands to initialize a project design guide, critique a target without editing, design or redesign UI, and polish existing work. It says it captures pages across light/dark and desktop/mobile views using an available browser tool or bundled Playwright script, and links eight before-and-after examples with critiques and changes. The advertised scores and results are self-published examples, not independent evaluations; no usage, comparative testing, or model-specific performance evidence is provided. Search results indicate a broader ecosystem of UI-related agent skills, so the distinctive practical angle here is the documented cross-harness packaging and integrated inspection-to-edit workflow, not evidence of a new underlying model capability. Useful to test for teams seeking a reusable UI-review workflow; assess its outputs against human design judgment and project requirements.

Measured heat

no measured readings yet β€” the hourly heat pass fills this in

How the heat travelled

10-23 04:28 (minted)⭐ origin echo-reconstructedThe GitHub repository is the primary artifact: it describes Pristine as β€œAn agent skill that makes web UI pristine,” which examines real pag
Dhruv (GitHub user maddhruv) on github (echo) Β· attributed from hn.story.50204389 Β· published time unknown
β€”
10-23 04:01first on hacker news Β· published Β· lag ?Show HN: Pristine – an agent skill that critiques and polishes web UI
maddhruvhn
β€”
10-23 04:01amplified on hacker news πŸ‘‘hn.story.50204389
maddhruvhn
peak 2 Β· 1 comments Β· 100% of case engagement
10-23 04:26our radar first saw it Β· lag ?discovery anchor: hn.story.50204389β€”

Evidence (2) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Pristine – an agent skill that critiques and polishes web UI
Retrieved article excerpt

Open article Β· Retrieved 2026-10-23T04:27:29.079982+00:00

# Pristine

[CI](https://github.com/maddhruv/pristine/actions/workflows/ci.yml)
[License: Apache-2.0](https://github.com/maddhruv/pristine/blob/main/LICENSE)
[skills.sh](https://skills.sh/maddhruv/pristine)

[Pristine: your agent ships UI, Pristine makes it look designed.](https://github.com/maddhruv/pristine/blob/main/site/public/og.png)

An agent skill that makes web UI pristine. It looks at the real page (light and dark, desktop and mobile), judges it through the eyes of the people who use your product, and either scores it honestly or fixes it.

Works with Claude Code, Codex, GitHub Copilot, Cursor and any agent that reads `SKILL.md`.

**Site and examples:** <https://pristine-ui.pages.dev>

| Before (3.5/10) | After one `/pristine polish` (9.5/10) |
| --- | --- |
| [SaaS landing page before Pristine](https://github.com/maddhruv/pristine/blob/main/site/public/shots/saas-landing/before/desktop-light.webp) | [SaaS landing page after Pristine](https://github.com/maddhruv/pristine/blob/main/site/public/shots/saas-landing/after/desktop-light.webp) |

Eight real before/after pairs, with the full critique and every change: <https://pristine-ui.pages.dev/#examples>

## Commands

| Command | What it does | Edits code |
| --- | --- | --- |
| `/pristine init` | Reads your code, asks only what it can't see, and writes `DESIGN.md`: product, Personas, brand, design system. | yes |
| `/pristine critique <target>` | Scores a page out of 10 across 11 Dimensions, through each Persona, with the exact fix for every finding. | no |
| `/pristine design <brief>` | Builds a new page, component or flow, or redesigns one in a new direction. | yes |
| `/pristine polish [lenses] <target>` | Keeps the look and raises every detail. The default for a bare `/pristine` on existing UI. | yes |

A target can be a URL, a pasted screenshot, a file path or a feature name. Name Lenses after `polish` to force them, for example `/pristine polish bolder typeset the hero`. There are 16: bolder, colorize, typeset, quieter, decolorize, distill, layout, adapt, consistency, animate, delight, overdrive, clarify, harden, optimize, polish-details.

Full reference with examples: <https://pristine-ui.pages.dev/docs/>

## Install

### Claude Code

```
/plugin marketplace add maddhruv/pristine
/plugin install pristine@pristine
```

### Codex

```
codex plugin marketplace add maddhruv/pristine
codex plugin add pristine@pristine
```

### GitHub Copilot (CLI and VS Code)

```
copilot plugin marketplace add maddhruv/pristine
copilot plugin install pristine@pristine
```

### Any agent (skills.sh)

```
npx skills add maddhruv/pristine
```

### By hand

```
git clone https://github.com/maddhruv/pristine ~/pristine
ln -s ~/pristine/skills/pristine ~/.claude/skills/pristine   # or ~/.copilot/skills, ~/.agents/skills
```

Then, in your project, run `/pristine init` once and `/pristine` on whatever you're building.

### Screenshots

Pristine captures pages before it judges them. It uses a browser tool your agent already has (Claude in Chrome, an agent browser, Playwright MCP). If there is none, `scripts/capture.mjs` installs a private Playwright Chromium into `~/.cache/pristine-capture` on first run. Node 18+ is required for the bundled scripts.

## Repository layout

```
skills/pristine/
  SKILL.md              entry point: commands, routing, non-negotiables
  agents/openai.yaml    display metadata for Codex
  reference/            one file per command, plus capture, craft floor
  reference/lenses/     the 16 Lenses
  reference/patterns/   landing pages, dashboards, onboarding, motion recipes, ...
  scripts/capture.mjs   light/dark x desktop/mobile screenshots, zoom, element capture
  scripts/detect.mjs    static scan for common UI defects
site/                   the showcase (Astro, Cloudflare Pages), built with Pristine
.claude-plugin/         plugin and marketplace manifests
```

## Contributing

See [CONTRIBUTING.md](https://github.com/maddhruv/pristine/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/maddhruv/pristine/blob/main/CODE_OF_CONDUCT.md). Bug reports that include the session, the harness and the model are the most useful thing you can send.

## License

[Apache-2.0](https://github.com/maddhruv/pristine/blob/main/LICENSE)
maddhruvhn21
🟧 echo.github ⭐The GitHub repository is the primary artifact: it describes Pristine as β€œAn agent skill that makes web UI pristine,” which examines real pagDhruv (GitHub user maddhruv)β€”β€”

Interpretation history

Decision trace