Design UI/UX pour Documents de Conception

VérifiéSûr

Rédigez la section UI/UX d'un document de conception en définissant la mise en page, le comportement réactif, les interactions et l'accessibilité. Couvre la structure spatiale, les points d'arrêt réactifs, les modèles d'interaction et les exigences WCAG.

Spar Skills Guide Bot
DeveloppementIntermédiaire
2002/06/2026
Claude Code
#ui-ux#accessibility#responsive-design#interaction-design

Recommandé pour

Notre avis

Ce guide permet de rédiger la section UI/UX d'un document de conception SDD en suivant des étapes structurées : analyse des exigences, disposition, responsive, interactions, accessibilité, hiérarchie visuelle et états de chargement.

Points forts

  • Couverture complète des aspects UX (interactions, accessibilité, responsive).
  • Approche méthodique avec tableaux et checklist pour éviter les oublis.
  • Intégration des références croisées (@derives) avec les exigences.

Limites

  • Nécessite une connaissance préalable du framework SDD et des exigences déjà définies.
  • Ne couvre pas l'implémentation (front-end) ni les tests utilisateurs.
  • Peut être trop procédural pour des designs très créatifs.
Quand l'utiliser

Utilisez ce guide lorsque vous devez rédiger la section UI/UX d'un document de conception SDD, en partant des exigences déjà validées.

Quand l'éviter

Ne l'utilisez pas pour créer un prototype interactif ou pour des décisions de conception en amont sans exigences claires.

Analyse de sécurité

Sûr
Score qualité90/100

The skill is a design document guideline for writing a UI/UX section. It does not execute any commands, use any system tools, or involve any destructive/exfiltrating activities. No risky actions are prescribed.

Aucun point d'attention détecté

Exemples

Design UI/UX for user authentication
Design the UI/UX section for the user authentication feature. Requirements: REQ-AUTH-01: user must be able to log in with email/password; REQ-AUTH-02: password recovery via email; REQ-AUTH-03: session timeout after 30 minutes.
Responsive layout for dashboard
Write the UI/UX design for a dashboard with charts and a sidebar. Desktop breakpoint 1200px, tablet 768-1199px, mobile <768px. Include accessibility and loading states.

name: sdd-design-uiux description: | Design layout, responsive behavior, interactions, and accessibility. Use when: sdd-design assigns UI/UX Design section. Triggers: "design layout", "responsive design", "accessibility", "interaction design"

SDD Design UI/UX

Write the UI/UX Design section of a design document.

Scope

| Responsible For | Not Responsible For | |-----------------|---------------------| | Layout structure | Component hierarchy (→ frontend) | | Responsive breakpoints | State management (→ frontend) | | Interaction patterns | Data flow (→ frontend) | | Accessibility (a11y) | Security validation (→ security) | | Visual hierarchy | Bundle size (→ perf) | | Loading states design | Loading implementation (→ frontend) |

Cross-Cutting Roles

Note: Cross-cutting concerns are an extension to sdd-guidelines for specialist coordination. See sdd-design for full mapping.

UI/UX is:

  • Primary owner: Accessibility, Loading states
  • Reviewer for: Error handling (owned by frontend)

Instructions

Step 1: Read Context

  1. Design skeleton (from sdd-design)
  2. All REQs in your section's @derives
  3. Foundation anchors (especially SCOPE-*, CONSTRAINT-*, audience)

Step 2: Analyze Requirements

For each assigned REQ, extract UI/UX implications:

| REQ | User Goal | UX Elements Needed | |-----|-----------|-------------------| | | | |

Tip: Focus on user goals and experience, not implementation.

Step 3: Design Layout Structure

Define spatial organization:

┌─────────────────────────────────┐
│           {Region}              │
├─────────────┬───────────────────┤
│  {Region}   │    {Region}       │
│             │                   │
└─────────────┴───────────────────┘

Principles:

  • Content hierarchy reflects user priorities
  • Related elements grouped
  • Primary actions prominent

Document layout decisions with @derives linking to REQ.

Step 4: Define Responsive Strategy

Based on REQ viewport requirements:

