micro

Build lightweight HTTP microservices with the micro library in Node.js.

246|42|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/vercel/vercel-plugin --skill micro-vercel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: micro
Source: https://github.com/vercel/vercel-plugin/tree/main/skills/micro
Command: npx skills add https://github.com/vercel/vercel-plugin --skill micro-vercel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build lightweight HTTP microservices with the micro library, enabling minimal boilerplate for single-purpose endpoints.

Core Features & Use Cases

  • Core API: json, text, buffer, and send for quick endpoint responses
  • Development tooling: micro-dev hot-reload and simple composition for middleware-like behavior
  • Use Case: Create a tiny API endpoint that responds with JSON data for a given route

Quick Start

Run npm start to launch your first micro endpoint.

Frequently Asked Questions about micro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a lightweight HTTP microservice in Node.js?

To create a lightweight HTTP microservice in Node.js, use the micro library to define async functions for single-endpoint servers with minimal boilerplate. It provides core APIs like json, text, buffer, and send for quick responses.

What is the best way to build a simple API endpoint that returns JSON?

The best way to build a simple API endpoint returning JSON is using micro's core json API. This approach enables minimal boilerplate for single-purpose endpoints, allowing you to quickly respond with JSON data for a given route.

Can I use micro for single-endpoint servers without complex framework overhead?

Yes, you can use micro for single-endpoint servers without complex framework overhead. It is specifically designed as an async HTTP microservice library to enable minimal boilerplate for single-purpose endpoints in Node.js.

How do I set up hot-reload development tooling for Node.js microservices?

To set up hot-reload development tooling for Node.js microservices, use the micro-dev package alongside the micro library. Run npm start to launch your endpoint and leverage micro-dev for automatic hot-reloading during development.

Does micro support middleware-like composition patterns for HTTP requests?

Yes, micro supports middleware-like composition patterns for HTTP requests. The library enables simple composition, allowing you to layer middleware-like behavior over your async functions for lightweight microservices.

When should I not use micro for building an HTTP server?

You should not use micro when building large-scale, multi-route HTTP servers requiring complex routing or heavy middleware ecosystems. It is designed specifically for small, single-purpose microservices and simple API endpoints with minimal boilerplate.