cui-http
CUI HTTP client standards with HttpHandler, HttpResult pattern, and async-first adapters
npx skills add majiayu000/claude-skill-registry --skill cui-http --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# CUI HTTP Skill **EXECUTION MODE**: You are now executing this skill. DO NOT explain or summarize these instructions to the user. IMMEDIATELY begin the workflow below based on the task context. CUI-specific HTTP client standards for projects using the CUI HTTP library (cui-http). This skill covers HttpHandler usage, the HttpResult sealed interface pattern, and async-first HTTP adapters with retry and caching. ## Prerequisites This skill requires CUI library dependencies: - `de.cuioss:cui-http` (HttpHandler, HttpResult, HttpAdapter) ## Workflow ### Step 1: Load HTTP Client Standards **CRITICAL**: Load this standard for any HTTP client work. ``` Read: standards/cui-http.md ``` This provides the foundational rules: - HttpHandler builder pattern for configuration - HttpResult sealed interface for type-safe error handling - Async-first adapters (ETagAwareHttpAdapter, ResilientHttpAdapter) - RetryConfig for exponential backoff ## Key Rules Summary ### HttpHandler Builder Pattern ```java // CORRECT - Use builder pattern HttpHandler handler = HttpHandler.builder() .uri("https://api.example.com/data") .connectionTimeoutSeconds(10) .readTimeoutSeconds(30) .build(); ``` ### HttpResult Patter
- Prerequisites
- Workflow
- Step 1: Load HTTP Client Standards
- Key Rules Summary
- HttpHandler Builder Pattern
- HttpResult Pattern Matching
- Async-First Adapters
- Error Category Handling
- Related Skills
- Standards Reference
What does the cui-http skill do?
CUI HTTP client standards with HttpHandler, HttpResult pattern, and async-first adapters
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill cui-http --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
