restcontroller-conventions

安装量: 40
排名: #17981

安装

npx skills add https://github.com/oimiragieo/agent-studio --skill restcontroller-conventions

Restcontroller Conventions Skill Must annotate controller classes with @RestController. Must specify class-level API routes with @RequestMapping, e.g. ("/api/user"). Class methods must use best practice HTTP method annotations, e.g, create = @postMapping("/create"), etc. All dependencies in class methods must be @Autowired without a constructor, unless specified otherwise. Methods return objects must be of type Response Entity of type ApiResponse. All class method logic must be implemented in a try..catch block(s). Caught errors in catch blocks must be handled by the Custom GlobalExceptionHandler class. Memory Protocol (MANDATORY) Before starting: cat .claude/context/memory/learnings.md After completing: Record any new patterns or exceptions discovered. ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

返回排行榜