nestjs-architecture-principles SKILL.md skillA

nestjs-architecture-principles 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-architecture-principles@v1.2.1

Pins v1.2.1 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-architecture-principles/SKILL.md
Versions recorded
7
Latest version
v1.2.1, committed Oct 16, 2026
First version recorded
Jul 24, 2026
Size
9,509 bytes
Repository stars
12
License
MIT

Designs and reviews NestJS application architecture using cohesive feature modules, modular monoliths, layered or hexagonal boundaries, dependency inversion, and pragmatic engineering principles. Use when planning a NestJS project, changing module boundaries, evaluating Clean Architecture or DDD, resolving circular dependencies, defining ports and adapters, reviewing coupling, or deciding whether CQRS or microservices are justified. Do not use for pure frontend work or non-NestJS backends.…

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 Architecture and Principles

Make architecture decisions from the repository's actual constraints. Prefer the least complex design that protects the required boundaries and can evolve safely.

## 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, module wiring, contracts, callers, tests, and affected commands. Preserve user changes. Read other active skills only when their decisions overlap.

### Primary ownership

This skill owns architecture level, capability/module APIs, dependency direction, data/write and transaction boundaries, ports, and service extraction. When installed and relevant, coordinate with:

- `nestjs-oop-design-patterns`: object responsibilities, invariants, and patterns.
- `nestjs-features-performance`: lifecycle, API/security, testing, runtime, and performance.
- `nestjs-professional-software-engineering`: implementation and verification.
- `nestjs-code-audit`: read-only quality evidence and deduplicated reporting.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add amirtaherkhani/nestjs-skills/nestjs-architecture-principles@sha256:caaf2bb9a789fe63

The line at the top of this page pins the label v1.2.1, 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_57l2i2pxpdh5eerl.svg)](https://markdownregistry.com/a/art_57l2i2pxpdh5eerl)

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

Versions

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

versioncommittedcommitsizeaudit
v1.2.1 latest2026-10-16 31f798a 9,509 BA view · diff
v1.2.02026-10-11 b688def 9,509 BA view · diff
v1.1.22026-10-04 7c6a415 9,386 BA view · diff
v1.1.12026-08-02 bdf8d35 10,779 BA view · diff
v1.1.02026-07-24 4b74f77 10,559 BA view · diff
v1.1.02026-07-24 6fb06c6 10,545 BA view · diff
v1.1.02026-07-24 1231129 10,405 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 (9509 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_57l2i2pxpdh5eerl
GET https://markdownregistry.com/api/v1/resolve?ref=amirtaherkhani/nestjs-skills/nestjs-architecture-principles
GET https://markdownregistry.com/api/v1/blob/caaf2bb9a789fe63451ab40508cc98d0bc05ddd9e80804f121ce7b6e08cea88c

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-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-oop-design-patterns SKILL.md skill
amirtaherkhani/nestjs-skills · skills/nestjs-oop-design-patterns/SKILL.md · Applies pragmatic OOP, SOLID, object-design rules, and design patterns to NestJS and TypeScript code. Use when writing…
v1.2.0 · 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.