# express-microservices-architecture

Guides your coding agent through building Express.js microservices. Covers gateway routing, event messaging, database isolation, and failure recovery.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 446 installs · ★ 62
- Author: manutej
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-backend-toolkit/skills/express-microservices-architecture/SKILL.md
- Updated: 2026-06-13
- HTML: https://affpapa.org/en/nevibecode/skills/express-microservices-architecture

## What it does

This skill equips coding agents with architectural standards for distributed Node.js applications. It directs the assistant to structure independent services with isolated databases, configure an API Gateway, and set up event-driven communication using brokers like RabbitMQ or Kafka.

Inside, the guide defines rules for middleware chains, router mounting, and resilient execution. It relies on four-argument middleware `(err, req, res, next)` for centralized error management and includes Circuit Breaker logic. For async operations, unhandled rejections fail silently unless forwarded through `next(err)`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill express-microservices-architecture -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/express-microservices-architecture/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/express-microservices-architecture/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill express-microservices-architecture -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/express-microservices-architecture/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill express-microservices-architecture -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/express-microservices-architecture/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install manutej/luxor-claude-marketplace express-microservices-architecture
```

2. **Manually: put the files in place**
- File: `.github/skills/express-microservices-architecture/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill express-microservices-architecture -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-backend-toolkit/skills/express-microservices-architecture
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/express-microservices-architecture/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill express-microservices-architecture -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-backend-toolkit/skills/express-microservices-architecture/SKILL.md

## When to use it
- route client requests to internal services via an API Gateway
- coordinate multi-service workflows using Saga orchestration or choreography
- decouple backend components with event producers and RabbitMQ or Kafka
- configure global error middleware handling async exceptions with `next(err)`
- separate database schemas across independent service boundaries

## Example prompts
- Create an Express API Gateway that routes traffic to user and order microservices
- Implement an event consumer for RabbitMQ in an Express service to process payment events
- Write centralized error handling middleware for async Express routes using `next(err)`

## Similar
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [claude-api](https://affpapa.org/en/nevibecode/skills/claude-api.md) — skill · 74198 installs
- [lark-im](https://affpapa.org/en/nevibecode/skills/lark-im.md) — skill · 472900 installs
- [lark-event](https://affpapa.org/en/nevibecode/skills/lark-event.md) — skill · 466800 installs
- [caveman-discover](https://affpapa.org/en/nevibecode/skills/caveman-discover.md) — skill · 104400 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs

From the same set: [manutej/luxor-claude-marketplace](https://affpapa.org/en/nevibecode/by/manutej/luxor-claude-marketplace.md) — 65 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
