Claude Code Plugins

Community-maintained marketplace

Feedback

Use when creating or modifying Elysia API routes. Ensures proper validation with t schema, auth guards, error handling, and performance patterns.

Install Skill

Shared

Installs to .agents/skills, used by Codex, Amp, Warp, Cursor, OpenCode, and more.

CodexAmp
Warp
CursorOpenCode
Cline
Gemini CLI
GitHub Copilot
Personal

Available across projects.

$npx skills-installer add @programming-in-th/programming.in.th/api-development --client shared
Project

Writes to .agents/skills.

$npx skills-installer add @programming-in-th/programming.in.th/api-development -p --client shared
Note: Review the skill instructions before using it.

SKILL.md

name api-development
description Use when creating or modifying Elysia API routes. Ensures proper validation with t schema, auth guards, error handling, and performance patterns.
allowed-tools Read, Edit, Write, Glob, Grep, Bash

See API patterns for full reference.

Quick example:

import { Elysia, t } from 'elysia'
import { prisma } from '@/lib/prisma'

new Elysia()
  .get('/tasks/:id', async ({ params, status }) => {
    const task = await prisma.task.findUnique({
      where: { id: params.id },
      select: { id: true, title: true }
    })
    if (!task) return status(404, { error: 'Not found' })
    return task
  }, {
    params: t.Object({ id: t.String() })
  })

Checklist: t.Object validation, auth guards, selective Prisma fields, pagination, proper status codes.