nw-ab-critique-dimensi…
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Web UI design patterns for product owners. Load when designing web application interfaces, writing web-specific acceptance criteria, or evaluating responsive designs.
$ npx -y skills add nWave-ai/nWave --skill nw-ux-web-patterns --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nw-ux-web-patternsContext preview
The summary Claude sees to decide when to auto-load this skill.
Web UI design patterns for product owners. Load when designing web application interfaces, writing web-specific acceptance criteria, or evaluating responsive designs.
name: nw-ux-web-patterns description: Web UI design patterns for product owners. Load when designing web application interfaces, writing web-specific acceptance criteria, or evaluating responsive designs. user-invocable: false disable-model-invocation: true
Actionable web interface patterns for requirements gathering and design review. Use when the target platform is web (browser-based applications).
| Pattern | When to Use | When to Avoid | |---------|-------------|---------------| | **Top navigation bar** | 5-7 primary sections, marketing/content sites | Deep hierarchies with 20+ sections | | **Side navigation** | Complex apps with many sections, admin dashboards | Simple sites with few pages | | **Breadcrumbs** | Deep hierarchies, e-commerce categories | Flat site structures | | **Command palette** (Cmd+K) | Power user tools, developer-facing apps | Consumer apps targeting non-technical users | | **Tab bar** (mobile) | 3-5 primary destinations | More than 5 destinations | | **Hamburger menu** | Secondary navigation, mobile space constraints | Primary navigation users need frequently | | **Mega menu** | Large sites with categorized content | Simple sites, mobile interfaces |
**Navigation must answer three questions**: Where am I? Where can I go? How do I get back?
Key principles: consistent placement across all pages | highlight current location | limit primary nav to 5-7 items (Hick's Law) | provide search as alternative for content-heavy apps
1. What went wrong (plain language) | 2. Where the error is (highlight field) | 3. How to fix it (specific guidance, not "invalid input")
| Pattern | Best For | Key Considerations | |---------|----------|-------------------| | **Tables** | Structured data with multiple attributes, comparison | Sortable columns, fixed headers, responsive collapse | | **Cards** | Browsable collections with images/summaries | Consistent sizes, clear click targets, max 3-4 per row | | **Lists** | Sequential items, search results, feeds | Clear boundaries, scannable titles, secondary info on right | | **Dashboards** | KPI monitoring, status overviews | Important metrics top-left, max 7 widgets, allow customization |
Design mobile layout first, then enhance for larger screens. Ensures core content and functionality are prioritized.
360-480px: Mobile | 768px: Tablet | 1024-1280px: Small desktop | 1440px+: Large desktop
| Component | Use For | Anti-pattern | |-----------|---------|-------------| | **Modal dialog** | Decisions requiring immediate attention; blocks until resolved | Information not requiring action; stacking modals | | **Toast/snackbar** | Non-critical confirmation ("Item saved") | Critical errors or info users must not miss | | **Drawer/sheet** | Supplementary content or filters alongside main view | Primary content or complex multi-step forms | | **Popover/tooltip** | Contextual help or previews on hover/focus | Critical info or complex interactions | | **Command palette** | Quick action access via keyboard | Only navigation method (need visual alternatives) |
Showing cause and effect (button press ripple) | Guiding attention to changes (new item slides in) | Providing feedback (spinners, progress bars) | Explaining spatial relationships (drawer slides from side) | Maintaining context during transitions (shared element transitions)
Decorative animations with no function | Animations delaying task completion | Rapid/large-scale motion (respect `prefers-reduced-motion`) | Looping animations that cannot be paused
**Duration guidelines**: 100-200ms for simple state changes | 200-500ms for complex transitions | never exceed 500ms for functional animations
| Situation | Recommendation | |-----------|---------------| | Internal tools, admin dashboards | Use existing system (Material UI, Ant Design, Radix) | | Consumer product with strong brand | Custom system on headless library (Radix, Headless UI) | | MVP or prototype | Use existing system; customize later | | Platform with strict brand guidelines | Custom system, adopt token architecture from established systems |
**Established systems to evaluate**: Material Design (Google) | Fluent Design (Microsoft) | Carbon (IBM) | Polaris (Shopify) | Primer (GitHub) | Lightning (Salesforce)
AI agents that guide you from idea to working code, with human judgment at every gate. nWave runs inside Claude Code. It breaks feature delivery into seven waves (discover, diverge, discuss, design, devops, distill, deliver).
Repo: nWave-ai/nWave
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton…
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance
Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating…