Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

NestJS best practices: architecture, security, database v1.0.0

Use this resource to write or review a NestJS application following its architecture best practices

New

  • 504 downloads
  • 146 likes
  • 115 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install nestjs-architecture-best-practices

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies NestJS rules ranked by priority: architecture, dependency injection, errors, security, performance, testing, database and API design. You get NestJS code structured around these rules.

Mostly picked by

Updated November 2, 2026

Card for the “NestJS best practices: architecture, security, database” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: overview of the rules and priority categories
  • rules/: rules on modules, security, events, the repository pattern and migrations

Good fit for

  • You are structuring a new NestJS project
  • You refactor modules that became circular

Not for

    Tags

    • nestjs
    • architecture
    • dependency injection
    • api

    About

    You say

    “Restructure my NestJS modules to remove circular dependencies.”

    Card for the “NestJS best practices: architecture, security, database” skill

    Skill published by kadajett under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write or review a NestJS application following its architecture best practices
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • rules/_sections.md2.2 KB
    • rules/_template.md0.6 KB
    • rules/api-use-dto-serialization.md4.5 KB
    • rules/api-use-interceptors.md5.6 KB
    • rules/api-use-pipes.md5.5 KB
    • rules/api-versioning.md5.1 KB
    • rules/arch-avoid-circular-deps.md2.1 KB
    • rules/arch-feature-modules.md2.3 KB
    • rules/arch-module-sharing.md3.9 KB
    • rules/arch-single-responsibility.md3 KB
    • rules/arch-use-events.md3.1 KB
    • rules/arch-use-repository-pattern.md2.9 KB
    • rules/db-avoid-n-plus-one.md3.9 KB
    • rules/db-use-migrations.md3.9 KB
    • rules/db-use-transactions.md4.1 KB
    • rules/devops-graceful-shutdown.md6 KB
    • rules/devops-use-config-module.md4.5 KB
    • rules/devops-use-logging.md5.8 KB
    • rules/di-avoid-service-locator.md3 KB
    • rules/di-interface-segregation.md5.3 KB
    • rules/di-liskov-substitution.md7.3 KB
    • rules/di-prefer-constructor-injection.md2.3 KB
    • rules/di-scope-awareness.md2.6 KB
    • rules/di-use-interfaces-tokens.md2.6 KB
    • rules/error-handle-async-errors.md3.6 KB
    • rules/error-throw-http-exceptions.md3.2 KB
    • rules/error-use-exception-filters.md3.7 KB
    • rules/micro-use-health-checks.md6.1 KB
    • rules/micro-use-patterns.md5.1 KB
    • rules/micro-use-queues.md6.3 KB
    • rules/perf-async-hooks.md3 KB
    • rules/perf-lazy-loading.md3.9 KB
    • rules/perf-optimize-database.md3.3 KB
    • rules/perf-use-caching.md3.6 KB
    • rules/security-auth-jwt.md4.1 KB
    • rules/security-rate-limiting.md3.4 KB
    • rules/security-sanitize-output.md3.9 KB
    • rules/security-use-guards.md3.7 KB
    • rules/security-validate-all-input.md3.5 KB
    • rules/test-e2e-supertest.md4.9 KB
    • rules/test-mock-external-services.md4.7 KB
    • rules/test-use-testing-module.md4.4 KB
    • SKILL.md4.8 KB

    Origin and licence

    Listed unmodified

    Author
    kadajett
    Source
    github.com/kadajett/agent-nestjs-skills/tree/3986e0cede33958e000f959031cbee0cd83c2941/skills/nestjs-best-practices
    Licence
    MIT

    Notice

    « nestjs-best-practices » (kadajett, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.