api-development

See API patterns for full reference.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "api-development" with this command: npx skills add programming-in-th/programming.in.th/programming-in-th-programming-in-th-api-development

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

component-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

api-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

api-development

No summary provided by upstream source.

Repository SourceNeeds Review