Kotlin Ktor Patterns
Ktor server patterns covering routing DSL, plugins, Koin DI, kotlinx.serialization, WebSockets, and testApplication tests.
- CCM score
- 71 of 100
- skills.sh installs
- 11.7K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers standard Ktor project layout, application entry point, and module configuration wiring plugins together
- Includes routing DSL examples for CRUD endpoints, authenticated route groups, and kotlinx.serialization models with custom serializers
- Provides JWT authentication setup with claim extraction, plus Koin-injected route handlers for services
- Designed for Kotlin teams building HTTP servers with Ktor and coroutines
Install
$ npx -y skills add affaan-m/ecc --skill kotlin-ktor-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Ktor Server Patterns
Comprehensive Ktor patterns for building robust, maintainable HTTP servers with Kotlin coroutines.
When to Activate
- Building Ktor HTTP servers
- Configuring Ktor plugins (Auth, CORS, ContentNegotiation, StatusPages)
- Implementing REST APIs with Ktor
- Setting up dependency injection with Koin
- Writing Ktor integration tests with testApplication
- Working with WebSockets in Ktor
Application Structure
Standard Ktor Project Layout
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Java & JVM, Backend & APIs
- First seen
- Jul 14, 2026
Questions
What does the kotlin-ktor-patterns skill cover?
It covers Ktor server patterns: the routing DSL, plugins, authentication, Koin dependency injection, kotlinx.serialization, WebSockets, and testApplication testing. The skill gives guidance for building HTTP servers with Kotlin coroutines, including a standard project layout and an application entry point.
How do I install the kotlin-ktor-patterns skill?
Run npx -y skills add affaan-m/ecc --skill kotlin-ktor-patterns -y inside your project. Once installed, the agent can help you build Ktor HTTP servers with routing, JWT authentication, serialization and integration tests.
Where does kotlin-ktor-patterns rank in the Java and JVM category?
It ranks in the top 10 on the Java and JVM category page on Claude Marketplaces. Other skills that lead the category include java-springboot, springboot-patterns, java-coding-standards, jpa-patterns and kotlin-patterns, and this one stands apart by focusing on Ktor server development.
Who is the kotlin-ktor-patterns skill for?
It is for developers building Ktor HTTP servers in Kotlin who want patterns for routing, plugins, auth, DI, serialization, WebSockets and tests. It is useful when you write REST APIs or real-time endpoints with Ktor.
Does kotlin-ktor-patterns use Koin for dependency injection?
Yes, the skill shows how to set up dependency injection with Koin, with modules kept in a di folder and services injected into routes. It also covers kotlinx.serialization and the testApplication testing approach.
More from affaan-m/ecc
All 257- Enterprise Agent Ops11.7K
- Quality Nonconformance11.7K
- Ralphinho Rfc Pipeline11.7K
- Crosspost11.7K
- Agent Eval11.7K
- Production Scheduling11.6K
- Videodb11.6K
- Nanoclaw Repl11.6K
- Logistics Exception Management11.6K
- Kotlin Exposed Patterns11.6K
- Carrier Relationship Management11.6K
- Energy Procurement11.6K
- Nuxt4 Patterns11.5K
- Returns Reverse Logistics11.5K
- Team Builder11.5K
- X Api11.5K
- Dmux Workflows11.5K
- Accessibility11.5K
- Perl Patterns11.5K
- Perl Testing11.4K
- Laravel Verification11.4K
- Manim Video11.4K
- Ui Demo11.3K
- Token Budget Advisor11.3K
Similar to Kotlin Ktor Patterns
More Java & JVMkotlin-exposed-patternsaffaan-m/ecc11.6K installsReference patterns for the JetBrains Exposed ORM covering DSL and DAO queries, transactions, and production setup.
kotlin-testingaffaan-m/ecc12.1K installsKotest, MockK, and Kover testing patterns that follow TDD, with runnable examples for each spec style.
kotlin-specialistjeffallan/claude-skills5.7K installsIdiomatic Kotlin patterns for coroutines, Flow, Compose, Ktor, and multiplatform projects, with null-safety rules.
nodejs-backend-patternswshobson/agents51.1K installsProduction-ready Node.js backend patterns for Express or Fastify services, REST, GraphQL, and microservices.
kotlin-mcp-server-generatorgithub/awesome-copilot8.7K installsGenerate a complete Kotlin MCP server project using the official kotlin-sdk with tools, tests, and README.