koa

Installation
SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Build Node.js HTTP services with Koa and its onion-model middleware
  • Configure routing (koa-router), body parsing, error handling, and static files
  • Compose async middleware with ctx and next patterns
  • Create lightweight REST APIs or web applications

How to use this skill

Workflow

  1. Create app — instantiate Koa and add middleware in order
  2. Add routing — use @koa/router for route definitions
  3. Handle errors — add error middleware at the top of the stack
  4. Deploy — run behind reverse proxy with HTTPS

Quick Start Example

Related skills

More from teachingai/full-stack-skills

Installs
41
GitHub Stars
381
First Seen
Jan 24, 2026