Skip to main content
skill CX Codex

hummingbird — Claude Code skill: what it does, how to install

Get coding guidance for Hummingbird 2 in Swift, from HTTP routing and request contexts to response handling.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add wendylabsinc/claude-skills --skill hummingbird -a claude-code
Open on GitHub

What hummingbird does

This skill gives an agent reference material for building HTTP services with Hummingbird 2, a Swift framework built on SwiftNIO with Swift Concurrency support. Use it while working on a Swift server or REST API, especially when you need help with routing, middleware, request contexts, or authentication.

The examples cover route groups, path and query values, JSON request decoding, and several ways to produce an HTTP response. They also show how ChildRequestContext can expose a required property to protected routes, and how EditedResponse carries a status and headers alongside a response body. The material guides code changes; it does not provide a finished application.

A project using Hummingbird needs the package added in Package.swift and the Hummingbird product included in its target. The setup example starts at version 2.0.0, so check that dependency when applying the guidance to a project.

What it helps with

  • route requests by HTTP method and path
  • group API endpoints under a shared prefix
  • read path and query values in handlers
  • decode a JSON request into a Swift type
  • return JSON with a chosen status and headers

Example prompts for the agent

  • Add a GET /users/{id} route to my Swift server and read id from the request context.
  • Show how to group API routes and attach authentication middleware in Hummingbird 2.
  • Explain how to decode a JSON request and return an EditedResponse with a creation status.

How to install hummingbird

1Skills CLI (Vercel)

npx skills add wendylabsinc/claude-skills --skill hummingbird -a claude-code

2Manually: put the files in place

~/.claude/skills/hummingbird/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/hummingbird/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hummingbird

How do I install hummingbird in Claude Code?

Run npx skills add wendylabsinc/claude-skills --skill hummingbird -a claude-code. The skill file is at ~/.claude/skills/hummingbird/SKILL.md.

What does the hummingbird skill do?

It gives an agent guidance for Swift HTTP services and REST APIs built with Hummingbird 2. Topics include routing, request contexts, middleware, and HTTP responses.

How can a Hummingbird route receive a context with an authenticated user?

The examples use ChildRequestContext to turn a parent context into one where the user is a required property. They also show AuthRequestContext and BearerAuthenticator.

Similar skills

All skills for Backend and APIs →

From the same set14

wendy-cloud-testing This skill guides cloud-monorepo testing, local stack checks, Swift broker tests, and diagnosis of certificate or device reachability failures. CX Codex +1 ★ 62repo stars wendy-cloud-iterate Runs the Wendy Cloud dev stack end to end: brings up Docker and the Swift broker, runs integration tests, reads the failures and edits code. CX Codex +1 ★ 62repo stars wendy-aaa-interop This skill explains how Wendy services divide identity, authorization, and credential issuance. Use it when changing integrations between the SaaS and self-hosted stacks. CX Codex +1 ★ 62repo stars swift-nio Get SwiftNIO guidance for TCP/UDP services, binary protocols, and event-loop issues. Useful when building network code or moving from futures to async/await. CX Codex +1 ★ 62repo stars swift-library-design Guides public API design for Swift libraries and frameworks: protocols, result builders, inlining, noncopyable types. CX Codex +1 ★ 62repo stars postgres-nio A skill that gives the agent a working reference for talking to PostgreSQL from Swift with postgres-nio: connections, pooling, prepared statements and COPY FROM. CX Codex +1 ★ 62repo stars github-actions A skill that steers the agent through GitHub Actions authoring: vendor actions over shell scripts, verified versions, minimal job permissions. CX Codex +1 ★ 62repo stars database-driver-design Guidance for designing Swift database clients, from protocol handling to connection pools and streamed results. Useful when building a driver or shaping its concurrency model. CX Codex +1 ★ 62repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor