name: ktor-microservice description: > Build and modify Ktor services in the Foodies repository using the established project conventions. Use when working in Ktor microservice modules for tasks involving Ktor app/module wiring, route-service-repository design, RabbitMQ event flows, TestBalloon and Testcontainers integration testing.
Foodies Ktor Skill
Apply these conventions when implementing or reviewing Ktor code in this repository. Load only the references needed for the current task.
Build and dependencies
Read references/build-and-dependencies.md when adding modules, configuring plugins, or changing dependencies and build tasks.
Service architecture and wiring
Read references/service-architecture.md when changing application bootstrap, dependency wiring, persistence, or messaging integration.
Package structure
Read references/package-structure.md when creating, moving, or reorganizing files within a service module. Follow domain-driven feature packages, not technical layers.
Routes and validation
Read references/routes-and-validation.md when editing HTTP contracts, route handlers, validation, or error mapping.
Testing
Read references/testing.md when writing or updating tests. Prefer integration tests with real dependencies and shared fixtures.