Backend Expert
Installation
SKILL.md
Backend Expert Skill (Spring Boot + MyBatis)
This skill provides specialized knowledge for developing and debugging backend services in the RuoYi-Vue ecosystem.
🏗️ Core Principles
- Layered Architecture: Controller -> Service -> Mapper -> XML -> DB.
- RuoYi Conventions:
- Use
@PreAuthorizefor permission control. - Use
SecurityUtils.getUserId()to get current user securely. - Use
AjaxResultfor all Controller returns. - Use
TableDataInfofor pagination returns.
- Use
- MyBatis Strictness: XML SQL columns usually use
snake_case, Java entities usecamelCase. ResultMaps are mandatory for complex queries.