ワンクリックで
skill-design-elite
Enterprise UI/UX auditor for SaaS. Enforces Tailwind, Atomic Design, accessibility. Optimized for small LLMs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Enterprise UI/UX auditor for SaaS. Enforces Tailwind, Atomic Design, accessibility. Optimized for small LLMs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | skill-design-elite |
| description | Enterprise UI/UX auditor for SaaS. Enforces Tailwind, Atomic Design, accessibility. Optimized for small LLMs. |
| compatibility | Qwik, React, Tailwind CSS |
| metadata | {"author":"builderbot","version":"2.0","tags":"design-system, tailwind, atomic-design, accessibility, qwik, react"} |
Para LLMs pequeños: Lee
QUICKSTART.mdprimero para referencia rápida.
Lista TODOS los archivos del componente/vista (padre + hijos + átomos).
Revisa cada archivo contra las Reglas Críticas de abajo.
Aplica cambios en este orden:
Marca cada item del Checklist de Cierre. Si falla algo, vuelve al paso 3.
✅ PERMITIDO: Pasar strings por props
<Input prefixIcon="search" />
❌ PROHIBIDO: Pasar JSX/funciones por props
<Input prefixIcon={<LuSearch />} />
✅ PERMITIDO: Closure sin captura
onKeyDown$={$((e) => {
if (e.key === 'Enter') (e.target as HTMLElement).click();
})}
❌ PROHIBIDO: Closure capturando objetos con funciones
onKeyDown$={$((e) => {
item.action(); // item tiene funciones
})}
❌ PROHIBIDO: t() inline en props o closures
<div aria-label={t('menu.label')} />
const handler = $(() => notify(t('error')))
✅ OBLIGATORIO: Extraer t() antes
const label = t('menu.label');
<div aria-label={label} />
| Propiedad | Tokens Permitidos | PROHIBIDO |
|---|---|---|
| gap | gap-1, gap-2, gap-3, gap-4, gap-6, gap-8 | gap-2.5, gap-3.5, gap-5, gap-7 |
| altura controles | h-8, h-9, h-10 | py-* solo (sin h-*) |
| bordes light | border-gray-200 | border-gray-100, border-gray-300 |
| bordes dark | dark:border-githubDark-border | dark:border-gray-600, dark:border-gray-700 |
| valores | Tokens del DS | Cualquier [...] arbitrario |
✅ OBLIGATORIO: Usar átomos de ~/atoms
import { Button, Input, Badge } from '~/atoms'
<Button onClick$={handler}>Guardar</Button>
<Input bind:value={signal} />
❌ PROHIBIDO: HTML nativo con clases Tailwind
<button class="bg-blue-600 text-white px-4 py-2">Guardar</button>
<input class="border border-gray-300 px-3 py-2" />
// ✅ OBLIGATORIO: Spread condicional
{...(props['bind:value'] != null && { 'bind:value': props['bind:value'] })}
// ❌ PROHIBIDO: Pasar undefined
bind:value={props['bind:value']}
✅ OBLIGATORIO: focus-visible en todo interactivo
<button class="focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none">
✅ OBLIGATORIO: aria-label en icon-only
<button aria-label="Cerrar menú">
<LuX class="h-4 w-4" />
</button>
❌ PROHIBIDO: outline-none sin alternativa
<button class="outline-none">
[...] en Tailwindgap-* usan tokens DS (gap-1/2/3/4/6/8)h-* explícito, nunca solo py-*border-gray-200 o dark:border-githubDark-bordert(...) inline en props o closures $()focus-visible en todo elemento interactivoaria-label en botones de solo icono~/atoms, no HTML nativobind:value con spread condicional (si aplica)gap-* que contenido realtext-left, footer justify-end, secundario outlinereferences/agents/anti-pattern.md — Tailwind anti-patternsreferences/agents/dry-atoms.md — DRY + Qwik serializationreferences/agents/layout-enforcer.md — Layout macroreferences/agents/organism.md — Organismos (cards, modales, tablas)references/agents/atom-enforcer.md — Átomos detalladosreferences/agents/motion-feedback.md — Transiciones y estadosreferences/agents/a11y-enterprise.md — Accesibilidad WCAGreferences/rules/qwik-serialization.mdreferences/rules/tailwind-tokens.mdreferences/rules/border-consistency.mdreferences/rules/height-consistency.mdreferences/rules/spacing-grid.mdreferences/rules/seamless-design.mdreferences/patterns/button-atom.md — Patrón Buttonreferences/patterns/input-atom.md — Patrón Inputreferences/patterns/modal-organism.md — Patrón Modal Vercel-stylereferences/patterns/card-organism.md — Patrón Card Seamlessreferences/patterns/typography-docs.md — Tipografía en documentaciónreferences/patterns/toc-sidebar.md — TOC/Sidebar navigationreferences/patterns/color-semantic.md — Color semántico en banners## Resumen de Cambios
### Archivo: src/components/user-card.tsx
- [ALTO] Reemplazado <button> nativo por <Button>
- [MEDIO] Cambiado gap-2.5 → gap-4
- [ALTO] Añadido aria-label en icon-only button
### Archivo: src/components/user-list.tsx
- [CRÍTICO] Fix: bind:value usa spread condicional
- [ALTO] Añadido h-9 a Input en toolbar
## Checklist de Cierre
✅ Todos los items marcados
Expert in Clean Architecture + Domain-Driven Design (DDD). Enforces strict separation of layers: Domain, Application, Infrastructure, Interface. No over-engineering - only essential patterns. Every file must start with a layer documentation comment.
Dead code and legacy pattern detector for any codebase. Identifies unused exports, unreachable code, zombie routes, unused dependencies, deprecated APIs, outdated idioms, and technical debt accumulation. Produces a severity-ranked cleanup report with safe removal recommendations.
Performance bottleneck detector for any codebase. Scans backend, frontend, database, and connection layers for N+1 queries, blocking I/O, missing indexes, render thrashing, bundle bloat, pool exhaustion, Big-O complexity issues, and over-engineering anti-patterns. Produces a severity-ranked audit report with actionable quick wins.
Trigger: security audit, codebase review, technical debt assessment, architecture analysis. Comprehensive audit of any codebase detecting frameworks, languages, architecture patterns, and pain points with pros/cons tables.
Trigger: scan design system, detect CSS architecture, analyze frontend tokens, detect Tailwind, BEM, Atomic Design. Scan projects for design system patterns, component trees, and branding tokens.
Git diff security and risk auditor. Evaluates ONLY changed code (staged, commit range, or patch file). Detects security leaks, data-loss dangers, and dependency risks. Outputs structured YAML. Blocks critical/high findings with mandatory fix actions.