CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ios-networking

Build, review, or improve networking code in iOS/macOS apps using URLSession with async/await, structured concurrency, and modern Swift patterns. Use when working with REST APIs, downloading files, uploading data, WebSocket connections, pagination, retry logic, request middleware, caching, background transfers, or network reachability monitoring. Also use when handling HTTP requests, API clients, network error handling, or data fetching in Swift apps.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is dpearson2699/swift-ios-skills

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exemplary reference skill: executable idiomatic Swift for every core pattern, explicit validation feedback loops, a thorough review checklist, and clean one-level-deep disclosure into five real, well-signaled bundle files. The only weakness is a handful of rationale sentences that re-explain concepts Claude already knows.

Suggestions

Trim known-concept explanations to directives: drop 'This lets you swap implementations in tests without mocking URLSession directly' and 'Middleware transforms requests before they are sent', keeping only the rule and the code.

Shorten the third-party-library rationale ('the ergonomic gap that justified third-party libraries no longer exists') to the directive itself: use URLSession directly; reserve third-party libraries for genuinely missing features.

De-duplicate the Review Checklist against the Common Mistakes DO/DON'T items (force-unwrapped URLs, main-thread decoding, mocking URLSession) to recover tokens without losing coverage.

DimensionReasoningScore

Conciseness

The body is code-first and dense, but a few sentences explain concepts Claude already knows: "This lets you swap implementations in tests without mocking URLSession directly", "Middleware transforms requests before they are sent", and "With async/await, the ergonomic gap that justified third-party libraries no longer exists". These are minor trim candidates consistent with anchor 4 (efficient, minor over-explanation); anchor 5 would require every token to earn its place with no such rationale sentences.

4 / 5

Actionability

Fully executable, copy-paste-ready Swift throughout: data/upload/download/bytes calls, HTTP status validation guards, Codable decoding, RequestMiddleware and AuthMiddleware, a 401 refresh-and-retry-once flow, a complete withRetry backoff function, and an NWPathMonitor AsyncSequence loop. Common cases are covered inline with complete implementations delegated to references, matching the anchor-5 'specific examples cover the common cases' criterion.

5 / 5

Workflow Clarity

Multi-step processes are clearly sequenced with explicit checkpoints: build request -> validate status -> decode; 401 -> refresh -> retry once with "never loop token refresh"; retry excludes cancellation and 4xx. An explicit feedback loop exists ("Validate networking policy locally with URLProtocol fixtures for valid 2xx, malformed 2xx, one-time 401 refresh, bounded 429/5xx retry... fix the policy and rerun") plus an 18-item Review Checklist, satisfying all three anchor-5 elements.

5 / 5

Progressive Disclosure

A Contents list provides navigation; all five referenced files (references/urlsession-patterns.md, background-websocket.md, lightweight-clients.md, network-framework.md, file-storage-patterns.md) exist in the bundle, are one level deep with no nested references, and each pointer states what the file contains. Bulk implementations live in references (e.g., the 1082-line urlsession-patterns.md) while core quick-start patterns stay inline, and the network-framework.md#quic-multiplexed-streams anchor resolves to a real 'QUIC Multiplexed Streams' section. This matches anchor 5; anchor 4 would require buried or less-clearly-signaled references.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a model example: concrete verbs, comprehensive domain coverage, an explicit double 'Use when' trigger clause with natural user phrasings, and tight iOS/macOS Swift scoping. No vague fluff or over-claims are present.

DimensionReasoningScore

Specificity

Concrete actions are named up front ("Build, review, or improve networking code") and the capability list spans the domain: "URLSession with async/await", "downloading files, uploading data, WebSocket connections, pagination, retry logic, request middleware, caching, background transfers, or network reachability monitoring". This matches the anchor-5 pattern of multiple specific concrete actions with comprehensive coverage; score 4 would require noticeable coverage gaps, which are absent.

5 / 5

Completeness

Both questions are explicitly answered: what ("Build, review, or improve networking code in iOS/macOS apps using URLSession with async/await, structured concurrency, and modern Swift patterns") and when, stated twice with concrete triggers ("Use when working with REST APIs... Also use when handling HTTP requests, API clients, network error handling, or data fetching in Swift apps"). Anchor 4 would require a less explicit 'when', which is not the case.

5 / 5

Trigger Term Quality

Natural user phrasings are comprehensive: "REST APIs", "downloading files", "retry logic", "caching", "network error handling", "data fetching in Swift apps", "API clients". Synonym-level coverage is present ("HTTP requests" alongside "networking code" and "data fetching"), matching the anchor-5 example's synonym coverage rather than the anchor-4 "a few natural terms missing".

5 / 5

Distinctiveness Conflict Risk

The description is scoped to a clear niche ("networking code in iOS/macOS apps", URLSession, Swift) with distinct triggers (WebSocket, background transfers, reachability monitoring). It parallels the anchor-5 PDF example's niche clarity; it would not fire for non-Swift or non-networking tasks, so minimal conflict risk.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

dpearson2699/swift-ios-skills

Path

skills/ios-networking/SKILL.md

Reviewed

Table of Contents

Is this your skill?

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.