Create Action

Use when creating, generating, or reviewing Hanami 2.x Action classes (route handlers, request handling, hanami controller equivalents). Generates Action classes with proper handle method signatures, configures dependency injection via Deps[], renders views with exposures, validates params, redirects, returns JSON responses, sets HTTP status codes, and implements halt-based error handling. Use when building a hanami action, wiring a new endpoint, handling params, or structuring request/response logic in a Hanami 2.x app.

igmarin 49bf819 3.9 KB Updated

File contents

igmarin/hanakai-yaku/tree/main/skills/actions/create-action commit 49bf81983a

Frequently asked questions

npx skillmds@latest add igmarin/create-action