tucu-ui-design
Design, build and review user interfaces with @e-burgos/tucu-ui. Use when creating or restyling pages, dashboards, landing/marketing pages, sign-in and sign-up screens, forms, tables, cards, modals or empty states with tucu-ui; when choosing a layout, theme preset, glass/bold/editorial look, density (compact, comfortable, spacious) or motion level; when asking for a "polished", "modern" or "production-quality" UI; or when reviewing a screen for spacing, typography, color tokens, states, responsiveness and accessibility.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- tucu-ui-design
- description
- Design, build and review user interfaces with @e-burgos/tucu-ui. Use when creating or restyling pages, dashboards, landing/marketing pages, sign-in and sign-up screens, forms, tables, cards, modals or empty states with tucu-ui; when choosing a layout, theme preset, glass/bold/editorial look, density (compact, comfortable, spacious) or motion level; when asking for a "polished", "modern" or "production-quality" UI; or when reviewing a screen for spacing, typography, color tokens, states, responsiveness and accessibility.
02 资源文件 2
- 参考文档references/checklist.md2.2 KB
- 参考文档references/design-guide.md34.9 KB
03 SKILL.md 正文
tucu-ui design
Compose interfaces with @e-burgos/tucu-ui that look intentional: clear hierarchy, consistent spacing, token-based color, complete states, responsive and accessible. Use library components and tokens; do not hand-roll what the library already ships.
When to use
- Building or restyling any screen that uses tucu-ui.
- Choosing a layout, preset, density or motion level.
- Reviewing an existing screen before shipping.
Not for: backend work, or screens that do not use tucu-ui.
Workflow
- Read the guide. Read the
tucu://design-guideresource from the tucu-ui MCP server. If the MCP server is not connected, readreferences/design-guide.mdnext to this file (same content). - Decide the look. Pick layout, style, density and motion with the tables below. State the choices before writing code.
- Generate. Use the MCP tools
generate_pageandgenerate_component, passingstyle,motionanddensity. Usegenerate_form,generate_datatableandgenerate_chartfor those building blocks. Uselist_components,get_componentandget_propsto confirm names and props instead of guessing. - Review. Run the
design-reviewMCP prompt on the result, or walkreferences/checklist.md. Fix every blocker and major finding. - Verify in the browser. Open the page at desktop width and at 375px. Check light and dark mode, keyboard navigation, loading, empty and error states, and with
prefers-reduced-motionenabled.
Layout chooser
| Screen | Use |
|---|---|
| Authenticated app with navigation | ThemeWrapper with layout="admin" (sidebar) or "horizontal" (top nav) |
| Focused page without chrome | ThemeWrapper with layout="clean" |
| Landing, pricing, docs home | MarketingLayout (props nav, footer, mainId) |
| Sign in, sign up, reset password | SplitAuthLayout (variant="split" or "centered", brand, title, subtitle) |
| macOS-style shell | ThemeWrapper with themeStyle="macos" or "macos-tahoe" |
generate_page accepts the matching layout values, including marketing and auth.
Style to preset
style |
Preset | Surface | Use for |
|---|---|---|---|
clean |
minimal |
Solid cards | Dense tools, admin back-offices |
glass |
glass |
GlassPanel |
Showcase, media-rich or dashboard hero areas |
bold |
vibrant |
Solid, strong accent | Marketing, onboarding |
editorial |
classic |
Solid, serif headings | Content-heavy, documentation, reports |
Built-in presets also include elegant and fresh. Apply with ThemeProvider/ThemeWrapper preset="..." or scope a region with ThemeScope. Brand color comes from the preset or brandColor; never hardcode hex values in components.
Density to props
density |
Card | BasicTable | Alert | Controls |
|---|---|---|---|---|
compact |
density="compact" |
density="compact" |
density="compact" |
size="xs" on Button/Input/Select |
comfortable |
density="default" |
density="default" |
density="default" |
default sizes |
spacious |
density="comfortable" |
density="default" |
density="default" |
default sizes, larger gaps between sections |
Pick one density per screen. Tables on narrow screens stay readable through mobileCards (on by default).
Motion levels
motion |
Behavior |
|---|---|
none |
MotionConfig reducedMotion="always": no transform animation |
subtle |
Library default: ThemeWrapper provides MotionConfig reducedMotion="user", short fades and slides |
expressive |
Springs and staggered entrances, still respecting prefers-reduced-motion |
Animate only entrances, state changes and feedback. Never animate layout-critical content on every render. ThemeWrapper accepts motion={{ reducedMotion: 'user' | 'always' | 'never' }}.
Composition rules
- One primary action per view. Secondary actions use quieter button variants.
- Page title, short description and primary action form the header; content below in
Cards orGlassPanels with consistent gaps. - Group related fields; label every control; show validation next to the field. Build forms with
generate_formand the library form components. - Metrics use
StatCard; status usesStateBadge; tabular data usesBasicTableor DataTable (generate_datatable). - Every data view has loading (
Skeleton), empty (EmptyState) and error (ErrorState) states. - Overlays use
Modal,DrawerorConfirmDialog; they render inside the theme scope automatically. - User-visible strings come from your app's i18n; library defaults follow the
langprop.
Anti-patterns
- Hardcoded colors, pixel spacing or
dark:pairs when a token or semantic utility exists. - Mixing densities or radii on one screen.
- Several competing primary buttons.
- Nested cards and decorative gradients behind data.
- Icon-only buttons without an accessible name.
- Tables that overflow the viewport at 375px.
- Missing empty, loading or error states.
- Animation that ignores
prefers-reduced-motion. - Reimplementing a component the library already provides.
- Using
document.bodyfor portals instead of the library overlay components.
Review checklist
The short form is in references/checklist.md. Severities: blocker (broken a11y, unreadable, crash states), major (inconsistent tokens/spacing, missing states, overflow at 375px), minor (polish).
04 同仓库更多 Skills
video-producer
Productor de video conversacional del Video Maker Studio. Parte de un prompt del usuario y del material que haya en `media/<slug>/raw/` (videos, fotos, pantallas grabadas, locución, música, guion, o nada), acuerda con el usuario qué video hacer y lo produce con las herramientas ya implementadas (guion, voz Piper, montaje, captions, mezcla, render), buscando medios libres solo cuando el usuario lo pide o no hay material. Invocar con `/video-producer media/<slug>` o cuando el usuario pida "armá/generá un video" sobre un proyecto.
tucu-ui-pro
Usar siempre que un frontend React/Next use (o vaya a usar) @e-burgos/tucu-ui — montarlo en Vite, Next 16 o una app con Tailwind propio, elegir ThemeProvider/layout/preset, tematizar con customPaletteColor y tokens --tucu-*, elegir el componente correcto con sus props válidos y esquivar las trampas que rompen en runtime, con o sin el MCP tucu-ui conectado.
setup-graphify
Instala y configura graphify (grafo de conocimiento del repo) para un dev que lo quiera usar. Elige un backend gratuito, valida el modelo con una medición real y construye el primer grafo. Invocar solo si el dev pide habilitar graphify.
sdd-steward
Conserje del kit SDD - puerta de entrada para status del harness, actualización de la librería, arranque de ideas, costos y salud de los arneses. Clasifica cualquier pedido con la tabla de ruteo, ejecuta solo lo que no tiene otro dueño y delega el resto sin bypassear gates. Invocar ante cualquier pregunta u operación sobre el kit en sí.
sdd-reviewer
Skill del Agente Reviewer SDD. Valida la calidad de todo el output del ciclo y ejecuta los gates de cierre. Invocar cuando todas las tasks de implementación del ciclo estén completas.
sdd-planner
Skill del Agente Planner SDD. Convierte historias de usuario en tasks técnicas ordenadas y estimadas. Invocar después del Funcional, en paralelo con el Arquitecto.