Skip to content
Back to skills

Api Development 5

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmenttypescriptbashapiperformance

Works with

  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill api-development-5 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Development 5?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Development 5
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-api-development-5/badge)](https://www.skillsdirectory.com/skills/david-li0406-api-development-5)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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](../../docs/api-patterns.md) for full reference.

**Quick example**:
```typescript
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…