Architectural Recipes
Welcome to the Konture Recipes catalog! This section provides copy-pasteable, battle-tested templates to secure your Kotlin projects against design erosion.
- Layer Isolation & Dependency Direction
- Module Boundary Enforcement (Build-Graph Hygiene)
- Cross-Layer Type Leakage
- Layer-Crossing Call Violations
- DI Graph Resolution & Wiring Correctness
- API Surface & Visibility Boundary Enforcement
- Repositories Must Be Interfaces
- Naming Suffix Conventions
[!TIP]
🤖 Write Recipes Instantly with AI
Need a highly customized recipe or a rule specifically tailored to your package structure? You can use our official AI-agent prompts:
- AI Test Writing & Extensible Guardrails Prompt: Provides structured API references and instructions to generate compile-safe, custom assertions across both core pillars and project-specific guidelines.
Simply feed this prompt into your AI coding assistant (like Gemini, Claude, or Cursor) and let the AI generate perfect, compile-safe architectural guards for you in seconds!