Skill Wiki v0.1.0
principle @community/principle-perceived-vs-actual

Perceived Vs Actual

Hard upper bounds for perception (RAIL model + Doherty threshold): user input MUST acknowledge within 100ms (button press feedback, focus ring, ripple); animation frames MUST commit within 16.…

Skill
@community
Domain
performance
Version
1.0.0
Quality
4.0
Edges
6 out · 11 in
Tokens
257/514/812
$ prime install @community/principle-perceived-vs-actual

Projection

Always in _index.xml · the agent never has to ask for this.

PerceivedVsActual [principle] v1.0.0

Perceived performance — what the user feels — diverges from instrumented performance metrics in predictable ways. Optimize for the perceived experience: progressive rendering, optimistic UI, skeleton states, and immediate acknowledgment of input matter more than the wall-clock total. A 200ms response with a 50ms acknowledgment feels faster than a 100ms response that waits for the whole result.

Hard upper bounds for perception (RAIL model + Doherty threshold): user input MUST acknowledge within 100ms (button press feedback, focus ring, ripple); animation frames MUST commit within 16.67ms (60fps); idle work MUST yield to the main thread every 50ms; loads SHOULD reach 'meaningfully interactive' within 5000ms on slow 4G. Optimize the FIRST 100ms aggressively — use optimistic updates, skeleton placeholders, streaming HTML, and pre-rendering — even when total work takes longer. Perception of speed correlates with progress signals, not with completion time.

Source

prime-system/examples/frontend-design/primes/compiled/@community/principle-perceived-vs-actual/atom.yaml

Compiled at 2026-05-07