nestjs-oop-design-patterns SKILL.md skillA

nestjs-oop-design-patterns from amirtaherkhani/nestjs-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add amirtaherkhani/nestjs-skills/nestjs-oop-design-patterns@v1.2.0

Pins v1.2.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
amirtaherkhani/nestjs-skills
Path
skills/nestjs-oop-design-patterns/SKILL.md
Versions recorded
6
Latest version
v1.2.0, committed Oct 11, 2026
First version recorded
Jul 24, 2026
Size
10,665 bytes
Repository stars
12
License
MIT

Applies pragmatic OOP, SOLID, object-design rules, and design patterns to NestJS and TypeScript code. Use when writing or refactoring controllers, providers, use cases, entities, value objects, repositories, adapters, factories, strategies, handlers, or tests; when diagnosing god services, primitive obsession, inheritance misuse, duplicated conditionals, or leaky abstractions; and when selecting a pattern without over-engineering. Do not use for pure functional codebases or non-NestJS frontend…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# NestJS OOP and Design Patterns

Improve changeability and correctness through clear responsibilities, encapsulated invariants, and deliberate collaboration. Use patterns to solve observed forces, never as decoration.

## Pre-execution conflict guard

Before editing files or running any state-changing command, reconcile active instructions. Read-only inspection may continue.

### Prerequisites

Inspect repository instructions, installed versions, callers, tests, module wiring, and the observed design pressure. Preserve behavior and user changes; do not select a pattern before architecture/runtime constraints are known. Read other active skills only when their decisions overlap.

### Primary ownership

This skill owns object responsibilities, invariants, encapsulation, collaborator contracts, SOLID trade-offs, patterns, and behavior-preserving refactoring. When installed and relevant, coordinate with:

- `nestjs-architecture-principles`: module, dependency, data, and transaction boundaries.
- `nestjs-features-performance`: lifecycle, API/security, testing, runtime, and performance.
- `nestjs-professional-software-engineering`: implementation and verification.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add amirtaherkhani/nestjs-skills/nestjs-oop-design-patterns@sha256:b55312840c911f44

The line at the top of this page pins the label v1.2.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tkzblg2slrxrodww.svg)](https://markdownregistry.com/a/art_tkzblg2slrxrodww)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Jul 24, 2026 and Oct 11, 2026, about one every 16 days.

versioncommittedcommitsizeaudit
v1.2.0 latest2026-10-11 b688def 10,665 BA view · diff
v1.1.02026-10-07 18d3ef3 10,665 BA view · diff
v1.0.22026-10-07 f1bc400 10,665 BA view · diff
v1.0.22026-10-04 7c6a415 10,661 BA view · diff
v1.0.12026-08-02 bdf8d35 12,036 BA view · diff
v1.0.02026-07-24 4b74f77 11,815 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10665 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

amirtaherkhani/nestjs-skills · 12 stars · license MIT · pushed 2026-10-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tkzblg2slrxrodww
GET https://markdownregistry.com/api/v1/resolve?ref=amirtaherkhani/nestjs-skills/nestjs-oop-design-patterns
GET https://markdownregistry.com/api/v1/blob/b55312840c911f4492698e4ff0252c9b94ed323a8dabb0cde8d84a53d525a590

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from amirtaherkhani/nestjs-skills

AGENTS.md AGENTS.md file
amirtaherkhani/nestjs-skills · AGENTS.md
git:20261007.5a4902a · audit A · 12 stars
CLAUDE.md@integrations/claude CLAUDE.md file
amirtaherkhani/nestjs-skills · integrations/claude/CLAUDE.md
git:20261004.bcf9f60 · audit A · 12 stars
AGENTS.md@integrations/codex AGENTS.md file
amirtaherkhani/nestjs-skills · integrations/codex/AGENTS.md
git:20260802.bdf8d35 · audit A · 12 stars
nestjs-architecture-principles SKILL.md skill
amirtaherkhani/nestjs-skills · skills/nestjs-architecture-principles/SKILL.md · Designs and reviews NestJS application architecture using cohesive feature modules, modular monoliths, layered or…
v1.2.1 · audit A · 12 stars
nestjs-code-audit SKILL.md skill
amirtaherkhani/nestjs-skills · skills/nestjs-code-audit/SKILL.md · Audits an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one…
v1.0.3 · audit A · 12 stars
nestjs-feature-audit SKILL.md skill
amirtaherkhani/nestjs-skills · skills/nestjs-feature-audit/SKILL.md · Audits one NestJS feature against its documented roadmap on a specific Git branch and returns an evidence-backed…
v1.0.2 · audit A · 12 stars
nestjs-features-performance SKILL.md skill
amirtaherkhani/nestjs-skills · skills/nestjs-features-performance/SKILL.md · Selects and implements NestJS runtime features, error and API contracts, security, testing, DevOps, performance, and…
v1.4.1 · audit A · 12 stars
nestjs-git-commit-pr-message SKILL.md skill
amirtaherkhani/nestjs-skills · skills/nestjs-git-commit-pr-message/SKILL.md · Prepares and publishes intentional Git changes for NestJS projects. Use when the user asks to commit, push, create or…
v2.0.2 · audit A · 12 stars
nestjs-professional-software-engineering SKILL.md skill
amirtaherkhani/nestjs-skills · skills/nestjs-professional-software-engineering/SKILL.md · Designs, implements, refactors, debugs, reviews, and verifies production-quality NestJS and TypeScript software. Use…
v2.1.1 · audit A · 12 stars

Every file in amirtaherkhani/nestjs-skills

Browse by kind, by grade A, or by owner.