Build API Slice

Use when building a REST API, scaffolding API endpoints, or creating a JSON API resource in a Hanami 2.x application. Creates a new Hanami slice, generates controller actions, defines RESTful routes, writes request specs, and performs a code review. Handles JSON serialization, parameter validation, and error responses for API endpoints.

igmarin f436c48 3.5 KB Updated

File contents

igmarin/hanakai-yaku/tree/main/skills/personas/build-api-slice commit f436c48b71

Frequently asked questions

npx skillmds@latest add igmarin/build-api-slice