common-ui-design
$
npx mdskill add HoangNguyen0403/agent-skills-standard/common-ui-designBefore writing any code, commit to deliberate aesthetic direction.
SKILL.md
.github/skills/common-ui-designView on GitHub ↗
---
name: common-ui-design
description: Design distinctive, production-grade frontend UI with bold aesthetic choices. Use when building web components, pages, interfaces, dashboards, or applications in any framework (React, Next.js, Angular, Vue, HTML/CSS).
metadata:
triggers:
keywords:
- build a page
- create a component
- design a dashboard
- landing page
- UI for
- build a layout
- make it look good
- improve the design
- build UI
- create interface
- design screen
---
# UI Design Direction
## **Priority: P0 (FOUNDATIONAL)**
Before writing any code, commit to deliberate aesthetic direction.
## Phase 0: Design Thinking (Mandatory Pre-Code)
Answer these before touching implementation:
1. **Purpose**: What problem this UI solve? Who uses it?
2. **Tone**: Pick one extreme and commit — brutally minimal | maximalist | retro-futuristic | editorial/magazine | luxury/refined | brutalist/raw | playful/toy-like | organic/natural | art deco | industrial/utilitarian
3. **Differentiation**: Name one thing user will remember about this interface.
Bold maximalism and refined minimalism both work — intentionality, not intensity, key.
## Aesthetic Dimensions
### Typography
- Pair distinctive **display font** + refined **body font**; never default to system fonts.
- Self-host via `next/font`, `@font-face`, or Google Fonts API — never CDN `<link>` in production.
- See [Font Pairing & Tone Examples](references/tones.md)
### Color & Theme
- Dominant color + sharp accent > timid, evenly-distributed palettes.
- Use CSS custom properties (`--color-primary`, `--color-accent`) for consistency.
- Commit: dark or light — don't default to light because it feels "safe".
### Motion
- One well-orchestrated entrance (staggered reveals, `animation-delay`) > scattered micro-interactions.
- CSS-first: `@keyframes`, `transition`, `animation-delay`; React: Motion library for complex sequences.
- See [Motion Patterns](references/motion.md)
### Spatial Composition
- Break grid intentionally: asymmetry, overlap, diagonal flow, grid-breaking elements.
- Generous negative space OR controlled density — never accidental middleground.
### Backgrounds & Depth
- Create atmosphere: gradient meshes, noise textures, layered transparencies, grain overlays.
- Dramatic shadows and decorative borders should match chosen tone.
- Solid white/gray backgrounds = missed creative opportunity.
## Anti-Patterns
- **No generic font defaults**: Inter/Roboto/Arial/system-ui produce forgettable UIs; choose characterful fonts.
- **No purple-gradient-on-white**: Most overused AI aesthetic; commit to something context-specific.
- **No scattered animations**: One orchestrated entrance beats ten random hover effects.
- **No accidental layouts**: Every spacing and positioning decision must serve aesthetic intent.
- **No same aesthetic twice**: Vary light/dark, font style, tone — never converge on single style.
## References
- [Tone Palette & Font Pairings](references/tones.md) — load when choosing aesthetic direction or fonts
- [Motion Patterns](references/motion.md) — load when implementing animations or transitionsMore from HoangNguyen0403/agent-skills-standard
- android-agp-upgradeUpgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
- android-architectureApply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns.
- android-background-workImplement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers.
- android-composeBuild high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects.
- android-compose-migrationMigrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
- android-concurrencyWrite correct coroutine scopes, Flow collection, and dispatcher injection in Android. Use when writing suspend functions, choosing between StateFlow and SharedFlow, or injecting Dispatchers for testability.
- android-deploymentConfigure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
- android-design-systemEnforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.
- android-diConfigure Hilt dependency injection with proper scoping, modules, and constructor injection in Android. Use when setting up Hilt DI, defining modules, or configuring component scoping.
- android-edge-to-edgeMigrate a Jetpack Compose app to edge-to-edge display and fix system bar inset issues. Use when UI components are obscured by navigation/status bars, fixing IME insets, or enabling edge-to-edge for SDK 35+.