LogoClawIndex
CasesSkillsAbout
LogoClawIndex

kotlin-ktor-patterns - Build Maintainable Ktor HTTP Servers

Provides Ktor patterns for routing, plugins, authentication, dependency injection, serialization, WebSockets, and testApplication testing.

Tags

Updated: 2026-10-05
KotlinKtorHTTP serverREST APIRoutingAuthenticationDependency injectionSerializationWebSocketsIntegration testing

Capabilities

Build Ktor HTTP serversConfigure Ktor pluginsDefine route DSLsConfigure JSON serialization

Typical Inputs

Ktor projectApplication configurationJWT settings

Typical Outputs

Ktor HTTP serverHTTP route responsesSerialized JSON payloads

What this skill does

  • Build Ktor HTTP servers
  • Configure Ktor plugins
  • Define route DSLs
  • Configure JSON serialization
  • Configure JWT authentication
  • Configure Koin dependency injection
  • Handle application errors
  • Configure CORS policies
  • Write testApplication tests
  • Implement WebSockets

Inputs

  • Ktor project
  • Application configuration
  • JWT settings
  • Route requirements
  • Serializable data models
  • Service dependencies
  • Test scenarios

Outputs

  • Ktor HTTP server
  • HTTP route responses
  • Serialized JSON payloads
  • JWT authentication responses
  • Standardized error responses
  • WebSocket communication
  • Integration test results

Requirements

  • Kotlin coroutine support
  • Ktor server dependencies
  • Koin dependency
  • kotlinx.serialization support
  • testApplication test support
  • WebSocket support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.