design-audit

Audit the Resend dashboard for design system alignment. Routes here when a user says "audit design", "design alignment", "dashboard design audit", asks about…

npx skills add https://github.com/resend/design-skills --skill design-audit

Design Audit Skill

Audits src/app/(dashboard)* for design system compliance and src/ui/ for documentation coverage. Reports findings without modifying any source files or opening PRs.

How to run the audit

This skill is read-only. Never edit source files, create branches, or open PRs.

Step 1 — Load context

  1. Read src/app/(internal)/design/_common/sidebar-data.ts to extract:
    • The ignore list (files that should not be documented: _common, layout.tsx, shared.ts, page.tsx, todo)
    • The alias map (e.g. "avatar team""avatar", "command""combobox")
  2. Read src/app/(internal)/design/_common/documented-components.json for the list of documented components
  3. Read src/app/(internal)/design/_common/documented-patterns.json for the list of documented patterns
  4. Get the current commit SHA: git rev-parse HEAD

Step 2 — Run rubric checks

Read references/rubric.md for the category index, then run every category listed there by following its linked file under references/rubric/ exactly.

Cross-reference the resend-design-system skill to verify whether a DS primitive exists for a flagged use case before marking it a violation.

For judgment-based findings (e.g. "this dialog should probably be a stepper", "this column is mostly empty", "this disabled button has no explanation"), cite the relevant file under design-system/references/heuristics/ as the design_ref. Heuristics are guidelines, not rules — phrase the finding as a suggestion, not a violation, and route it to the rubric candidates category when there is no existing rule to cite.

Step 3 — Build the report

Emit the structured JSON defined in references/report-format.md, then render it as markdown per the template in that file.

Step 4 — Deliver via Linear

Follow references/linear-delivery.md to file or update the Linear issue. Before creating any tickets, run the triage-backlog preflight in that doc — if 10+ tickets are already pending in Triage, defer non-error tickets this run.

References

Load these when running the audit:

  • design-audit/references/rubric.md — category index + the merged rule/pattern/heuristic table
  • design-audit/references/rubric/ — one file per category with what counts as a violation and how to detect it
  • design-audit/references/report-format.md — exact JSON + markdown report structure
  • design-audit/references/linear-delivery.md — Linear MCP playbook for filing the issue

More skills from resend

marketing-pages
resend
Use when creating, updating, editing, or deleting marketing/public pages in the Resend codebase. Covers page structure, component reuse rules, and the…
official
resend-inbound
resend
resend-inbound — an installable skill for AI agents, published by resend/resend-skills.
official
email-best-practices
resend
Comprehensive guidance for building deliverable, compliant, and user-friendly email systems. Covers authentication setup (SPF/DKIM/DMARC), spam troubleshooting, and deliverability best practices to prevent emails from landing in spam Includes templates and patterns for transactional emails (password resets, OTPs, confirmations) and marketing emails with proper consent workflows Provides compliance frameworks for CAN-SPAM, GDPR, and CASL regulations, plus double opt-in and suppression list...
official
send-email
resend
Transactional and bulk email delivery via Resend API with single or batch endpoints. Choose single endpoint for individual emails with attachments or scheduling; use batch endpoint for 2–100 distinct emails in one request to reduce API calls Implement idempotency keys ( <event-type>/<entity-id> format) to prevent duplicate sends on retries, with 24-hour expiration Retry only 429 (rate limit) and 500 (server error) responses using exponential backoff; fix 400/422 validation errors without...
official
templates
resend
Use when creating, updating, publishing, deleting, or listing Resend email templates via the API, or when defining template variables, understanding draft vs…
official
resend-brand
resend
Use when creating Resend marketing materials, documents, presentations, or visual content. Triggers for Resend brand, Resend style, or Resend visual identity…
official
resend-design-skills
resend
Use when needing Resend design resources. Routes to brand guidelines, visual identity, UI components, design tokens, and marketing page patterns.
official
resend-design-system
resend
Use when building or modifying UI in the Resend codebase. Provides component APIs, variant options, design tokens, composition patterns for all src/ui/…
official