nestjs-service-tdd

Community

Master NestJS service TDD with red-green-refactor.

Authorapireaisecurity
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill guides developers to systematically implement and validate NestJS services using a strict Test-Driven Development workflow (RED → GREEN → REFACTOR), reducing regression risk and improving code quality.

Core Features & Use Cases

  • Enforces a canonical testing pattern based on a real project example (backend/src/tests/llm-analyzer.test.ts) to drive service development.
  • Provides step-by-step workflow for creating failing tests, implementing minimal code to pass, and refactoring with mock providers and TestingModule patterns.
  • Suitable for adding new methods, modifying existing logic, or introducing new services across modules with consistent test discipline.

Quick Start

Follow the RED-GREEN-REFACTOR cycle for a NestJS service, using backend/src/tests/llm-analyzer.test.ts as the guide.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nestjs-service-tdd
Download link: https://github.com/apireaisecurity/apire-ai-security-platform/archive/main.zip#nestjs-service-tdd

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.