server-side-swiftlisted
Install: claude install-skill Insolvent-pyrene754/claude-code-server-side-swift-skills
# Server-Side Swift Generator
Generates and guides server-side Swift projects using Vapor or Hummingbird, including API design, database integration, authentication, deployment, and shared code with iOS clients.
## When This Skill Activates
Use this skill when the user:
- Asks to "create a backend" or "build an API" in Swift
- Mentions "Vapor", "Hummingbird", or "server-side Swift"
- Wants JWT, OAuth, or session authentication on the server
- Needs to share Codable models between an iOS app and a Swift server
- Asks about sending push notifications from a server (APNSwift)
- Wants to deploy a Swift server (Docker, Fly.io, Railway)
- Mentions Fluent ORM, database migrations, or PostgreSQL with Swift
- Asks about WebSockets or real-time features on the server
- Wants to replace CloudKit with a custom backend
## Pre-Generation Checks
### 1. Project Context Detection
- [ ] Check if a `Package.swift` already exists
- [ ] Determine if this is a new project or adding to an existing one
- [ ] Check Swift version (async/await requires Swift 5.5+, Hummingbird 2 requires Swift 6+)
- [ ] Search for existing server-side code
```
Glob: **/Package.swift, **/configure.swift, **/routes.swift, **/entrypoint.swift
Grep: "import Vapor" or "import Hummingbird" or "import Fluent"
```
### 2. Conflict Detection
Search for existing server implementations:
```
Glob: **/Controllers/*.swift, **/Migrations/*.swift, **/Models/*.swift
Grep: "RouteCollection" or "AsyncMigration" or "func routes"
`