Skip to content
Mobile
Skill

/interaction-latency

Measure time from user tap to action completion. Use when tracking button response times, form submissions, add-to-cart, or any tap-triggered operation.

BOOST
From plugin
mobile-observability
1168 skills2 agents2 commands
Install
$ npx -y skills add nexus-labs-automation/mobile-observability --skill interaction-latency --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/interaction-latency

Context preview

The summary Claude sees to decide when to auto-load this skill.

Measure time from user tap to action completion. Use when tracking button response times, form submissions, add-to-cart, or any tap-triggered operation.

SKILL.md

interaction-latency.SKILL.md
name: interaction-latency
description: Measure time from user tap to action completion. Use when tracking button response times, form submissions, add-to-cart, or any tap-triggered operation.
triggers:
  - "add to cart is slow"
  - "button feels slow"
  - "form submission timing"
  - "measure interaction latency"
  - "tap response time"
  - "track button performance"
priority: 2

Interaction Latency

Time from user tap to action successfully completed.

When to Use

  • "Add to cart" button tapped → cart updated
  • "Submit" button tapped → form processed
  • "Like" button tapped → state changed
  • Any tap that triggers async work

Measurement Pattern

TAP → START_SPAN → [async work] → END_SPAN

1. Capture tap timestamp 2. Start span with operation name 3. End span when action confirms success 4. Include success/failure outcome

Key Thresholds

| Rating | Duration | |--------|----------| | Good | <300ms | | Acceptable | <1s | | Poor | >1s |

Implementation

See `references/ui-performance.md` (Entry Point Latency section) for platform-specific code.

Common Mistakes

  • Ending span on API call start (not completion)
  • Not tracking failure cases
  • Missing the tap timestamp (starting late)

Related Skills

  • See `skills/navigation-latency` for screen-to-screen transitions (vs single-tap actions)
  • Combine with `skills/user-journey-tracking` for friction detection on key interactions
Read more
Ships withmobile-observability

Teaches Claude how to instrument mobile apps correctly — what to measure, what context to attach, and what mistakes to avoid.

Get the whole plugin

Other skills on mobile-observability.