Kotlin Ktor Patterns
Ktor server patterns: routing DSL, plugins, authentication, Koin DI, kotlinx.serialization, WebSockets, and testApplication integration tests.
- What
- Ktor server patterns: routing DSL, plugins, authentication, Koin DI, kotlinx.serialization, WebSockets, and testApplication integration tests.
- Cost
- Free
- Needs
- Use "Kotlin Ktor Patterns" with your Muse.
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor: a Ktor server patterns skill for building Kotlin backends the idiomatic way. It covers the standard project layout (Application entry point, plugins, routes, models, services, repositories, Koin DI modules), the routing DSL, and plugin configuration for the pieces every server needs: authentication, CORS, content negotiation with kotlinx.serialization, error handling with StatusPages, dependency injection with Koin, WebSocket endpoints, and integration tests using testApplication. The guidance is concrete: where each file lives, how modules wire together, and how to test routes without standing up a real server. By @affaan-m, listed here with credit to its creator. From the affaan-m/ECC repository (MIT). Honest caveats: pure guidance, nothing to install; assumes Kotlin and Gradle basics plus a Ktor project scaffold; plugin APIs move between Ktor versions, so check the docs for your version. Skill Harbor never reviews the code, review it yourself before use.
Version:
Install
Copy the install package below, then paste it into MuseThe install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?
Use "Kotlin Ktor Patterns" with your Muse. Prerequisites: a Kotlin/Gradle project with Ktor (or a fresh scaffold to fill in). Pure guidance skill, nothing to install. 1. Open the skill: https://github.com/affaan-m/ECC/blob/main/skills/kotlin-ktor-patterns/SKILL.md and copy the full SKILL.md text. 2. Paste it into a chat with Muse and add: "Set up this Ktor server following these patterns: [routing, auth, plugins you need]." 3. For existing code, add: "Review my Ktor routes and plugin configuration against these patterns." Tip: ask for the testApplication tests alongside the routes; untested routes drift fast. Safety: a skill is plain-text instructions; it runs nothing by itself. Review generated auth and CORS configuration carefully before exposing anything to the network.
Saved to your recent installs. Find it anytime on /connect.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.