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 Updated 29 repo stars

File contents

igmarin/hanakai-yaku commit 49bf81983a

Frequently asked questions

npx get-skill add igmarin/create-action