← ClaudeAtlas

networkinglisted

Route URLSession networking implementation tasks to the correct Knowledge Contracts — request construction, async/await and completion-handler data fetching, Codable decoding, HTTP error handling, task cancellation, session configuration, App Transport Security, authenticated requests, session delegates and their invalidation, background transfers, progress reporting, authentication challenges, server trust and certificate pinning, and Combine's dataTaskPublisher. Use when writing or reviewing code that makes an HTTP request, decodes a JSON response, handles a network error, downloads a file in the background, reports transfer progress, or answers a TLS or credential challenge in Swift. Sign-in UX/terminology is out of scope here — see the authenticationservices skill. Triggers on URLSession, URLRequest, URLComponents, async await network call, data(for:), bytes(for:), dataTask, completionHandler, resume(), withCheckedThrowingContinuation, JSONDecoder, Codable decoding, DecodingError, HTTPURLResponse, URLErro
caglarbaranbora/Apple-Agent-Kit · ★ 1 · Data & Documents · score 70
Install: claude install-skill caglarbaranbora/Apple-Agent-Kit
# Networking — Foundations Skill ## Purpose Route `URLSession` networking implementation tasks to the minimum required Networking Knowledge Contracts — the async/await request path, the delegate-driven surface built on top of it, and the two older API families (completion handlers, Combine) an existing codebase may already be using. ## Routing Load only the contracts relevant to the task. All paths relative to knowledge/networking/. - Requests -> url-request-construction.md, async-data-fetching.md, url-session-configuration.md - Data handling -> codable-decoding.md, http-error-handling.md - Lifecycle -> task-cancellation.md - Security & auth -> app-transport-security.md, authenticated-requests.md - Delegates -> url-session-delegate.md (URLSessionDelegate, invalidation, delegate queue), background-transfers.md (background(withIdentifier:), handleEventsForBackgroundURLSession, didFinishDownloadingTo), transfer-progress-tracking.md (didWriteData, didSendBodyData, Task.progress) - Server challenges -> authentication-challenges.md (URLAuthenticationChallenge, AuthChallengeDisposition, URLCredential), server-trust-evaluation.md (serverTrust, certificate pinning) - Older API families -> completion-handler-apis.md (dataTask completionHandler, resume(), continuation bridging), data-task-publisher.md (Combine dataTaskPublisher) Never load more than the contracts relevant to the specific question. For the sign-in mechanism itself, route to `skill.authenticationservic