What problem does it solve?
It prevents inconsistent naming, folder structure, DI wiring, test layout, DTO shapes, and error-handling patterns by forcing convention discovery before new code is written.
Core Features & Use Cases
- Mandatory convention discovery to avoid naming drift and architectural mismatch when you start new files or extend features.
- Structured detection across key codebase conventions for handler/service suffixes, src/ organization style, DI registration approach, test framework and assertions, DTO/request/response conventions, and error-handling patterns.
- Convention-driven code generation guidance that explicitly states detected conventions and applies them, with a clear rule for when the user overrides detected conventions.
Quick Start
Use convention-learner before creating any new files by asking it to detect conventions for this repository session and then generate code that matches the detected naming, architecture layout, DI, tests, DTOs, and error-handling style.