elysiajs

Develop ElysiaJS backend APIs with routing, validation, and WebSocket support.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ShaulLavo/ellie --skill elysiajs-shaullavo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elysiajs
Source: https://github.com/ShaulLavo/ellie/tree/main/.agents/skills/elysiajs
Command: npx skills add https://github.com/ShaulLavo/ellie --skill elysiajs-shaullavo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and examples (resource) and plugins (resource) and integrations (resource) and patterns (resource) components.

What problem does it solve?

This Skill streamlines the development of robust and type-safe backend applications by providing comprehensive guidance and examples for using the ElysiaJS framework.

Core Features & Use Cases

  • Rapid API Development: Quickly set up routes, handle HTTP methods, and manage path/query parameters.
  • Type Safety & Validation: Implement strong input and output validation using TypeBox, Zod, or Valibot.
  • Plugin Integration: Easily add functionality like authentication, CORS, static file serving, and more.
  • Use Case: Develop a RESTful API for a new web application, ensuring all incoming requests are validated and all outgoing responses conform to a defined schema.

Quick Start

Create a new ElysiaJS project by running bun create elysia app.

Frequently Asked Questions about elysiajs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a type-safe API backend with ElysiaJS?

You can build a type-safe API backend with ElysiaJS by defining routes and applying schema validation using TypeBox, Zod, or Valibot to ensure incoming requests and outgoing responses conform to strict types.

How do I validate request data in a Bun web framework?

Validate request data in a Bun web framework by integrating TypeBox, Zod, or Valibot schemas into your ElysiaJS routes, which automatically enforces type safety on path and query parameters.

Can I implement WebSocket connections for real-time applications in ElysiaJS?

Yes, ElysiaJS supports WebSocket implementation for real-time applications, allowing you to manage persistent connections alongside standard HTTP routing and API development.

Does ElysiaJS work with Zod and Valibot for schema validation?

ElysiaJS works seamlessly with Zod, Valibot, and TypeBox for schema validation, enabling robust input and output validation to maintain type safety across your backend API endpoints.

What is the best way to structure plugins and authentication in a TypeScript backend?

The best way to structure plugins and authentication in a TypeScript backend is using ElysiaJS plugin integration patterns, which allow you to easily add modular functionality like auth and CORS.

How do I handle routing and guards when developing an API with ElysiaJS?

Handle routing and guards in ElysiaJS by utilizing its advanced architectural patterns, applying guards to protect routes and using macros to extend functionality across your API endpoints.