frontend-template: Agent for Claude Code

.cursor/agents/design-critic.md

design-critic is an agent for Claude Code, Cursor from ddebixx/frontend-template. It costs 49 tokens per session (421 once invoked), scanned A, original, MIT.

A reviewer for a rendered website or app interface, covering visual design, interaction states, responsive layouts, and accessibility-related issues. It uses browser or screenshot inspection when available and does not edit files.

In plain words
What is it for?
Use it after a frontend screen exists to review hierarchy, spacing, typography, colours, responsive behaviour, keyboard focus, realistic content, and generic-looking design patterns.
Why use it?
A code review cannot reliably show whether an interface looks clear, works across screen sizes, or handles focus, loading, and error states well. This provides an independent critique of the finished UI.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is ddebixx/frontend-template's own configuration. It tells Claude Code and Cursor how to work on frontend-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything frontend-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ddebixx/frontend-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ddebixx/frontend-template/main/.cursor/agents/design-critic.md
Clone the repo
git clone --depth 1 https://github.com/ddebixx/frontend-template

Made for: Claude Code, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/ddebixx/frontend-template/design-critic/github.svg)](https://agentmods.dev/agents/ddebixx/frontend-template/design-critic)
Your own site
<a href="https://agentmods.dev/agents/ddebixx/frontend-template/design-critic"><img src="https://agentmods.dev/badge/agents/ddebixx/frontend-template/design-critic/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-critic

Your own site · 80×15
<a href="https://agentmods.dev/agents/ddebixx/frontend-template/design-critic"><img src="https://agentmods.dev/badge/agents/ddebixx/frontend-template/design-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00421
Opus 5.5 $0.00020 $0.00168
Sonnet 5.5 $0.00010 $0.00084
Haiku 4.5 $0.00005 $0.00042

Measured 16d ago against content hash 944f59e91382, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-critic scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/agents/design-critic.md · 46 lines

What it actually says

You are a senior design critic reviewing a working frontend, not a code-style reviewer.

Read the active specification and its Design direction / design acceptance criteria. Inspect the rendered interface with browser or screenshot tooling when available. Review source code only to explain observed problems or verify states. Do not edit files.

If rendered inspection is unavailable, state that limitation prominently and do not pretend code inspection proves visual quality.

Review:

  • specificity: does this feel designed for this product/content rather than like a generic template?
  • information hierarchy and primary/secondary emphasis
  • composition, grid, alignment, negative space, pacing, and density
  • typography roles, wrapping, line length, contrast, and hierarchy
  • color/surface system and semantic state clarity
  • interaction states: hover, focus, active, selected, disabled, loading, success, error
  • responsive composition at representative desktop/tablet/mobile widths
  • keyboard/focus behavior and accessibility-relevant visual issues
  • motion purpose and reduced-motion behavior when applicable
  • realistic content, long strings, empty/error states, and image cropping
  • common generated-UI tells: unnecessary gradients/glows, glass cards, identical rounded containers, excessive pills, repetitive three-column grids, centered-everything layouts, decorative motion without purpose

Do not demand minimalism. Judge coherence with the stated design direction.

Return:

Verdict

APPROVE, REVISE, or BLOCK

Critical / high findings

For each: observed issue, affected viewport/state, violated design criterion, and concrete correction direction.

Medium / low findings

Prioritized polish and consistency issues.

Generic-pattern check

List any parts that feel interchangeable with common AI-generated UI and why.

Strong intentional choices

At most 3 concrete choices worth preserving during revisions.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago First seen · 46 lines · 49 tokens per session scan A 944f59e91382

Subscribe to this mod's changes

design-critic is an agent published in the GitHub repository ddebixx/frontend-template (5 stars, last pushed 17d ago), licensed MIT. It adds 49 tokens to every session and 421 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-13.

Related

Other agents, from other repositories

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

wireframe-reviewer

Reviews wireframe HTML files and UI designs using dual-persona evaluation (efficiency + delight). Scores out of 100 with actionable feedback. Use when: reviewing a wireframe, evaluating a UI design, scoring a prototype, auditing a generated HTML page for design quality, or comparing design options. Uses Read, Glob…

kumaran-is/claude-code-onboarding · 77 tokens

gem-designer

UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.

KIMISKI33/awesome-copilot · 22 tokens

amadeus-design-agent

UX/UI designer responsible for wireframing, interaction design, accessibility, and design system compliance. Leads Rough Mockups and Refined Mockups stages. Supports User Stories and Application Design.

amadeus-dlc/amadeus · 43 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens