
design-audit
โ 37by resend ยท part of resend/design-skills
Audit the Resend dashboard for design system alignment. Routes here when a user says "audit design", "design alignment", "dashboard design audit", asks about undocumented components or design violations, or when triggered by the scheduled weekly routine.
This is the playbook your agent receives when the skill activates โ you don't need to read it to use the skill, but it's here to audit before installing.
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
- Read
src/app/(internal)/design/_common/sidebar-data.tsto 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")
- The ignore list (files that should not be documented:
- Read
src/app/(internal)/design/_common/documented-components.jsonfor the list of documented components - Read
src/app/(internal)/design/_common/documented-patterns.jsonfor the list of documented patterns - 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 tabledesign-audit/references/rubric/โ one file per category with what counts as a violation and how to detect itdesign-audit/references/report-format.mdโ exact JSON + markdown report structuredesign-audit/references/linear-delivery.mdโ Linear MCP playbook for filing the issue
npx skills add https://github.com/resend/design-skills --skill design-auditRun this in your project โ your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.