Builds, modifies, runs, and diagnoses Vapor server components under Services/ in a product workspace. Handles routes, controllers, middleware, migrations, and local HTTP debugging.
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, run, or diagnose a Vapor service without confusing Vapor-specific server behavior with generic Swift package work or Apple-platform Xcode work.
The practical decision is what the HTTP service exposes, which target owns the Vapor app, where domain logic lives, how configuration reaches the service, how migrations are run, and which command proves the app starts or behaves correctly.
apple-dev-skills:bootstrap-xcode-workspace --operation add-component --component-kind service --framework vapor for a new Vapor component.soto-aws-workflow when the component needs AWS service access.leaf-rendered-web-workflow when the Vapor work is primarily a Leaf-rendered website, HTML email, page context, layout, partial component, custom tag, rendered HTML, public asset, or template-cache concern.vapor new, swift build, swift test, swift run, swift run App serve, migration, or local HTTP failures in a Vapor project.Use repo-local Swift files, checked-out dependency sources, Dash MCP or Dash HTTP for installed Vapor DocC first, then official Vapor documentation when Dash/local coverage is missing or stale. For Leaf-rendered work, consult the installed Leaf DocC archive and use leaf-rendered-web-workflow before expanding this general service workflow:
Use Swift.org or Swift Package Manager documentation for Swift toolchain and package behavior when Vapor docs do not own the rule being used.
For Vapor 5, treat GitHub releases and tagged source as the authoritative alpha surface until official Vapor 5 documentation and migration guides exist. Check current release notes before recommending alpha APIs, package products, macros, server internals, platform requirements, or migration steps.
Package.swiftAppSources/App/configure.swiftSources/App/routes.swiftleaf-rendered-web-workflow when templates, contexts, composition, escaping, accessibility, assets, or rendered HTML are the primary concernswift buildswift testswift run or swift run App serveswift run App --helpswift run App serve --helpWhen a Vapor service needs framework-adjacent behavior, prefer maintained packages from the official vapor GitHub organization when they fit the need and match the project's Vapor major version.
Check official Vapor packages first for:
Check vapor-community next when official Vapor packages do not cover the need and the community package is maintained, current, and a better fit than a generic third-party package. Common examples include HTML rendering, OAuth or identity flows, Stripe, SendGrid, Mailgun, Wallet, CSRF, SQLKit extras, Valkey support, Lambda runtime support, and service-specific providers.
Before recommending or adding any package:
Package.swift dependency style, exact-version policy, and target ownershipFresh Vapor services belong to the canonical workspace add-component entrypoint. Its server adapter starts with Vapor Toolbox, uses Vapor Environment, defaults to Fluent ORM with PostgreSQL, and uses native Homebrew services locally.
Use this default creation path only as part of the bootstrap workflow:
brew install vapor
vapor new MyService
cd MyService
Use vapor new MyService -n only when the user wants the non-interactive bare template and the documented options fit the task. Otherwise, preserve the interactive template questions because they choose real project features such as Fluent, database support, or Leaf. For Gale's default Vapor bootstrap, answer the interactive prompts to include Fluent and choose PostgreSQL unless Gale explicitly approves a project-specific exception.
Vapor 4 remains the normal stable default for new production services, existing app maintenance, package recommendations, Fluent migrations, and docs-backed examples while Vapor 5 is alpha.
Vapor 5 is the planned future default once Vapor publishes a stable Vapor 5 release, stable docs, and a migration path that fits the target project. Until then, use Vapor 5 only when the user explicitly asks to evaluate alpha behavior, the repository is already intentionally tracking Vapor 5, or the task is a migration-readiness audit.
When evaluating Vapor 5 alpha:
Do not present Vapor 5 alpha examples as stable documentation. If a Vapor 5 API is only visible in source or release notes, say that plainly and include the exact tag or release used.
For typical Vapor 4 projects:
configure.swift owns app-wide setup such as middleware, databases, migrations, commands, encoders, and services.routes.swift owns route registration and should stay readable.leaf-rendered-web-workflow; keep this workflow focused on the Vapor service boundary that invokes them.Do not introduce a service, repository, coordinator, or manager unless it removes a concrete duplication, testability problem, or dependency boundary issue in the current service.
Do not commit secrets.
Use Vapor's built-in Environment system for runtime environment and process settings. Use environment variables for deployment-sensitive values. For local development, follow existing repo conventions first. If none exist, recommend committed safe defaults and ignored local overrides rather than hard-coded credentials.
When diagnosing configuration, state which variable is missing, where Vapor reads it, which command was running, and what local or deployment setup likely needs correction.
When adding or changing routes:
When adding middleware:
When a Vapor project uses Fluent:
swift run App migrateswift run App migrate --revert as the documented command form when a revert is intentionally neededDo not edit a database manually as a substitute for a migration unless the task is explicitly an emergency data repair and the user accepts that risk.
Choose the smallest test that proves the behavior:
Prefer swift test for normal validation. Use curl against a locally running server only when the user asked for runtime validation or the change cannot be proven through tests alone.
Keep deployment guidance grounded in the repository's existing target first.
When no cloud target exists, keep local work native and hand deployment to the GitHub artifact/deployment contract. Dockerfiles are definitions consumed by GitHub; provider adapters consume only the recorded immutable artifact.
Do not add Docker, CI, process-manager, or cloud deployment files as part of a route or local development change unless the user asked for deployment scope.
Use fly-io-deployment-workflow only for its GitHub-hosted provider adapter:
reviewed fly.toml, an app-scoped deploy-token secret, exact prebuilt image,
health verification, and rollback. Keep Vapor route, command, environment,
server binding, and Fluent migration behavior here.
Return:
Service shape: package root, executable target, app configuration, route owners, and test surface.Vapor docs used: specific official docs relied on for CLI, app, migration, or runtime behavior.Command path: exact commands run or recommended.Behavior: routes, inputs, outputs, errors, middleware, migrations, or configuration changes.Validation: build, test, serve, migrate, or HTTP check results.Handoffs: SwiftPM, testing, Apple-platform, deployment, or database 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
13 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.//server-side-swift:vapor-server-workflowfrom server-side-swift
npx claudepluginhub gaelic-ghost/socket --plugin server-side-swiftOther plugins' skills for the same job