agentsclimarketplace

Riligar dev manager

Skill riligar/agents-kit/.agent/skills/riligar-dev-manager

RiLiGar Agents Kit - Curated collection of AI Agent templates, skills, and rules designed to standardize and supercharge your AI-driven development workflows.

Install
npx -y skills add riligar/agents-kit --skill riligar-dev-manager

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Elysia backend development patterns for Bun. Use when building APIs, routes, plugins, validation, middleware, and error handling with Elysia framework.

SKILL.md

4.6 KB, as published. Nobody here has run it

Elysia Backend Development

Build fast, type-safe APIs with Elysia + Bun.

Mandatory Guidelines

[!IMPORTANT] All work in this skill MUST adhere to rules em .agent/rules/ — clean-code, code-style, javascript-only, naming-conventions.

Quick Reference

import { Elysia, t } from 'elysia'

const app = new Elysia()
    .get('/', () => 'Hello Elysia')
    .post('/users', ({ body }) => createUser(body), {
        body: t.Object({
            name: t.String(),
            email: t.String({ format: 'email' }),
        }),
    })
    .listen(3000)

Content Map

FileDescriptionWhen to Read
elysia-basics.mdSetup, routes, handlers, contextStarting new project
elysia-plugins.mdPlugins, guards, modular designOrganizing code
elysia-validation.mdTypeBox validation (body, query, params)Input validation
elysia-lifecycle.mdHooks (onBeforeHandle, onError, etc.)Middleware, auth checks
elysia-patterns.mdREST patterns, responses, paginationAPI design

Project Structure

src/
├── index.js           # Entry point
├── routes/
│   ├── index.js       # Route aggregator
│   ├── users.js       # User routes plugin
│   └── posts.js       # Post routes plugin
├── services/
│   ├── user.js        # Business logic
│   └── post.js
├── database/
│   ├── db.js          # Drizzle connection
│   ├── schema.js      # Drizzle schema
│   └── migrations/
└── middleware/
    ├── auth.js        # Auth middleware
    └── logger.js      # Request logging

Dependencies

PacoteVersãoDescrição
bunlatestRuntime
elysialatestFramework HTTP
bun:sqlitebuiltinSQLite driver
drizzle-ormlatestORM
bun:s3latestS3/R2 Storage

Core Patterns

Route Plugin

// routes/users.js
import { Elysia, t } from 'elysia'
import { getUserById, createUser } from '../services/user'

export const userRoutes = new Elysia({ prefix: '/users' })
    .get('/', () => getAllUsers())
    .get('/:id', ({ params }) => getUserById(params.id))
    .post('/', ({ body }) => createUser(body), {
        body: t.Object({
            name: t.String({ minLength: 1 }),
            email: t.String({ format: 'email' }),
        }),
    })

Main App

// index.js
import { Elysia } from 'elysia'
import { userRoutes } from './routes/users'
import { postRoutes } from './routes/posts'

const app = new Elysia()
    .onError(({ error, set }) => {
        console.error(error)
        set.status = 500
        return { error: 'Internal Server Error' }
    })
    .use(userRoutes)
    .use(postRoutes)
    .listen(3000)

console.log(`Server running at ${app.server?.url}`)

Related Skills

NeedSkill
Authentication@[.agent/skills/riligar-dev-auth-elysia]
database@[.agent/skills/riligar-dev-database]
Infrastructure@[.agent/skills/riligar-infra-fly]

Decision Checklist

Before building an API:

  • Defined route structure and prefixes?
  • Planned validation for all inputs?
  • Error handling configured?
  • Auth middleware needed? → Use riligar-dev-auth-elysia
  • database connection setup? → Use riligar-dev-database

Anti-Patterns

Don'tDo
Put business logic in handlersExtract to services/
Skip input validationUse TypeBox (t.Object)
Ignore error handlingUse onError lifecycle
Create monolithic filesSplit into plugins
Use verbs in routes (/getUser)Use nouns (/users/:id)

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.