create-api

Generate Next.js API routes with authentication, Zod validation, and Korean error messages.

Updated Jan 1, 2026
Ready to run
npx skills add https://github.com/saintgo7/app-hospital-yoyang --skill create-api
๐Ÿ’ฌ Prompt for ChatGPT / Claude Chatโ–ผ
Please help me install this Agent Skill.
Skill: create-api
Source: https://github.com/saintgo7/app-hospital-yoyang/tree/main/.claude/skills/create-api
Command: npx skills add https://github.com/saintgo7/app-hospital-yoyang --skill create-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

์ด ์Šคํ‚ฌ์€ ์ธ์ฆ ์ฒดํฌ, ์ž…๋ ฅ ๊ฒ€์ฆ(Zod), ์ ์ ˆํ•œ ์—๋Ÿฌ ์ฒ˜๋ฆฌ ๋“ฑ์„ ํฌํ•จํ•˜๋Š” Next.js API ๋ผ์šฐํŠธ๋ฅผ ๋น ๋ฅด๊ฒŒ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • Authentication check: ๋กœ๊ทธ์ธ ์—ฌ๋ถ€๋ฅผ ํ•„์ˆ˜๋กœ ํŒ๋‹จํ•ฉ๋‹ˆ๋‹ค.
  • Input validation: Zod๋ฅผ ์‚ฌ์šฉํ•œ ์ž…๋ ฅ ๊ฒ€์ฆ.
  • Localized errors: ํ•œ๊ตญ์–ด ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ ์ œ๊ณต.
  • HTTP status codes: ์ ์ ˆํ•œ HTTP ์ƒํƒœ ์ฝ”๋“œ ๋ฐ˜ํ™˜.

Quick Start

Use the create-api skill to generate an API route at pages/api/users.ts with GET/POST handlers.