AGENTS.md for a Spring Boot service
A starting AGENTS.md for a Spring Boot service: build and test commands, layering and transaction rules, and the safety rules agents should follow.
এই রিসোর্স শুধু ইংরেজিতে পাওয়া যায়।
ধরন: AGENTS.md
KitLocal আপনার কম্পিউটারে কখনো ফাইল লেখে না। ফলাফল কপি করুন বা নিজে ডাউনলোড করুন।
ভ্যারিয়েবল পূরণ করুন
আপনি যা লেখেন তা এই ব্রাউজারেই থাকে। এটি URL-এ যোগ হয় না, সেভ হয় না এবং কোথাও পাঠানো হয় না।
প্রিভিউ
এখনও দরকার: Service name, Base package
# {{serviceName}}: agent guide
Spring Boot service on Java 21, built with Maven. Base package: `{{basePackage}}`.
## Commands
- Build and verify: `./mvnw -q verify`
- Tests: `./mvnw -q test`
Run the tests for the code you changed before declaring a task complete.
## Layering
- Controllers handle HTTP only: validate input (Bean Validation), call a service, map to a DTO.
- Business logic lives in services; transactions are declared on service methods, not controllers.
- Never return JPA entities from controllers; use DTOs.
- Repositories contain queries only. Watch for N+1 queries and unbounded result sets.
## Safety
- Do not log secrets, tokens or personal data.
- Schema changes go through migrations; never edit applied migrations.
- Do not add dependencies, change the Java version or alter security configuration without asking.
- Do not commit, push or deploy.
## Project-specific rules
এই ক্যাটালগ সম্পর্কে
অন্তর্ভুক্ত স্ন্যাপশট · ১৫ নভে, ২০২৬, ৬:০৫ AM সময়ে প্রকাশিত · ক্যাটালগ রিভিশন 5bc079fe355af2214bc0
অ্যাপের সঙ্গে আসা স্ন্যাপশট দেখানো হচ্ছে (কোনো কনটেন্ট উৎস কনফিগার করা নেই)। উৎসে নতুন কনটেন্ট থাকতে পারে।