| Breakpoint | Width | Layout Changes | Rationale | |------------|-------|----------------|-----------| | Desktop | ≥{X}px | | REQ says "..." | | Tablet | {X}-{Y}px | | REQ says "..." | | Mobile | <{X}px | | REQ says "..." |

Decision points:

  • Adaptive (different layouts) vs Responsive (fluid)?
  • What collapses/hides at each breakpoint?
  • Touch targets for mobile?

Step 5: Design Interaction Patterns

For each user action in REQs:

| Action | Trigger | Feedback | Duration | @derives | |--------|---------|----------|----------|----------| | | | | | REQ-XXX |

Feedback types:

  • Immediate: button states, hover
  • Progress: loading, spinners
  • Completion: success/error states

Step 6: Design Accessibility

Map REQ features to a11y requirements:

| Feature | Keyboard | Screen Reader | Visual | |---------|----------|---------------|--------| | {from REQ} | Tab order, shortcuts | ARIA labels, announcements | Focus, contrast |

WCAG checklist:

  • [ ] All interactive elements keyboard accessible
  • [ ] Focus visible and logical
  • [ ] Color not sole indicator
  • [ ] Text contrast ≥4.5:1

Step 7: Define Visual Hierarchy

Prioritize content per REQs:

  1. Primary: {what REQ emphasizes most}
  2. Secondary: {supporting content}
  3. Tertiary: {optional/advanced}

If REQ doesn't specify priority:

  • User's primary task → Primary
  • Supporting info → Secondary
  • Edge cases/advanced features → Tertiary

Document with @derives linking to REQ.

Step 8: Design Loading States

For async operations in REQs:

| Operation | Skeleton/Spinner | Placement | @derives | |-----------|------------------|-----------|----------| | | | | REQ-XXX |

Step 9: Write Section

## UI/UX Design

@derives: {REQ-IDs}

### Layout Structure
### Responsive Breakpoints
### Interaction Patterns
### Accessibility
### Visual Hierarchy
### Loading States

**Status:** draft

Step 10: Add Decisions

For non-obvious choices:

| ID | Decision | Rationale | Owner |
|----|----------|-----------|-------|
| DEC-00x | {what} | {why — connect to REQ} | uiux |

Step 11: Handoff

Per sdd-guidelines §4.3 and §10.6.

1. Update Section Status

**Status:** verified

2. Update State File

# .sdd/state.yaml
documents:
  design:
    sections:
      uiux: verified

3. Create Handoff Record

# .sdd/handoffs/{timestamp}-uiux.yaml
from: sdd-design-uiux
to: sdd-design
timestamp: {ISO-8601}

completed:
  - design.uiux: verified

in_progress: []

blocked: []

gaps: []

next_steps:
  - sdd-design-frontend: Review accessibility  verify components support a11y props
  - sdd-design-perf: Review loading states for performance impact

4. Cross-Cutting Status

| Concern | Primary | Reviewer | Status | |---------|---------|----------|--------| | Accessibility | uiux | frontend | ready-for-review | | Loading states | uiux | perf | ready-for-review |

@derives Judgment

A layout/interaction @derives from a REQ when:

| Criterion | Example | |-----------|---------| | Directly addresses REQ's UX need | Responsive layout → REQ's "works on mobile" | | Enables REQ's user action | Interaction pattern → REQ's "user can toggle" | | Satisfies REQ's constraint | Breakpoints → REQ's viewport requirements |

NOT @derives:

  • Generic UX best practices not tied to REQ
  • Aesthetic choices without REQ basis

Verification

  • [ ] All assigned REQs have @derives coverage
  • [ ] Layout supports all REQ features
  • [ ] Breakpoints match REQ viewport requirements
  • [ ] Interactions defined for all user actions in REQs
  • [ ] Accessibility covers all interactive elements
  • [ ] Loading states for all async operations
  • [ ] Decisions logged with rationale
  • [ ] Cross-cutting items flagged for reviewers

References

| File | Content | |------|---------| | reference/responsive-strategy.md | REQ-based responsive decisions | | reference/a11y-checklist.md | Accessibility verification for SDD |

Examples

| File | Content | |------|---------| | examples/react-sample.md | Complete example for react-sample package |

Skills similaires