← Back to list

web-design-standards
by yennanliu
Source code of my personnel site : projects / intro / contacts | built by JS, HTML, CSS
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: web-design-standards description: Provides guidance on HTML/CSS best practices for responsive web design, Bootstrap integration, accessibility, and performance optimization. Use when building web pages, styling components, or improving web design quality. allowed-tools: Read, Grep, Glob
Web Design Standards
Bootstrap 4.5.2 Integration
- Use Bootstrap grid system for responsive layouts
- Leverage Bootstrap components (navbar, cards, buttons) before custom styling
- CSS variables for consistent theming (primary/secondary colors, light/dark modes)
Responsive Design Principles
- Mobile-first approach
- Test at breakpoints: 320px, 768px, 1024px, 1366px
- Use flexbox for layouts
- Ensure touch-friendly targets (min 44px)
Accessibility Standards
- Semantic HTML5 elements (header, nav, main, footer, section, article)
- ARIA labels for screen readers
- Color contrast ratios: WCAG AA (4.5:1 for text)
- Keyboard navigation support
Performance Optimization
- Lazy load images with loading="lazy"
- Minify CSS and JavaScript
- Use CSS variables to reduce duplication
- Optimize image sizes (WebP format when possible)
CSS Architecture
- Use CSS variables in :root for theming
- Organize CSS: layout, components, utilities
- Avoid inline styles
- Use meaningful class names (BEM or similar)
Form Design
- Label all inputs
- Clear error messages
- Success feedback
- Mobile-friendly input types (email, tel, number)
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

