A design reviewfor your GOV.UK pages.

UCD Check is a free add-on for GitHub Copilot, Cursor and Claude Code. Type /ucd and it checks your pages against GOV.UK design, content and accessibility standards, then offers fixes.

Works in

  • GitHub Copilot
  • Cursor
  • Claude Code

Free. MIT licence. No sign-up.

Coding agents build pages that look right and miss the standards

The problem

  • Several questions on one page

  • A dropdown where radios fit

  • Validation that only runs in the browser

  • Error text that says please, or valid

  • An input with no label

  • A submit with no way to check the answers first

What UCD Check does

Three steps, in this order. Type /ucd. It reports before it edits.

  • 01

    It chooses the checks.

    It reads the code in scope and runs only the checks that apply. It skips the rest and says why.

  • 02

    It reports, most serious first.

    Each finding is must fix, should fix or consider, against the standards built into UCD Check.

  • 03

    It waits for your approval.

    It offers a fix and does not change a file until you say which findings to apply.

Example report

From browser-only.njk, in a project that has GOV.UK Frontend installed. Template language: Nunjucks.

3 findings: 1 must fix, 2 should fix. 5 checks ran, 1 skipped.

Show the full example report

Scope

evals/fixtures/validation/browser-only.njk. Template language: Nunjucks. GOV.UK Frontend is installed in the project.

Checks run and checks skipped

  • Components: ran. The input and the button are GOV.UK Frontend macros.
  • Question pages: ran.
  • Validation: ran.
  • Content: ran.
  • Accessibility: ran.
  • Journey: skipped. One question page, with no check-answers or confirmation code.

Findings

Severity: must fix

Validation runs in the browser

File
evals/fixtures/validation/browser-only.njk, lines 18 and 34
What is wrong
The form relies on the required attribute and a submit script. There is no error summary.
Standard
Build a form page
Proposed fix
Validate on the server, re-render with an error summary titled "There is a problem", and show the same message next to the field.
Severity: should fix

The message does not follow the template

File
evals/fixtures/validation/browser-only.njk, line 38
What is wrong
The script sets "Please enter a valid value".
Standard
GOV.UK components
Proposed fix
Use "Enter your email address" when the field is empty, with no please and no valid.
Severity: should fix

The form does not turn off browser validation

File
evals/fixtures/validation/browser-only.njk, line 18
What is wrong
The form has no novalidate, so the browser validates the field itself.
Standard
Build a form page
Proposed fix
Add novalidate to the form and keep the check on the server.

What still needs a human

  • Content accuracy: a content designer should confirm the error wording.
  • Testing with assistive technology: a person should confirm focus moves to the error summary.
  • Service assessment: this check does not pass one.

Next step

Say which findings to fix.

Where it runs

The same check, in three places.

  • 01

    In chat

    In VS Code Copilot chat, type /ucd. In Claude Code, type /ucd. In Cursor, type / in Agent chat and choose ucd.

  • 02

    On the command line

    In Copilot CLI, write “Use the /ucd skill to check” and the path you want checked.

  • 03

    On pull requests

    It posts review comments with suggested changes. It does not edit files, commit or push.

Safe to add

Installing it copies files. It does not run code.

  • 01

    A folder of Markdown.

    There are no scripts, no dependencies, no network calls and no telemetry.

  • 02

    It reports first.

    It never changes a file without your approval. On a pull request, it only comments.

What it does not do

These stay with a person. UCD Check says so in every report.

  • Research

    It does not do user research.

  • Assistive technology

    It does not test with assistive technology.

  • Accuracy

    It does not decide that content is accurate.

  • Assessment

    It does not make a service compliant, accessible or able to pass a service assessment.

UCD Check is independent and not endorsed by GDS, the MoJ or any government department. It does not make a service compliant.

Get it

Add it to your coding tool

Pick the tool you use. Copy the command and paste it into a terminal in your project folder.

Then type /ucd.

  • GitHub Copilot

    gh skill install ucdservices/ucd-check ucd --agent github-copilot --scope project

  • Claude Code

    gh skill install ucdservices/ucd-check ucd --agent claude-code --scope project

  • Cursor

    gh skill install ucdservices/ucd-check ucd --agent cursor --scope project