Instructions for code review on klabis project. Use everytime when code review is requested.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Instructions for code review on klabis project. Use everytime when code review is requested.
user-invocable
false
Code review areas
project best practises
load backend-patterns skill when reviewing backend code
testing best practises
test coverage of new features, review of tests for changed or removed parts for changes / unnecessary tests
remove dead or unused code
KISS
Additional criteria for HATEOAS API
if API response contains ID referencing another domain object, it must contain also _link record for such domain object
For example Event detail contains coordinatorId - refenrece to Member object -> it must also define link to referenced object using klabisLinkTo (creating _links.coordinator.href in HAL+JSON response)
Additional criteria for Frontend code
data referenced in HAL response in _links and _affordance are fetched exclusively through useHalResource