Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nestjs-features-performance

БесплатноБез исполняемых скриптовНе проверен

Selects and implements NestJS runtime features, error and API contracts, security, testing, DevOps, performance, and safe scale. Use for middleware, guards…

aiskillstoreот aiskillstore★ 509 звёзд на GitHub

Об этом скилле

NestJS Features, Scaling, and Performance

Choose the NestJS primitive whose lifecycle matches the concern. Diagnose the limiting resource before optimizing or distributing the system.

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, bootstrap/transport and deployment configuration, tests, operational contracts, and baseline measurements. Preserve user changes; establish lifecycle, evidence, environment, and authorization before choosing an optimization or delivery action. Read other active skills only when their decisions overlap.

Primary ownership

This skill owns Nest lifecycle, API/error/security contracts, test layers, performance evidence, reliability, observability, and runtime delivery. When installed and relevant, coordinate with:

  • nestjs-architecture-principles: module, dependency, data, and transaction boundaries.
  • nestjs-oop-design-patterns: object responsibilities, invariants, and patterns.
  • nestjs-professional-software-engineering: implementation and verification.
  • nestjs-code-audit: read-only quality evidence and deduplicated reporting.
  • nestjs-feature-audit: branch-specific roadmap gate and feature reporting.
  • nestjs-git-commit-pr-message: authorized Git publication and CI follow-up.

These are decision boundaries, not required dependencies. Retain domain ownership when handing work to another workflow.

Conflict test

Check for incompatible edits/contracts, command order or side effects, competing owners, and unmet version, evidence, authorization, or repository prerequisites. Resolve using explicit user intent, repository contracts, verified runtime constraints, then the narrowest owner. Assign one lead per decision; do not create parallel designs to satisfy incompatible advice. If a material conflict remains, stop before mutation and ask for the smallest missing decision. Audits stay read-only; explicit fix authorization applies in a distinct implementation phase.

Establish the runtime baseline

Before recommending or changing behavior:

  1. Read the installed NestJS/Node versions, bootstrap code, adapter, modules, transports, persistence clients, cache/queue setup, and deployment manifests.
  2. Trace one representative request, message, or job through guards, pipes, interceptors, handlers, providers, persistence, and external calls.
  3. Identify the current symptom and evidence: latency percentiles, throughput, error rate, event-loop delay, CPU, heap/GC, database time, pool saturation, external latency, or queue lag.
  4. Define a target and workload. "Make it faster" is not a measurable acceptance criterion.
  5. Check framework and library APIs against official documentation and the repository version.

Never claim a performance improvement from code appearance. Measure before and after under a representative workload.

Put behavior in the correct NestJS feature

Use references/feature-selection.md.

General HTTP lifecycle:

request
  -> middleware
  -> guards
  -> interceptors (before)
  -> pipes
  -> controller/resolver + providers
  -> interceptors (after, reverse order)
  -> exception filters for uncaught errors
  -> response

Defaults:

  • Middleware: raw protocol preprocessing and correlation context.
  • Guard: authentication/authorization decision for an execution context.
  • Pipe: input validation and transformation.
  • Interceptor: behavior around handler execution, response mapping, timing, tracing, or compatible caching.
  • Exception filter: final protocol-specific error mapping.
  • Decorator: declarative metadata or extraction of established context, not hidden I/O.
  • Provider/application operation: business behavior and orchestration.
  • Queue/worker: durable, deferred, bursty, or resource-heavy work.
  • Event: a completed fact with independent reactions; choose in-process versus durable delivery explicitly.

For API and transport guidance, load references/api-runtime.md. Use the focused rulebooks for error handling, security, testing, API design, and deployment when those risks are in scope.

Diagnose performance by resource

Use references/performance-diagnosis.md.

Classify the primary constraint before selecting a remedy:

Constraint Evidence Typical first moves
Event-loop blocking High event-loop delay/utilization, CPU callback hotspots Remove synchronous work; bound input; offload CPU work
Database Slow queries, N+1, pool waits, locks, high rows scanned Fix query shape/indexes; bound results; shorten transactions
External I/O
Полный SKILL.md на GitHub

Установить nestjs-features-performance в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.jsonreferences/api-design.mdreferences/api-runtime.mdreferences/ci-cd-containers.mdreferences/devops-deployment.mdreferences/error-handling.mdreferences/error-taxonomy-contracts.mdreferences/exception-filters-transports.mdreferences/failure-resilience-testing.mdreferences/feature-selection.mdreferences/kubernetes-operations.mdreferences/observability-sre.mdreferences/performance-diagnosis.mdreferences/production-readiness.mdreferences/scaling-reliability.mdreferences/security.mdreferences/testing.mdskill-report.json

FAQ

Что делает скилл nestjs-features-performance?

Selects and implements NestJS runtime features, error and API contracts, security, testing, DevOps, performance, and safe scale. Use for middleware, guards, pipes, interceptors, exception filters, typed failures/results, Problem Details, validation errors, HTTP/GraphQL/RPC/gRPC/WebSocket error mapping, deadlines, cancellation, retry classification, fatal process errors, authentication, authorization, caching, queues, schedulers, CI/CD, containers, Kubernetes, configuration and secrets, migrations, supply-chain controls, health probes, logs/metrics/traces, SLOs and alerts, incident recovery, rollout and rollback, event-loop or database bottlenecks, load tests, horizontal scaling, idempotency, backpressure, and graceful shutdown. Do not use for frontend-only performance or non-NestJS services. When other skills also apply, reconcile ownership before mutation.

Как установить скилл nestjs-features-performance?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nestjs-features-performance запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nestjs-features-performance с