create-mockdb-repository

Community

In-memory repos for fast testing.

Authormadooei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides an in-memory MockDB repository implementation to accelerate development and testing by simulating a data layer without a real database.

Core Features & Use Cases

  • In-memory data store using an array
  • CRUD operations (create, read, update, delete)
  • Paginated, filtered queries with sorting
  • Useful for unit tests, fixtures, and prototyping

Quick Start

Create src/repositories/mockdb/{entity}.mockdb.repository.ts and implement the MockDb{Entity}Repository class following the reference pattern.

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: create-mockdb-repository
Download link: https://github.com/madooei/backend-template/archive/main.zip#create-mockdb-repository

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 223,000+ vetted skills library on demand.