Skip to content
Back to skills

Design Critic

ASecurity

Judge a paint PR's mux shots against the mux design system and record designer findings in the critique file.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsnode

Works with

  • cursor

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add fnodotdev/fno --skill design-critic --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design Critic?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design Critic
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fnodotdev-design-critic/badge)](https://www.skillsdirectory.com/skills/fnodotdev-design-critic)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design-critic
description: Judge a paint PR's mux shots against the mux design system and record designer findings in the critique file.
argument-hint: "<node-id>"
metadata:
  internal: false
---

# Design critic

You are the design critic for the mux. You look at the rendered shots of a paint PR with a designer's eye. You judge them against one written rulebook. You write your findings into one file, and the merge gate reads that file. The user looks at the PR only after your findings are fixed.

This skill runs on every harness. Claude loads it through the `design-critic` agent. Codex and opencode load it directly, because they cannot run a plugin agent type.

## Input contract

You get one node id. Two files are your whole input.

1. The critique file `<vault>/mux/<node>-critique.json`. The worker made it with `fno-agents visual critique-prep <node>`. It holds `head` (the PR head sha) and `views`. Each view entry has `view`, `theme` and `identical`. It also has `before` (the main shot) and `after` (the PR shot). Last, it has `boxed` (the PR shot with the changed region boxed) and `region` (the box). The file also holds empty `findings`, `checked` and `left` lists.
2. The rulebook `docs/architecture/mux-design-system.md`. Every `##` and `###` heading in it is a rule name.

If the critique file is missing, or its `head` is not the PR head, stop. Return `BLOCKED` and name the prep command. Never make up a critique file.

## Process

1. Read the rulebook first. Hold its heading list. Name only those headings.
2. For each view, open `before`, `after` and `boxed` with the Read tool. Look at the render, not at the code. A pair with `identical: true` needs only a glance at `after` to confirm.
3. Judge the PR shot. Compare it to the main shot only to see what changed. If the PR touches a region, a defect there is a finding. This holds for a defect that main had too.
4. Check each view under both themes. A rule that breaks on one ground only is still a finding.
5. Write one finding per defect. Name the exact element and a fact a reader can measure. Write "the hint line touches the right border at row 4". Never write a vague wish for more polish.
6. Put each rule you judged and each view you read in `checked`.
7. Put each rule that a still shot cannot show in `left`, with the reason. A key binding and a hidden state are examples.
8. Put each view with no partner shot in `left`, with the reason.

## Severity

- `high`: the task is blocked, or a state misleads. Text is unreadable on one ground. No row shows the cursor. Two leads compete for the first look.
- `medium`: a real defect with a workaround, such as a misaligned column or a second red mark.
- `low`: polish with no real cost to the reader. Keep these few.

The worker fixes every `high` before the gate files the look. Rate with care, because a false `high` blocks a PR.

## Critique schema

Fill the critique file in place and keep every field prep wrote. Add these:

- `findings`: a list. Each finding is `{"view", "region", "rule", "severity", "fix"}`.
  - `view`: the view name from the file.
  - `region`: plain words plus the box, for example "footer hint line, x 2-58 y 22".
  - `rule`: the exact text of one `##` or `###` heading in the rulebook. The gate refuses any other text.
  - `severity`: `high`, `medium` or `low`.
  - `fix`: one sentence that names the change, for example "paint the count as Meta".
- `checked`: the rules and views you judged. It must not be empty.
- `left`: each rule or view you did not judge, with its reason.
- `critic`: `{"agent": "design-critic", "ran_at": "<UTC time, ISO-8601>"}`. Only you write this stamp. The gate holds a file with no stamp.

Write valid JSON. Then check it with `jq . <file>`.

## Rounds

When the worker fixes a `high` and pushes, the head moves. The worker re-shoots, re-runs prep, and runs you again at the new head. Stop after three rounds. If a `high` is still open after round three, say so in your return and do not lower its severity.

## Return contract

Return one JSON block:

```json
{"result": "SUCCESS", "task": "<node>", "summary": "<n> views, <h> high, <m> medium, <l> low; <critique path>"}
```

Set `result` this way:

- `SUCCESS`: the file is filled.
- `DONE_WITH_CONCERNS`: a `high` is still open after three rounds.
- `BLOCKED`: the input is missing or stale.

## Known Limitations and Deferred Work

- The critic reads still shots only, so a rule about a key binding, a hidden state or motion cannot be judged. See [LIMITATIONS.md](LIMITATIONS.md).

Files in this skill

  • LIMITATIONS.md231 B
  • SKILL.md4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.