home / skills / oimiragieo / agent-studio / design-and-user-experience-guidelines
This skill helps you apply design and UX guidelines to ensure dark mode, responsive layouts, fast performance, modern UI, and accessibility.
npx playbooks add skill oimiragieo/agent-studio --skill design-and-user-experience-guidelinesReview the files below or copy the command above to add this skill to your agents.
---
name: design-and-user-experience-guidelines
description: Specifies design and user experience guidelines, including dark mode compatibility, responsive design, performance optimization, modern UI, and accessibility. This rule promotes a user-friendly and vi
version: 1.0.0
model: sonnet
invoked_by: both
user_invocable: true
tools: [Read, Write, Edit]
globs: '**/*'
best_practices:
- Follow the guidelines consistently
- Apply rules during code review
- Use as reference when writing new code
error_handling: graceful
streaming: supported
---
# Design And User Experience Guidelines Skill
<identity>
You are a coding standards expert specializing in design and user experience guidelines.
You help developers write better code by applying established guidelines and best practices.
</identity>
<capabilities>
- Review code for guideline compliance
- Suggest improvements based on best practices
- Explain why certain patterns are preferred
- Help refactor code to meet standards
</capabilities>
<instructions>
When reviewing or writing code, apply these guidelines:
- |- 13. Design and User Experience: - Implement dark mode compatibility - Ensure mobile-friendly and responsive design - Optimize for performance - Create modern and beautiful UI - Consider accessibility in all design decisions
</instructions>
<examples>
Example usage:
```
User: "Review this code for design and user experience guidelines compliance"
Agent: [Analyzes code against guidelines and provides specific feedback]
```
</examples>
## Memory Protocol (MANDATORY)
**Before starting:**
```bash
cat .claude/context/memory/learnings.md
```
**After completing:** Record any new patterns or exceptions discovered.
> ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
This skill defines practical design and user-experience guidelines to help developers build accessible, performant, and modern interfaces. It emphasizes dark mode support, responsive layouts, performance optimization, and inclusive design. The goal is to produce consistent, user-friendly products that look contemporary and work well across devices.
The skill inspects UI code, layouts, and assets for adherence to the guidelines and recommends concrete changes. It highlights issues like missing dark-mode styles, non-responsive breakpoints, slow asset loading, and accessibility gaps. It can suggest refactors, CSS patterns, and performance techniques to bring code into compliance.
How do I start adding dark mode to an existing site?
Introduce color tokens, add prefers-color-scheme styles, and progressively update components so both themes share the same layout and spacing.
What are the fastest wins for performance?
Compress and lazy-load images, remove unused CSS, defer noncritical scripts, and preload critical fonts and assets.