kotlin-ktor-patterns
Ktor server patterns including routing DSL, plugins, authentication, Koin DI, kotlinx.serialization, WebSockets, and testApplication testing. Use when building a Ktor server — routing, plugins, auth, DI, serialization, or tests.
- installs 8w
- 1,739
- 30-day movement
- starts with the next reading
- Related entries
- 5
- Connections
- 0
This is an agent skill (a SKILL.md) that gives an AI coding agent patterns for building Ktor HTTP servers in Kotlin. Its parsed sections cover project layout, routing DSL, kotlinx.serialization, JWT authentication, error handling, CORS, Koin DI, request validation, WebSockets, YAML configuration, and testApplication testing.
Reach for it when you are building or extending a Ktor server and want the agent to follow established routing, plugin, auth, DI, and testing patterns.
Use it to
- Set up a Ktor project with a standard layout and entry point
- Implement JWT authentication and organized routing
- Configure ContentNegotiation, CORS, and StatusPages plugins
- Wire Koin dependency injection and YAML configuration
- Write testApplication tests for routes and auth
For Kotlin developers building Ktor HTTP servers with an AI coding agent
- Host repository
- affaan-m/ECC
- Installs, lifetime
- 3,000
- Installs, 8 weeks
- 1,739
- Host stars
- 261k
- Host language
- JavaScript