
Kotlin Ktor Patterns
This one gives Claude production-ready patterns for building Ktor servers in Kotlin. You get route organization with the routing DSL, plugin configuration for auth and CORS, Koin dependency injection setup, and kotlinx.serialization examples including custom serializers for types like Instant. The authentication section covers JWT validation with proper principal extraction, and there's solid coverage of the testApplication testing approach. What I like here is the opinionated project structure with separate plugins, routes, services, and repositories folders. It's less about teaching Ktor basics and more about showing you how to structure a real API so it doesn't turn into a mess as it grows.
- skills.sh installs
- 5.5K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill kotlin-ktor-patterns --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Backend & APIs, Testing & QA, Security, Mobile Development, Java & JVM
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Api Connector Builder5.5K
- Safety Guard5.5K
- Csharp Testing5.5K
- Skill Scout5.5K
- Customs Trade Compliance5.5K
- Research Ops5.5K
- Crosspost5.5K
- Videodb5.5K
- Click Path Audit5.5K
- Skill Comply5.5K
- Hipaa Compliance5.5K
- Angular Developer5.5K
- Regex Vs Llm Structured Text5.5K
- Investor Outreach5.5K
- Homelab Wireguard Vpn5.5K
- Repo Scan5.5K
- Agent Payment X4025.5K
- Ck5.5K
- Clickhouse Io5.5K
- Terminal Ops5.4K
- Knowledge Ops5.4K
- Nutrient Document Processing5.4K
- Kotlin Exposed Patterns5.4K
- Claude Devfleet5.4K