sumulige-claude: Command for Claude Code

.claude/commands/design-audit.md

design-audit is a command for Claude Code from sumulige/sumulige-claude. It costs 0 tokens per session (383 once invoked), scanned A, original, MIT.

A command that reviews an application's visual design and usability across 15 areas, including layout, typography, colors, responsive behavior, accessibility, and loading or error states. It produces a staged improvement plan and waits for approval before changes are made.

In plain words
What is it for?
Use it to audit one screen, such as a login page or dashboard, or review the entire application for visual and usability issues.
Why use it?
It helps reveal inconsistent or confusing interface details that are easy to miss when reviewing one screen at a time. The review is limited to design and interaction, not application logic or data handling.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is sumulige/sumulige-claude's own configuration. It tells Claude Code how to work on sumulige-claude 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 sumulige-claude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sumulige/sumulige-claude. 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/sumulige/sumulige-claude/main/.claude/commands/design-audit.md
Clone the repo
git clone --depth 1 https://github.com/sumulige/sumulige-claude

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/sumulige/sumulige-claude/design-audit.svg)](https://agentmods.dev/commands/sumulige/sumulige-claude/design-audit)
Your own site
<a href="https://agentmods.dev/commands/sumulige/sumulige-claude/design-audit"><img src="https://agentmods.dev/badge/commands/sumulige/sumulige-claude/design-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 383 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.00000 $0.00383
Opus 5 $0.00000 $0.00192
Sonnet 5 $0.00000 $0.00077
Haiku 4.5 $0.00000 $0.00038

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

Security

Grade A, and why

design-audit 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 8d 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.

.claude/commands/design-audit.md · 57 lines

What it actually says

/design-audit

系统性设计审计 - Steve Jobs 标准

用法

/design-audit [屏幕名称]
/design-audit --full          # 全应用审计
/design-audit login           # 审计登录页面
/design-audit dashboard       # 审计仪表盘

工作流程

  1. 读取上下文

    • DESIGN_SYSTEM.md
    • APP_FLOW.md
    • 目标屏幕/组件
  2. 15 维度审计

    • 视觉层级、间距、排版、颜色、对齐
    • 组件一致性、图标、动效
    • 空/加载/错误状态
    • 响应式、可访问性
  3. 应用 Jobs 过滤器

    • 能删则删
    • 显而易见 > 需要说明
    • Inevitable 设计
  4. 输出分阶段计划

    • Phase 1: 关键问题
    • Phase 2: 精化
    • Phase 3: 打磨
  5. 等待批准后执行

范围纪律

✅ 视觉设计、布局、间距、排版、颜色、交互、动效、可访问性 ❌ 应用逻辑、功能、API、数据模型

核心原则

Simplicity is the ultimate sophistication.
Remove until it breaks.
The details users never see should be as refined as the ones they do.
Design is not decoration. It is how it works.

参考

  • .claude/rules/design-philosophy.md - 核心哲学
  • .claude/skills/design-audit/SKILL.md - 完整协议
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. 8d ago First seen · 57 lines · 0 tokens per session scan A f3a00094a015

Subscribe to this mod's changes

design-audit is a command published in the GitHub repository sumulige/sumulige-claude (2 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 383 tokens. 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-31.