Long Polling Handler - Auto-activating skill for API Integration. Triggers on: long polling handler, long polling handler Part of the API Integration skill category.
38
Quality
7%
Does it follow best practices?
Impact
95%
0.96xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./planned-skills/generated/16-api-integration/long-polling-handler/SKILL.mdProduction-ready long polling server
Long polling pattern used
100%
100%
Server-side timeout
100%
100%
Correct timeout HTTP response
100%
80%
Client retry loop
100%
100%
Server connection cleanup
100%
20%
Multiple concurrent clients
100%
100%
State change notification
100%
100%
Proper Content-Type header
100%
100%
No busy-wait polling
100%
100%
Client error handling
100%
57%
Without context: $0.4820 · 2m 15s · 24 turns · 24 in / 7,737 out tokens
With context: $0.4672 · 2m 5s · 24 turns · 314 in / 7,091 out tokens
Long polling client integration patterns
Continuous polling loop
100%
100%
204 handled correctly
100%
100%
last_id tracking
100%
100%
Background thread polling
100%
100%
Clean shutdown
100%
100%
Network error handling
100%
100%
Retry backoff on error
100%
100%
Callback invocation
100%
100%
No busy polling on success
100%
100%
Design rationale documented
100%
100%
Without context: $0.5584 · 2s · 1 turns · 3 in / 71 out tokens
With context: $0.6721 · 3m 50s · 33 turns · 191 in / 8,745 out tokens
API integration polling with structured workflow
Adaptive polling interval
100%
100%
Timeout enforcement
100%
100%
Terminal state detection
100%
100%
Transient error retry
100%
100%
Per-attempt logging
60%
100%
Timestamp in log
87%
75%
Failed job handling
100%
100%
Reusable module design
100%
100%
Example demonstrates polling
100%
100%
No unnecessary sleep overhead
100%
100%
Without context: $0.4628 · 2m 6s · 25 turns · 25 in / 6,530 out tokens
With context: $0.5303 · 2m 19s · 28 turns · 376 in / 7,099 out tokens
0c08951
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.