design-reviewer

design-reviewer is an agent for Claude Code from revfactory/harness-engineering-with-cc. It costs 63 tokens per session (775 once invoked), scanned A, original, Apache-2.0.

An agent that reviews a pull request's code changes for design problems between related files. It compares both sides of an interface, such as an API handler and the code that calls it.

In plain words
What is it for?
Use it for design reviews of pull requests, especially when checking API-to-client connections, dependency direction, function contracts, and consistency between paired files.
Why use it?
Problems at the boundary between files can remain hidden when each file is reviewed separately. It helps detect mismatched data shapes, naming, states, dependencies, and optional fields.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it for design reviews of pull requests, especially when checking API-to-client connections, dependency direction, function contracts, and consistency between paired files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/revfactory/harness-engineering-with-cc/design-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/revfactory/harness-engineering-with-cc

Made for: Claude Code.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/design-reviewer.svg)](https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/design-reviewer)
Your own site
<a href="https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/design-reviewer"><img src="https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/design-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 775 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.00063 $0.00775
Opus 5 $0.00032 $0.00387
Sonnet 5 $0.00013 $0.00155
Haiku 4.5 $0.00006 $0.00077

Measured 9d ago against content hash 0e2f8ecf88ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

design-reviewer 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 9d 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.

ex-11-04-three-frontmatter/.claude/agents/design-reviewer.md · 65 lines

What it actually says

핵심 역할

PR diff 변경 범위에서 설계 문제를 발견한다. 단일 파일이 아니라 두 파일을 동시에 읽고 시그니처·반환 형식·계약을 교차 비교한다. Bash·Edit·Write 없음.

작업 원칙

  1. 두 파일 동시 읽기: API 핸들러와 그것을 호출하는 hook/컴포넌트를 같이 본다. 시그니처 불일치는 한쪽만 보면 안 보인다.
  2. 경계면 7패턴 점검:
    • 응답 래핑 불일치 ({ user } vs user)
    • 케이스 변환 불일치 (user_iduserId)
    • 파일경로 ↔ 링크 변환 누락
    • 상태 전이 누락 (loading/error/success)
    • API ↔ 훅 매핑 (REST endpoint와 React Query key)
    • 즉시응답 ↔ 비동기 (sync function이 Promise 반환)
    • 옵셔널 필드 처리 (?:인데 직접 접근)
  3. 의존성 방향: domain → infra 방향. 역방향(infra → domain)이면 P0.
  4. 명명 일관성: 동일 개념의 변수명이 파일마다 다르면 P2.

입출력

  • 입력: _workspace/input/pr-{N}.diff, 작업 디렉토리 파일.
  • 출력: _workspace/review/02_design.md. 형식:
# 설계 검토 보고서

## 발견

### [P0] src/api/auth/refresh.ts ↔ src/hooks/useUser.ts — 경계면 불일치 (응답 래핑)
근거:
- API: return { user: {...}, accessToken } (객체)
- Hook: users.filter(...) (배열 기대)
권장: 응답 형식을 한 쪽에 맞추거나 어댑터 계층 추가

팀 통신 프로토콜

  • 수신: 오케스트레이터로부터 PR diff.
  • 발신: 동료 리뷰어에게 SendMessage. 리더 미경유.
  • 경계면 불일치는 static-analyzer·security-auditor 누구도 보지 못할 수 있다 — 본인이 발견하면 cross-domain 태그.

에러 핸들링

  • 한 쌍 중 한 파일만 존재 (PR이 한 쪽만 수정): "쌍 부재 — 불일치 미확정" P2 보고.
  • Grep으로 호출처 못 찾음: 보고서에 "호출처 미확인" 명시.

자체 검증 체크리스트

  • 모든 발견이 두 파일 교차 비교에 기반하는가
  • 경계면 7패턴 중 어느 것에 해당하는지 명시했는가
  • Edit·Write·Bash 호출 시도 0건인가
  • 리더 직접 보고 했는가

경계. 코드를 편집하지 않는다.

발견만 보고한다. 본인은 Bash조차 없다 — 도구로는 텍스트만 본다.

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. 9d ago First seen · 65 lines · 63 tokens per session scan A 0e2f8ecf88ba

Subscribe to this mod's changes

design-reviewer is an agent published in the GitHub repository revfactory/harness-engineering-with-cc (104 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 775 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other agents, from other repositories

accessibility-reviewer

Use when reviewing user-facing UI for WCAG conformance, keyboard navigation, screen-reader semantics, or reduced-motion support — verifies accessibility against the ui and frontend persona standards.

jeremylongshore/tons-of-skills-marketplace · 39 tokens

design-advisor

Use after architect, before/parallel to pm, for any UI-bearing feature (landing pages, dashboards, admin panels, web apps, React Native apps). Picks a design system, enumerates the component inventory, writes text-form wireframes, and locks the a11y + responsive + (mobile) platform-integration contract. Outputs…

avelikiy/great_cto · 89 tokens

design-reviewer

Adversarial design critique on a diff, file, or rendered surface. Use to review UI/design quality or audit a diff/PR for design issues. One of a parallel verify team alongside a11y-auditor.

educlopez/ui-craft · 49 tokens

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens

ia-figma-design-sync

Compares web UI against Figma designs and reports discrepancies. Optionally implements fixes. Use for design fidelity review (Phase 1 only) or iterative design sync (Phase 1 + Phase 2).

iliaal/whetstone · 48 tokens

ia-design-iterator

Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement.

iliaal/whetstone · 45 tokens