elysiajs

Create ElysiaJS backend routes with validation, authentication, and plugin integration.

Updated May 14, 2026
One-click install
npx skills add https://github.com/soloamente/still --skill elysiajs-soloamente
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elysiajs
Source: https://github.com/soloamente/still/tree/main/.agents/skills/elysiajs
Command: npx skills add https://github.com/soloamente/still --skill elysiajs-soloamente

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires elysia, drizzle-orm, better-auth, zod, valibot, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of building backend services using ElysiaJS, a type-safe, high-performance framework, by providing comprehensive guidance and operational instructions.

Core Features & Use Cases

  • Routing & Handlers: Create and manage routes and handlers for your backend.
  • Validation: Implement validation using TypeBox or other schema libraries.
  • Authentication: Add JWT, session-based, or macro-based authentication.
  • Plugins: Integrate plugins for CORS, OpenAPI, Static files, and JWT.
  • Integration: Seamlessly integrate with external services like Drizzle ORM and Next.js.
  • Deployment: Get instructions for deploying ElysiaJS servers to production.
  • Use Case: If you need to create a RESTful API or a server that handles complex business logic, this Skill will help you get started quickly.

Quick Start

Run the following command to scaffold a new ElysiaJS application:

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 set up type-safe backend routing and validation in ElysiaJS?

To set up type-safe backend routing and validation in ElysiaJS, define routes and handlers using the framework's structure, then integrate schema validation using libraries like TypeBox, Zod, or Valibot to enforce data types.

Can I integrate Drizzle ORM and Better-auth into an ElysiaJS backend?

Yes, you can integrate Drizzle ORM for database operations and Better-auth for authentication into an ElysiaJS backend. This Skill provides operational instructions for seamlessly connecting these external libraries to your server.

What is the best way to add JWT and session-based authentication to a Bun backend?

The best way to add JWT and session-based authentication to a Bun backend is using ElysiaJS macros and plugins. This Skill guides you through implementing secure authentication flows, including macro-based and JWT setups.

Does ElysiaJS support plugins for CORS, OpenAPI, and static file serving?

Yes, ElysiaJS supports plugins for CORS, OpenAPI documentation, and static file serving. You can integrate these plugins to extend your backend server's capabilities and handle cross-origin requests or serve assets.

How do I deploy an ElysiaJS backend server to production?

To deploy an ElysiaJS backend server to production, follow the deployment guidance provided by this Skill. It offers instructions for taking your type-safe, high-performance RESTful API from local development to a live production environment.

Can I use ElysiaJS with Next.js for complex business logic and RESTful APIs?

Yes, you can use ElysiaJS with Next.js to handle complex business logic and RESTful APIs. This Skill provides integration instructions for connecting your ElysiaJS backend server seamlessly with Next.js applications.