web-design-guidelines
Web Design Guidelines
Comprehensive web design and accessibility guide for modern web applications. Contains 4 rules covering styling, animations, accessibility, and color contrast to ensure high-quality user experiences.
When to Apply
Reference these guidelines when:
- Creating new UI components or pages
- Reviewing code for design and accessibility issues
- Refactoring existing components for better UX
- Implementing animations and transitions
- Ensuring proper color contrast and accessibility
- Choosing between styling approaches
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 0 | Styling | HIGH | styling- |
| 1 | Accessibility | CRITICAL | accessibility- |
| 4 | Color | MEDIUM-HIGH | color- |
| 8 | Animation & Motion | LOW-MEDIUM | animation- |
Quick Reference
0. Styling (HIGH)
styling-prefer-tailwind- Use Tailwind CSS utility classes over custom CSS
1. Accessibility (CRITICAL)
accessibility-alt-text- Provide descriptive alt text for all images
4. Color (MEDIUM-HIGH)
color-contrast- Ensure WCAG AA contrast ratios (4.5:1 for text, 3:1 for UI)
8. Animation & Motion (LOW-MEDIUM)
animation-framer-motion-or-css- Use Framer Motion for complex animations, CSS for simple ones
How to Use
Read individual rule files for detailed explanations and code examples:
rules/accessibility-alt-text.md
rules/animation-framer-motion-or-css.md
rules/color-contrast.md
rules/styling-prefer-tailwind.md
Each rule file contains:
- Brief explanation of why it matters
- Incorrect code example with explanation
- Correct code examples with framework-specific alternatives
- Additional context and references
Full Compiled Document
For the complete guide with all rules expanded: AGENTS.md
More from boostbrothers/agent-skills
vercel-react-best-practices
React, React Native, and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/React Native/Next.js code to ensure optimal performance patterns. Includes framework-specific solutions (Next.js, Vite, CRA) and library alternatives (SWR vs React Query, Jotai). Triggers on tasks involving React components, Next.js pages, React Native apps, data fetching, bundle optimization, or performance improvements.
13vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with
10vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use
8expo-crypto-dpop
RFC 9449 DPoP authentication crypto module for EC P-256 key generation, DPoP proof JWT creation, and secure token binding. Use when working with DPoP, dpop proof, RFC 9449, token binding, OAuth, or expo-crypto-dpop.
1prd-workflow
PRD generation and acceptance test workflow for product development. Use when creating PRDs from JIRA/Confluence/Figma data, generating UI/UX acceptance test checklists, or uploading test documents to Confluence.
1react-native-naver-map
Naver Map SDK React Native wrapper for rendering maps with overlays, markers, clustering, camera control, and location tracking. Use when working with 네이버 지도, naver map, map overlay, marker clustering, path overlay, or NaverMapView.
1