elysia とは?
エラー処理、ステータス応答、プラグイン構成のための Elysia.js サーバー パターン。 Elysia ルート ハンドラーを作成する場合、HTTP エラーを返す場合、プラグインを作成する場合、または Eden Treaty タイプ セーフを使用する場合に使用します。 ソース: epicenterhq/epicenter。
エラー処理、ステータス応答、プラグイン構成のための Elysia.js サーバー パターン。 Elysia ルート ハンドラーを作成する場合、HTTP エラーを返す場合、プラグインを作成する場合、または Eden Treaty タイプ セーフを使用する場合に使用します。
コマンドラインで elysia AI スキルを開発環境にすばやくインストール
ソース: epicenterhq/epicenter。
Never use set.status + return object. Always destructure status from the handler context and use it for all non-200 responses. This gives you:
Both work. The framework handles either. The difference is purely control flow:
| return status(...) | Normal return, continues to response pipeline | You're at a natural return point (validation guards, end of handler) | | throw status(...) | Short-circuits execution immediately | You're deep in nested logic or inside a try/catch and want to bail out |
エラー処理、ステータス応答、プラグイン構成のための Elysia.js サーバー パターン。 Elysia ルート ハンドラーを作成する場合、HTTP エラーを返す場合、プラグインを作成する場合、または Eden Treaty タイプ セーフを使用する場合に使用します。 ソース: epicenterhq/epicenter。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/epicenterhq/epicenter --skill elysiaエラー処理、ステータス応答、プラグイン構成のための Elysia.js サーバー パターン。 Elysia ルート ハンドラーを作成する場合、HTTP エラーを返す場合、プラグインを作成する場合、または Eden Treaty タイプ セーフを使用する場合に使用します。 ソース: epicenterhq/epicenter。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/epicenterhq/epicenter --skill elysia インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/epicenterhq/epicenter