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.
@rules/laravel/filament.mdc — for custom Blade + Tailwind, create and register a custom theme; use Filament\Support\Icons\Heroicon for icons.@rules/laravel/livewire.mdc — keep Blade templates presentation-only; components are slim entry points.@rules/laravel/architecture.mdc and @rules/laravel/laravel.mdc for file placement.@rules/security/frontend.md if any audit fix touches output rendering or CSP.This skill has three modes. Pick the one that matches the request.
Produce a documented token set wired into Tailwind, a Filament theme, and reusable Blade/Livewire components.
tailwind.config.js, resources/css/app.css, Blade views under resources/views, and any Filament theme CSS. Collect every color, font, size, radius, and shadow already in use.DESIGN.md.// tailwind.config.js
export default {
theme: {
extend: {
colors: {
brand: { DEFAULT: 'rgb(var(--c-brand) / <alpha-value>)' },
surface: 'rgb(var(--c-surface) / <alpha-value>)',
danger: 'rgb(var(--c-danger) / <alpha-value>)',
},
borderRadius: { card: 'var(--radius-card)' },
boxShadow: { card: 'var(--shadow-card)' },
},
},
};/* resources/css/app.css */
:root {
--c-brand: 37 99 235; /* single source of truth */
--c-surface: 255 255 255;
--c-danger: 220 38 38;
--radius-card: 0.5rem;
--shadow-card: 0 1px 2px rgb(0 0 0 / 0.06);
}
.dark {
--c-surface: 17 24 39;
}{{-- resources/views/components/ui/card.blade.php (anonymous) --}}
@props(['variant' => 'default'])
<div {{ $attributes->class([
'rounded-card shadow-card bg-surface',
'border border-gray-200 dark:border-gray-700' => $variant === 'outlined',
]) }}>
{{ $slot }}
</div>Use <x-ui.card>…</x-ui.card> everywhere instead of repeating utility strings. For interactive widgets, wrap state in a Livewire or Alpine component but keep the visual shell in the shared Blade component.
/* resources/css/filament/admin/theme.css */
@import '/vendor/filament/filament/resources/css/theme.css';
@import '../../app.css'; /* reuse the same --c-* variables */Register it on the panel provider with ->viteTheme(...) so Filament and the public UI share one token set.
Output: DESIGN.md (token tables + rationale), updated tailwind.config.js, CSS variables in app.css, the Filament theme, and the shared Blade/Livewire components.
Score the UI across 10 dimensions, 0–10 each. Every dimension needs a score, a concrete file:line example, and a fix.
rgb() strings in Blade.h1 > h2 > h3 > body > caption; no skipped levels.mt-[13px].<x-ui.*> component.dark: coverage, not half-applied.transition use vs gratuitous animation.frontend-a11y).wire:loading), and empty states present.A live-URL crawl or screenshot pass is OPTIONAL. If no browser tool exists, audit from the Blade/Tailwind source and Filament config directly — that is sufficient.
Report format per dimension:
Color consistency — 6/10
resources/views/livewire/dashboard.blade.php:42 — bg-[#3b82f6] bypasses the brand token
Fix: replace with bg-brand and add the token if missingFlag generic AI-generated design tells and propose a deliberate alternative:
For each hit, give file:line and a concrete fix that ties back to the project tokens and the chosen design direction (cross-link frontend-design-direction).
DESIGN.md documents the rationale.file:line example and a fix.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.