Guiding users

From ancoleman/ai-design-components · View interactive version

Guiding users is an AI agent skill from the GitHub repository ancoleman/ai-design-components. Implements onboarding and help systems including product tours, interactive tutorials, tooltips, checklists, help panels, and progressive disclosure patterns. Use when building first-time experiences, feature discovery, guided walkthroughs, contextual help, setup flows, or user activation features.

How to use this skill

Skill file

Guiding Users Through Onboarding and Help Systems

Purpose

This skill provides systematic patterns for onboarding users and delivering contextual help, from first-time product tours to ongoing feature discovery. It covers the complete spectrum of user guidance mechanisms, ensuring optimal user activation, feature adoption, and self-service support.

When to Use

Activate this skill when:

Quick Decision Framework

Select the appropriate guidance mechanism based on user state and content type:

First-time user          → Product Tour (step-by-step)
New feature launch       → Feature Spotlight (tooltip + animation)
Complex workflow         → Interactive Tutorial (guided tasks)
Account setup            → Checklist (progress tracking)
Contextual help needed   → Tooltip/Hint system
Ongoing support          → Help Panel (sidebar/searchable)
Feature unlock           → Progressive Disclosure

Reference references/selection-framework.md for detailed selection criteria.

Core Guidance Mechanisms

Product Tours

Step-by-step walkthroughs that guide users through key features:

Implementation:

npm install react-joyride

See examples/first-time-tour.tsx for complete implementation.

Reference references/product-tours.md for patterns and best practices.

Feature Spotlights

Announce new features to existing users:

See examples/feature-spotlight.tsx for implementation.

Reference references/tooltips-hints.md for patterns.

Interactive Tutorials

Guided task completion with validation:

See examples/guided-tutorial.tsx for implementation.

Reference references/interactive-tutorials.md for patterns.

Setup Checklists

Track multi-step onboarding progress:

See examples/setup-checklist.tsx for implementation.

Reference references/checklists.md for patterns.

Contextual Tooltips and Hints

Just-in-time help when users need it:

See examples/contextual-help.tsx for implementation.

Reference references/tooltips-hints.md for complete patterns.

Help Panels

Comprehensive help systems:

See examples/help-panel.tsx for implementation.

Reference references/help-systems.md for patterns.

Timing and Triggering Strategies

When to Show Onboarding

Appropriate triggers:

When NOT to Show Onboarding

Avoid showing when:

Auto-dismiss timing:

Reference references/timing-strategies.md for detailed guidelines.

Progressive Disclosure Patterns

Show only what's needed, when it's needed:

Techniques:

  1. Accordion Help: Collapsed by default, expand for details
  2. "Learn More" Links: Deep dive content optional
  3. Advanced Settings: Hidden behind "Show advanced" toggle
  4. Gradual Feature Introduction: Unlock features as user progresses
  5. Contextual Hints: Show based on user actions

Reference references/progressive-disclosure.md for implementation patterns.

Accessibility Requirements

Keyboard Navigation

Essential keyboard support:

Screen Reader Support

ARIA patterns for announcements:

Reduced Motion

Respect prefers-reduced-motion:

To validate accessibility:

node scripts/validate_accessibility.js

Reference references/accessibility-patterns.md for complete implementation.

Library Recommendations

Primary: react-joyride (Feature-Rich, Accessible)

Library: /gilbarbara/react-joyride

Trust Score: 9.6/10

Code Snippets: 29+

Best for comprehensive product tours:

npm install react-joyride

See examples/joyride-tour.tsx for complete setup.

Alternative: driver.js (Lightweight, Modern)

Best for minimal bundle size:

npm install driver.js

Alternative: intro.js (Classic, Proven)

Best for traditional tours:

npm install intro.js

Reference references/library-comparison.md for detailed analysis and selection criteria.

Design Token Integration

All onboarding components use the design-tokens skill for consistent theming:

Token categories used:

Supports light, dark, high-contrast, and custom brand themes.

Reference the design-tokens skill for complete theming documentation.

Measuring Success

Key Metrics

Track these indicators:

Optimization Strategies

Iterate based on data:

To analyze onboarding metrics:

python scripts/analyze_onboarding_metrics.py

Reference references/measuring-success.md for complete analytics implementation.

Anti-Patterns to Avoid

Common mistakes that harm user experience:

❌ Forced Tours: Requiring tour completion before product use

❌ Too Long: Tours exceeding 7 steps lose user attention

❌ Every Session: Showing same tour repeatedly

❌ No Skip Option: Preventing users from exploring independently

❌ Wall of Text: Using lengthy explanations instead of visuals

❌ Blocking Everything: Preventing interaction during tours

❌ Premature Guidance: Showing help before users explore

❌ Poor Timing: Interrupting focused work

❌ No Context: Generic tips without specific relevance

Implementation Workflow

Step 1: Map User Journey

Identify key moments:

  1. First login and account creation
  2. Core value delivery (aha moment)
  3. Feature discovery points
  4. Potential confusion or abandonment
  5. Achievement and progress milestones

Step 2: Choose Guidance Mechanisms

Match mechanisms to moments:

Step 3: Implement with Progressive Enhancement

Build incrementally:

  1. Start with essential guidance only
  2. Add contextual help based on user behavior
  3. Implement analytics to measure effectiveness
  4. Iterate based on data
  5. A/B test variations

Step 4: Test Accessibility

Verify compliance:

Run validation:

node scripts/validate_accessibility.js

Step 5: Monitor and Optimize

Track and improve:

Working Examples

Start with the example matching the use case:

first-time-tour.tsx           # Product walkthrough with react-joyride
feature-spotlight.tsx         # New feature announcement
guided-tutorial.tsx           # Interactive task completion
setup-checklist.tsx           # Multi-step onboarding progress
contextual-help.tsx           # Tooltips and progressive hints
help-panel.tsx                # Sidebar help with search
celebration-animation.tsx     # Completion feedback

Resources

Scripts (Token-Free Execution)

References (Detailed Documentation)

Examples (Implementation Code)

Assets (Templates and Configs)

Cross-Skill Integration

This skill works with other component skills:

Key Principles

  1. Respect User Time: Keep tours under 7 steps, make skippable
  2. Show, Don't Tell: Use visuals and interactions over text
  3. Progressive Enhancement: Start simple, add guidance as needed
  4. Context is King: Show help when and where it's relevant
  5. Measure Everything: Track completion, iterate based on data
  6. Accessibility First: Keyboard, screen reader, reduced motion support
  7. Celebrate Progress: Acknowledge completion and achievements
  8. Allow Exploration: Don't force tours, enable discovery

Next Steps

  1. Map the user journey and identify key moments
  2. Choose appropriate guidance mechanisms for each moment
  3. Install react-joyride or preferred library
  4. Start with one critical flow (usually first-time experience)
  5. Implement with accessibility built-in
  6. Add analytics tracking
  7. Test with real users
  8. Iterate based on metrics and feedback
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.