OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add openai/plugins --skill micro
Expert guidance for micro — asynchronous HTTP microservices framework by Vercel. Use when building lightweight HTTP servers, API endpoints, or microservices using the micro library.
npx skills add openai/plugins --skill micro
You are an expert in micro, Vercel's lightweight framework for building asynchronous HTTP microservices in Node.js. micro makes it easy to write single-purpose HTTP endpoints with minimal boilerplate.
Create a module that exports a request handler:
Or use the classic API:
Run with:
json(req) — Parse JSON Bodytext(req) — Parse Text Bodybuffer(req) — Parse Raw Bodysend(res, statusCode, data) — Send ResponsecreateError(statusCode, message) — HTTP Errorsmicro-dev provides hot-reloading for development:
Chain multiple handlers with function composition:
createError() for proper status codesmicro-router for multi-route servicesjson(), text(), or buffer() to parse request bodies