Plans, builds, tests, and diagnoses server-side Swift persistence (Fluent, direct SQL, custom clients) for Vapor and Hummingbird services. Handles models, migrations, queries, transactions, and 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.
When a task combines SwiftData with SwiftUI, keep SwiftData directly coupled to SwiftUI through Apple's data-driven path: modelContainer, environment modelContext, @Query, SwiftData model objects, and bindings. Do not add repositories, stores, service layers, DTO mirrors, view-model caches, wrapper objects, or other abstraction layers between SwiftData and SwiftUI. If this skill is not the right owner for SwiftData-backed SwiftUI work, hand off to apple-dev-skills:swiftui-app-architecture-workflow instead of inventing an intermediate data layer.
Plan, build, modify, test, or diagnose database-backed behavior in a server-side Swift service.
The practical decision is which persistence tool owns the data access, how models map to stored records, how schema changes are migrated, where query logic lives, how configuration reaches the database client, and which command proves the service can safely read or write data.
soto-aws-workflow for DynamoDB or other AWS persistence integrations so Soto dependency and client lifecycle ownership stay centralized.Use repo-local Swift files, checked-out dependency sources, Dash MCP or Dash HTTP for installed Swift package DocC first. Check official framework and package docs, GitHub releases, or tagged source when Dash/local coverage is missing, stale, or a public latest-release citation is needed before claiming package names, APIs, migration commands, driver support, or CLI behavior.
Primary sources:
For Dash.app:
Use Swift Package Manager and Swift.org documentation for package, target, dependency, and toolchain behavior when the framework docs do not own the rule being used.
Package.swiftreq.dbFor Vapor projects that use Fluent:
swift run App migrateswift run App migrate --revert only when the user accepts the data-loss and rollback riskWhen the work is mostly route, middleware, command, environment, or Vapor app structure, compose with vapor-server-workflow.
For Hummingbird projects:
Application, router, service lifecycle, and dependencies are currently constructedWhen the work is mostly routing, middleware, request context, testing helpers, or Hummingbird app structure, compose with hummingbird-server-workflow.
When changing stored data behavior:
Use direct SQL only when it is simpler, more transparent, or required for the query. If direct SQL is introduced, keep it isolated, parameterized, tested, and named by the use case it serves.
Choose the smallest test that proves the persistence behavior:
Prefer swift test for normal validation. If the project uses a real database in tests, identify how the database is created, migrated, seeded, isolated, and cleaned up before adding new tests.
Return:
Persistence shape: database tool, model owners, migration owners, query/repository owners, and configuration source.Docs used: official docs, GitHub sources, or checked Dash docsets relied on for API, migration, or package behavior.Command path: exact build, test, migrate, run, or diagnostic commands run or recommended.Data behavior: schema changes, models, relations, queries, transactions, errors, or configuration changes.Validation: SwiftPM, migration, test database, or HTTP check results.Handoffs: Vapor, Hummingbird, SwiftPM, Apple-platform client, deployment, or observability 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
swift-persistence, fluent-orm, vapor, hummingbird, database-migrations
/server-side-swift:persistence-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./docker-workflowAuthor and diagnose Dockerfile and OCI runtime definitions for server-side Swift while GitHub Actions exclusively builds, tests, publishes, and deploys Linux images./fly-io-deployment-workflowConfigure a GitHub Actions-only Fly.io deployment adapter for an exact prebuilt Swift service image, with protected environments, scoped credentials, health verification, and rollback./hummingbird-server-workflowPlan, build, run, test, and diagnose Hummingbird components under Services/ in the canonical product workspace. Hand fresh component creation and guidance alignment to the workspace service adapter./leaf-rendered-web-workflowPlan, implement, test, and diagnose Leaf-rendered Vapor sites and HTML email with typed contexts, layouts, partials, custom tags, escaping, accessibility, assets, caching, and rendering tests.Other plugins' skills for the same job