Plans, implements, tests, and diagnoses SwiftNIO code for server-side Swift packages, including event loop groups, channel pipelines, byte buffers, and protocol implementations.
Ships in server-side-swift. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build, modify, test, or diagnose direct SwiftNIO code without turning ordinary Vapor, Hummingbird, or SwiftPM service work into low-level networking work.
The practical decision is whether the service really needs to own event loops, channels, pipeline handlers, byte buffers, protocol framing, back-pressure, or bootstrap behavior directly. If a framework route, middleware, request context, or package-level API can solve the problem clearly, use that higher-level workflow instead.
EventLoopGroup, EventLoop, Channel, ChannelPipeline, ChannelHandler, ByteBuffer, ServerBootstrap, ClientBootstrap, NIOHTTP1, NIOWebSocket, NIOSSL, or NIOEmbedded.Use repo-local Swift files, checked-out dependency sources, Dash MCP or Dash HTTP for installed Swift package DocC, and then official docs or source when Dash/local coverage is missing or stale. Check one of those source-specific paths before claiming SwiftNIO behavior:
Use Vapor, Hummingbird, SwiftPM, Docker, deployment, persistence, or observability docs when the NIO work depends on framework lifecycle, package layout, container runtime, database I/O, or instrumentation behavior.
Package.swiftEmbeddedChannel test or Linux-only diagnosisTreat event-loop ownership as an explicit boundary.
For application executables:
EventLoopGroup at the process or service lifecycle boundaryFor libraries:
EventLoopGroup, EventLoop, channel, or async API from the caller instead of hiding global lifecycle stateUse Swift concurrency bridging deliberately. Do not mix futures, callbacks, and async/await in a way that hides cancellation, lifecycle, or event-loop affinity.
When editing channel setup:
Do not bury unrelated application behavior inside a ChannelHandler. If the handler starts owning routing, persistence, auth, or domain transformations, split those responsibilities and hand the higher-level behavior to the appropriate workflow.
When working with ByteBuffer:
For custom protocols, define the frame shape before coding:
Before changing flow control, identify which side is producing faster than the other side can consume.
Check:
autoRead behaviorDo not run blocking filesystem, network, crypto, compression, process, sleep, or database work directly on an event loop. Use framework-provided async APIs, NIO nonblocking APIs, or an explicit offload path that the repository already accepts.
Prefer the smallest test that proves the NIO behavior:
EmbeddedChannel test for channel handlers, pipeline order, inbound/outbound behavior, and error propagationcurl, TCP, or protocol-client check only when the behavior cannot be proven in testsTests should cover partial frames, multiple frames in one read, malformed input, back-pressure behavior, close behavior, and promise failure paths when those cases are relevant.
Use vapor-server-workflow when the task is really about Vapor routes, middleware, commands, server configuration, Fluent, or Vapor auth.
Use hummingbird-server-workflow when the task is really about Hummingbird routing, middleware, request contexts, application lifecycle, or framework tests.
Use openapi-rpc-workflow when the task is really about API contracts, generated handlers, JSON-RPC, gRPC, or MCP-style boundaries.
Use observability-tracing-workflow when the task is primarily about logs, metrics, tracing, spans, propagation, or production diagnostics.
Use docker-workflow or fly-io-deployment-workflow when the failure is caused by Linux runtime, container entry point, port binding, health checks, image architecture, or hosted deployment configuration.
Return:
NIO shape: package root, target, NIO products, event-loop owner, bootstrap, channels, pipeline handlers, buffers, and test surface.Docs used: SwiftNIO, SwiftPM, Vapor, Hummingbird, deployment, or observability docs consulted.Behavior: protocol, pipeline, frame shape, event-loop flow, back-pressure, errors, and close behavior.Command path: exact build, test, run, or diagnostic commands run or recommended.Validation: parser tests, EmbeddedChannel tests, integration checks, logs, or runtime results.Handoffs: framework, API contract, persistence, observability, Docker, Fly.io, or deployment follow-up when the task crosses this skill's boundary.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
swiftnio, server-side-swift, nio, event-loop, channel-pipeline, bytebuffer
/server-side-swift:swiftnio-workflowfrom server-side-swift
npx claudepluginhub gaelic-ghost/socket --plugin server-side-swift13 skills in this plugin
/app-sync-workflowPlan, implement, test, and diagnose app sync contracts in server-side Swift services, including incremental change feeds, cursor or token semantics, idempotent writes, conflict handling, optimistic concurrency, deleted-record/tombstone behavior, background job handoffs, API-shape coordination, and Vapor or Hummingbird integration./auth-authorization-workflowPlan, implement, test, and diagnose server-side Swift authentication and authorization for Vapor and Hummingbird services, including Basic and Bearer auth, JWT, sessions, OAuth or OIDC handoffs, password hashing, token lifecycle, middleware placement, request context, route protection, authorization policy, security-sensitive tests, and deployment secret handoffs./Other plugins' skills for the same job