design-system — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited design-system (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
#### Mode 1: Generate Design System
Analyzes your codebase and generates a cohesive design system:
1. Scan CSS/Tailwind/styled-components for existing patterns
2. Extract: colors, typography, spacing, border-radius, shadows, breakpoints
3. Research 3 competitor sites for inspiration (via browser MCP)
4. Propose a design token set (JSON + CSS custom properties)
5. Generate DESIGN.md with rationale for each decision
6. Create an interactive HTML preview page (self-contained, no deps)Output: DESIGN.md + design-tokens.json + design-preview.html
#### Mode 2: Visual Audit
Scores your UI across 10 dimensions (0-10 each):
1. Color consistency — are you using your palette or random hex values?
2. Typography hierarchy — clear h1 > h2 > h3 > body > caption?
3. Spacing rhythm — consistent scale (4px/8px/16px) or arbitrary?
4. Component consistency — do similar elements look similar?
5. Responsive behavior — fluid or broken at breakpoints?
6. Dark mode — complete or half-done?
7. Animation — purposeful or gratuitous?
8. Accessibility — contrast ratios, focus states, touch targets
9. Information density — cluttered or clean?
10. Polish — hover states, transitions, loading states, empty statesEach dimension gets a score, specific examples, and a fix with exact file:line.
#### Mode 3: AI Slop Detection
Identifies generic AI-generated design patterns:
- Gratuitous gradients on everything
- Purple-to-blue defaults
- "Glass morphism" cards with no purpose
- Rounded corners on things that shouldn't be rounded
- Excessive animations on scroll
- Generic hero with centered text over stock gradient
- Sans-serif font stack with no personalityGenerate for a SaaS app:
/design-system generate --style minimal --palette earth-tonesAudit existing UI:
/design-system audit --url http://localhost:3000 --pages / /pricing /docsCheck for AI slop:
/design-system slop-check#### SCSS 7-1 Architecture
Organise stylesheets into seven folders plus one main entry file:
styles/
├── abstracts/ # Variables, functions, mixins, placeholders
├── base/ # Reset, typography, base element styles
├── components/ # Component-specific styles (BEM)
├── layout/ # Grid, header, footer, sidebar
├── pages/ # Page-specific overrides
├── themes/ # Light/dark theme token overrides
├── vendors/ # Third-party library overrides
└── main.scss # Import-only file; no styles hereRules:
abstracts/ contains only SCSS logic: no output CSScomponents/ into abstracts/components/: .block__element--modifier#### Tailwind v4, CSS-First Configuration
Tailwind v4 removes tailwind.config.js. Use the @theme block in your CSS:
/* styles/main.css */
@import "tailwindcss";
@theme {
--color-primary: #2563eb;
--color-primary-foreground: #ffffff;
--font-sans: "Inter Variable", sans-serif;
--radius-md: 0.5rem;
--spacing-18: 4.5rem;
}
/* Custom components go in @layer components */
@layer components {
.btn-primary {
@apply bg-[--color-primary] text-[--color-primary-foreground] rounded-[--radius-md] px-4 py-2;
}
}tailwind.config.js: all configuration lives in @theme@theme via var(--token) or the bracket shorthand [--token]@theme are automatically available as Tailwind utilities#### Design Token Naming Convention
--{category}-{variant}-{scale}
Examples:
--color-primary-500
--color-surface-default
--color-text-muted
--shadow-card-default
--radius-button-default
--spacing-section-gapNever create tokens with hardcoded pixel values in the name (--padding-16px is wrong; --spacing-4 is correct).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.