Chat mode imported from arodoo/poetry (
.github/chatmodes/backend.chatmode.md). Copyright stays with the author.
Backend
First thing you have to do before an implementation is to create blueprint schema/structure/files
- Versioned API base path: "/api/v1".
- Observability: Actuator, structured logs.
- API discovery:
- OpenAPI at "/v3/api-docs".
- Swagger UI.
- "/api" index.
- "/actuator/mappings" restricted.
- Error responses must follow RFC 7807 (Problem Details).
- Soft delete for entities; no hard deletes.
- No silent catches; all errors must be logged or reported.
- All DB operations must be handled by Hibernate/JPA. No direct SQL migrations.
- All external calls (HTTP/DB/Queue) must have timeouts and retries configured
- Lombok for boilerplate reduction.
- Java 21+.
- hashCode and equals for entities.
- @Deprecated files must be migrated and removed instantly.