A collection of 11 skills for NestJS backend development. Covers API library structure, CQRS, Redis patterns, scheduled tasks, feature flags, and testing.
Compatible with Claude Code and OpenAI Codex.
| Skill | Description |
|---|---|
add-bundle-config |
Use when setting up or modifying the top-level bundle orchestrator for an API, CMS, or Web app. The bundle wires together all feature modules and exposes a fluent configuration builder. |
add-crud-list |
Use when adding a paginated list endpoint to a NestJS feature. Covers CrudService.find() pattern to avoid duplicating find+count+pagination logic in every service. |
add-env-service |
Use when adding environment variable handling to a NestJS API. EnvService provides typed, validated access to process.env — throws on missing required vars at startup. |
add-integration-tests |
Use when writing E2E or integration tests for a NestJS API feature. Tests run against a live API via node-access HTTP clients and cover full request-response cycles. |
create-api-library |
Use when adding NestJS backend implementation for a new feature. Covers controller, service, entity, mapper structure and how to register the module in the bundle. |
create-node-access-library |
Use when creating the Node.js HTTP client layer for E2E tests or server-side scripts. Promise-based wrappers with the same endpoint contract as data-access. |
setup-smtp |
Use when adding email sending capability to a project. Covers Brevo SMTP for test/prod, Gmail for local dev, required env variable names. |
use-cqrs |
Use when implementing CQRS commands, queries, or events in NestJS. All handlers must use cqrs(), cqrsCommand(), or cqrsQuery() wrappers for error handling and structured logging. |
use-feature-flag |
Use when adding a feature flag to a NestJS API. Allows enabling/disabling endpoint groups at runtime via config without code changes. |
use-redis-patterns |
Use when implementing Redis-based patterns in NestJS. Covers distributed lock, session lock, and progress tracking. |
use-watcher-pattern |
Use when adding a scheduled background task to a NestJS API. Covers the Watcher pattern — @Interval() service with distributed lock to guarantee single-node execution in a cluster. |
claude plugin add m8ig/nestjs-api-skills
git clone https://github.com/m8ig/nestjs-api-skills /tmp/nestjs-api-skills
cp -r /tmp/nestjs-api-skills/skills/* ~/.codex/skills//create-api-library
/use-cqrs
/use-redis-patterns
$create-api-library
$use-cqrs
Skills also activate automatically when your task matches the skill description.