skills/ui-ux-designer/SKILL.md
# UI/UX Designer A skill that helps design beautiful, accessible UI components following the established design system. ## Trigger Phrases This skill activates when the user wants to design UI components: - "design a component" - "create a button/card/form" - "make this look better" - "design UI for" - "help me design" - "build a UI component" ## Instructions When this skill is invoked, follow these steps to create beautiful, accessible UI components: ### Step 1: Understand the Component R
npx skillsauth add meraj-uddin-malik/portfolio-built-with-claudeai skills/ui-ux-designerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A skill that helps design beautiful, accessible UI components following the established design system.
This skill activates when the user wants to design UI components:
When this skill is invoked, follow these steps to create beautiful, accessible UI components:
Ask the user (if not already specified):
Always reference the design system from CLAUDE.md:
--color-primary-500 for main actions and links--color-secondary-500 for accents and secondary actions--bg-primary, --bg-secondary, --text-primary, --text-secondary--color-success, --color-error, --color-warning, --color-info for feedback--space-2 to --space-4 (8-16px)--space-4 to --space-6 (16-32px)--space-8 to --space-12 (48-128px)--text-xl to --text-5xl with --font-semibold or --font-bold--text-base to --text-lg with --font-normal--text-sm or --text-xs--leading-normal for body, --leading-tight for headingsEnsure all components meet accessibility standards:
:focus states with visible focus indicatorsaria-label, aria-labelledby, or aria-describedby<button>, <nav>, <form>, etc.)Create semantic, clean HTML:
<!-- Use semantic elements -->
<!-- Include ARIA labels where appropriate -->
<!-- Structure content logically -->
<!-- Add meaningful class names (BEM convention preferred) -->
Create styles using the design system:
/* Use CSS custom properties */
/* Follow the spacing scale */
/* Add smooth transitions */
/* Include hover/focus/active states */
/* Support dark mode with [data-theme="dark"] */
If the component requires JavaScript:
// Use vanilla JavaScript
// Add event listeners
// Handle state changes
// Store preferences in localStorage if needed
<button class="btn btn-primary">
Click Me
</button>
.btn {
padding: var(--space-3) var(--space-6);
font-size: var(--text-base);
font-weight: var(--font-medium);
border-radius: 0.5rem;
border: none;
cursor: pointer;
transition: all 0.2s ease;
}
.btn:focus {
outline: 2px solid var(--color-primary-500);
outline-offset: 2px;
}
.btn-primary {
background: var(--color-primary-500);
color: white;
}
.btn-primary:hover {
background: var(--color-primary-600);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}
.btn-primary:active {
transform: translateY(0);
}
<article class="card">
<img src="image.jpg" alt="Descriptive alt text" class="card-image">
<div class="card-content">
<h3 class="card-title">Card Title</h3>
<p class="card-description">Card description text goes here.</p>
<div class="card-tags">
<span class="badge">Tag 1</span>
<span class="badge">Tag 2</span>
</div>
</div>
</article>
.card {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 1rem;
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .card:hover {
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.card-image {
width: 100%;
height: 200px;
object-fit: cover;
}
.card-content {
padding: var(--space-5);
}
.card-title {
font-size: var(--text-xl);
font-weight: var(--font-semibold);
margin-bottom: var(--space-3);
color: var(--text-primary);
}
.card-description {
font-size: var(--text-base);
color: var(--text-secondary);
line-height: var(--leading-relaxed);
margin-bottom: var(--space-4);
}
.card-tags {
display: flex;
gap: var(--space-2);
flex-wrap: wrap;
}
<div class="form-group">
<label for="email" class="form-label">Email Address</label>
<input
type="email"
id="email"
class="form-input"
placeholder="[email protected]"
aria-describedby="email-hint"
required
>
<span id="email-hint" class="form-hint">We'll never share your email.</span>
</div>
.form-group {
margin-bottom: var(--space-5);
}
.form-label {
display: block;
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: var(--space-2);
}
.form-input {
width: 100%;
padding: var(--space-3) var(--space-4);
font-size: var(--text-base);
background: var(--bg-primary);
border: 2px solid var(--border-color);
border-radius: 0.5rem;
color: var(--text-primary);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
outline: none;
border-color: var(--color-primary-500);
box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.form-input::placeholder {
color: var(--text-tertiary);
}
.form-hint {
display: block;
font-size: var(--text-xs);
color: var(--text-tertiary);
margin-top: var(--space-2);
}
<nav class="nav" role="navigation" aria-label="Main navigation">
<a href="#home" class="nav-link">Home</a>
<a href="#projects" class="nav-link">Projects</a>
<a href="#about" class="nav-link">About</a>
<a href="#contact" class="nav-link">Contact</a>
<button class="theme-toggle" aria-label="Toggle dark mode">
<span class="icon">🌙</span>
</button>
</nav>
.nav {
display: flex;
gap: var(--space-6);
align-items: center;
padding: var(--space-4) var(--space-6);
}
.nav-link {
font-size: var(--text-base);
font-weight: var(--font-medium);
color: var(--text-secondary);
text-decoration: none;
transition: color 0.2s ease;
position: relative;
}
.nav-link:hover {
color: var(--text-primary);
}
.nav-link:focus {
outline: 2px solid var(--color-primary-500);
outline-offset: 4px;
border-radius: 4px;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--color-primary-500);
transition: width 0.2s ease;
}
.nav-link:hover::after {
width: 100%;
}
.theme-toggle {
background: var(--bg-secondary);
border: 2px solid var(--border-color);
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
transition: all 0.2s ease;
}
.theme-toggle:hover {
transform: scale(1.1);
border-color: var(--color-primary-500);
}
<div class="modal" role="dialog" aria-labelledby="modal-title" aria-modal="true">
<div class="modal-overlay"></div>
<div class="modal-content">
<button class="modal-close" aria-label="Close modal">
×
</button>
<h2 id="modal-title" class="modal-title">Modal Title</h2>
<p class="modal-body">Modal content goes here.</p>
<div class="modal-actions">
<button class="btn btn-primary">Confirm</button>
<button class="btn btn-outline">Cancel</button>
</div>
</div>
</div>
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.modal.active {
opacity: 1;
pointer-events: auto;
}
.modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
.modal-content {
position: relative;
background: var(--bg-primary);
border-radius: 1rem;
padding: var(--space-6);
max-width: 500px;
width: 90%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
transform: scale(0.9);
transition: transform 0.3s ease;
}
.modal.active .modal-content {
transform: scale(1);
}
.modal-close {
position: absolute;
top: var(--space-4);
right: var(--space-4);
background: none;
border: none;
font-size: var(--text-2xl);
color: var(--text-secondary);
cursor: pointer;
line-height: 1;
}
.modal-title {
font-size: var(--text-2xl);
font-weight: var(--font-bold);
margin-bottom: var(--space-4);
color: var(--text-primary);
}
.modal-actions {
display: flex;
gap: var(--space-3);
justify-content: flex-end;
margin-top: var(--space-6);
}
.card__title--large)min-width media queriesUse these breakpoints for responsive design:
/* Mobile: default styles */
/* Tablet */
@media (min-width: 768px) {
/* Tablet styles */
}
/* Desktop */
@media (min-width: 1024px) {
/* Desktop styles */
}
/* Large Desktop */
@media (min-width: 1440px) {
/* Large desktop styles */
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fade-in {
animation: fadeIn 0.3s ease-out;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.slide-up {
animation: slideUp 0.4s ease-out;
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
.scale-in {
animation: scaleIn 0.3s ease-out;
}
tools
# Skill Creator A meta-skill that helps you create new skills for your portfolio website project. ## Trigger Phrases This skill activates when the user wants to create a new skill: - "create a new skill" - "make a skill" - "generate a skill" - "help me create a skill" - "add a new skill" ## Instructions When this skill is invoked, follow these steps to help the user create a new skill: ### Step 1: Gather Skill Information Use the AskUserQuestion tool to gather the following information:
development
# SEO Optimization A skill that helps optimize the portfolio website for search engines, ensuring better visibility, ranking, and performance. ## Trigger Phrases This skill activates when the user wants to optimize for SEO: - "optimize SEO" - "add meta tags" - "improve search ranking" - "check SEO" - "make it SEO friendly" - "optimize for Google" ## Instructions When this skill is invoked, follow these steps to optimize the portfolio website for search engines: ### Step 1: Audit Current SE
development
# Playwright Testing A skill that uses the browsing-with-playwright skill to visually test the portfolio website, take screenshots, check responsive design, and verify UI across different devices and viewports. ## Trigger Phrases This skill activates when the user wants to test the website visually: - "test the website" - "take screenshots" - "check responsive design" - "test on mobile/desktop" - "test responsive layout" - "visual regression test" - "check UI on different devices" ## Instruc
development
# Accessibility Checker A skill that audits and improves web accessibility (a11y) to ensure the portfolio website is usable by everyone, including people with disabilities. ## Trigger Phrases This skill activates when the user wants to check or improve accessibility: - "check accessibility" - "audit a11y" - "fix accessibility issues" - "make it accessible" - "accessibility audit" - "check WCAG compliance" ## Instructions When this skill is invoked, perform a comprehensive accessibility audi