К основному содержанию
скилл CX Codex

nestjs-professional-software-engineering — скилл для Claude Code

Скилл nestjs-professional-software-engineering для Claude Code и Cursor проектирует, реализует, рефакторит и проверяет код на NestJS и TypeScript. Запускается при разработке новых функций, исправлении багов и написании тестов.

MIT 556 установок ★ 26 обновлён 2026-11-14

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add amirtaherkhani/nestjs-skills --skill nestjs-professional-software-engineering -a claude-code
Открыть на GitHub

Что делает nestjs-professional-software-engineering

Этот скилл отвечает за проверку проекта, написание чистого и поддерживаемого кода на TypeScript под NestJS, а также за запуск тестов и верификацию результатов. Перед началом работы он анализирует структуру репозитория и официальную документацию соответствующей версии, сохраняя публичное поведение интерфейсов.

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

Какие задачи решает

  • проектировать модули и сервисы на NestJS
  • рефакторить код на TypeScript
  • исправлять ошибки и баги в бэкенде
  • писать детерминированные тесты для API
  • проводить аудит и верификацию кода

Примеры запросов агенту

  • Спроектируй новый эндпоинт для авторизации в NestJS
  • Исправь баг с валидацией DTO в модуде пользователей
  • Напиши тесты для сервиса заказов

Как установить nestjs-professional-software-engineering

1Через Skills CLI (Vercel)

npx skills add amirtaherkhani/nestjs-skills --skill nestjs-professional-software-engineering -a claude-code

2Вручную: положить файлы

~/.claude/skills/nestjs-professional-software-engineering/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/nestjs-professional-software-engineering/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о nestjs-professional-software-engineering

Как установить nestjs-professional-software-engineering в Claude Code?

Выполните команды npx skills add amirtaherkhani/nestjs-skills --skill nestjs-professional-software-engineering -a claude-code и ~/.claude/skills/nestjs-professional-software-engineering/SKILL.md последовательно.

Что делает nestjs-professional-software-engineering?

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

Что нужно для работы nestjs-professional-software-engineering?

Для работы скилла требуется установленная среда разработки и поддерживаемый инструмент ИИ-кодинга, такой как Claude Code или Cursor.

Исходный текст

SKILL.md · MIT
---
name: nestjs-professional-software-engineering
description: 'Designs, implements, refactors, debugs, reviews, and verifies production-quality NestJS and TypeScript software. Use for NestJS feature development, bug fixes, APIs, libraries, testing, maintainability, developer experience, idiomatic syntax, or syntactic sugar. It inspects the current project and official version-appropriate documentation before selecting syntax, preserves public behavior, and tests the result. When other skills also apply, reconcile ownership before mutation.'
license: MIT
metadata:
  author: amirtaherkhani
  version: '2.1.1'
---

# Professional Software Engineering

Produce correct, idiomatic, secure, readable, maintainable, testable, and extensible NestJS software while respecting the existing project.

## 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, working tree, manifests, installed versions, source/callers, contracts, conventions, and checks. Preserve unrelated changes. Verify uncertain or version-sensitive syntax against installed types/source and official documentation; never invent an API. Read other active skills only when their decisions overlap.

### Primary ownership

This skill owns project inspection, minimal implementation, version-compatible syntax, API ergonomics, testing, and verification. 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-features-performance`: lifecycle, API/security, testing, runtime, and performance.
- `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.

## Required workflow

Before scaffolding or introducing a new boundary, record the [project profile](references/project-profile-and-scaffolding.md). Follow healthy local conventions and verify the installed generator/version contract.

For implementation requests, complete the workflow through mutation and verification. For review or diagnosis requests, inspect and report evidence without modifying files unless the user also authorizes implementation.

### 1. Inspect

1. Establish repository scope and applicable instructions.
2. Identify the language, framework, runtime, package manager, and exact relevant versions.
3. Read relevant implementation, callers, tests, configuration, manifests, and public contracts.
4. Search for analogous features and naming, error, test, and API conventions.
5. Determine focused and broader test, type-check, lint, format, build, and smoke-test commands.

Do not begin with a broad rewrite. Establish current behavior before changing it.

### 2. Understand

Define:

- requested outcome and observable acceptance criteria;
- affected boundaries and consumers;
- compatibility, security, data, performance, deployment, and migration implications;
- assumptions that would materially change the solution.

Ask only when a missing decision materially affects architecture, public behavior, security, data, cost, or compatibility.

### 3. Select the clearest valid syntax

Use this evidence order:

1. Existing repository conventions and compatible public behavior.
2. Installed compiler, runtime, package versions, types, and source.
3. Official version-appropriate language or framework documentation.
4. A minimal local experiment or type-check when documentation leaves ambiguity.
5. Community examples only as discovery evidence, never as the API contract.

Compare at least the direct, explicit form with any convenient syntax. Prefer modern idioms when they are supported, familiar in the project, and clearer at the call site and implementation site.

Load [syntax-and-idioms.md](references/syntax-and-idioms.md) when selecting language or framework syntax.

### 4. Design the smallest coherent change

The design must be:

- idiomatic for the detected language and framework;
- consistent with existing architecture and conventions;
- cohesive, testable, secure by default, and backward-compatible unless a break is authorized;
- explicit about meaningful state changes, effects, failure modes, cost, and control.

For public APIs, make common operations obvious and invalid usage difficult. Prefer progressive disclosure: a convenient path for common cases and a lower-level path only when callers need meaningful control.

Load [syntactic-sugar.md](references/syntactic-sugar.md) for the decision test and API examples.

### 5. Implement

- Use valid, modern syntax supported by the detected toolchain.
- Keep functions, classes, modules, components, and services focused.
- Follow established naming, formatting, organization, validation, and error conventions.
- Validate untrusted input at boundaries and protect sensitive information.
- Handle failures explicitly with actionable, non-leaking errors.
- Consider concurrency, transactions, idempotency, retries, timeouts, cancellation, cleanup, and observability when relevant.
- Avoid unnecessary dependencies, speculative abstractions, clever one-liners, hidden global state, implicit side effects, and unrelated cleanup.
- Comment intent and constraints, not self-explanatory syntax.

### 6. Test and verify

Add or update deterministic tests for observable behavior, relevant edge cases, invalid input, failure paths, security-sensitive behavior, regressions, and public compatibility.

Run the checks appropriate to the change:

1. Focused tests.
2. Broader tests when the risk warrants them.
3. Type checking or compilation.
4. Lint and formatting verification.
5. Build or packaging.
6. Runtime, generated-contract, or migration smoke checks when practical.

Do not weaken tests or controls to obtain a pass. Do not claim a check passed unless it ran successfully.

Load [implementation-verification.md](references/implementation-verification.md) for risk-based verification.

### 7. Report

Lead with the completed outcome, then state:

- important design and syntax decisions;
- files or areas changed;
- checks executed and their results;
- remaining limitations, risks, migrations, or follow-up.

Keep the report concise and distinguish verified facts from assumptions or unrun checks.

## Syntactic sugar rule

Use syntactic sugar only when it:

- reduces meaningful ceremony or repeated misuse;
- improves readability for the repository's actual maintainers;
- preserves predictable behavior, typing, debugging, and composability;
- does not conceal meaningful cost, I/O, state changes, network activity, authorization, transactions, error behavior, or lifecycle;
- preserves an explicit path when advanced callers need control; and
- can be documented and tested with realistic examples.

Reject sugar that merely shortens code, creates a private mini-language, overloads ambiguous inputs, relies on surprising coercion, or makes stack traces and errors harder to understand.

## Expected response

For implementation work, report the delivered behavior and verification. When syntax choice is central, also state:

- **Observed convention:** the relevant repository pattern.
- **Options considered:** explicit and convenient forms.
- **Selected syntax:** why it is supported and clearest.
- **Hidden-behavior check:** effects, cost, failures, and control that remain visible.
- **Compatibility:** affected callers and migration, if any.

Do not return only a proposed snippet when the user requested implementation.

## Reference routing

| Task | Load |
| --- | --- |
| Choose idiomatic, version-compatible syntax | [syntax-and-idioms.md](references/syntax-and-idioms.md) |
| Design or review syntactic sugar and public API ergonomics | [syntactic-sugar.md](references/syntactic-sugar.md) |
| Scope implementation and select verification depth | [implementation-verification.md](references/implementation-verification.md) |

© amirtaherkhani · MIT · amirtaherkhani/nestjs-skills

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

Все скиллы по теме «Бэкенд и API» →
nestjs-expert https://github.com/Jeffallan Скилл nestjs-expert для Claude Code и Codex помогает проектировать и писать NestJS-бэкенды на TypeScript. Создаёт REST API и GraphQL с enterprise-паттернами. CX Codex +1 6 400установок nestjs-patterns affaan-m Скилл nestjs-patterns задаёт архитектурные правила для бэкендов на NestJS и TypeScript: от структуры каталогов до валидации DTO и тестов. CX Codex +1 6 900установок nestjs-best-practices Kadajett Скилл nestjs-best-practices для Claude Code помогает писать, проверять и рефакторить код NestJS. Он подключается к задачам по архитектуре, безопасности и производительности. CX Codex +1 32 000установок nestjs-code-review-expert Giuseppe Trisciuoglio Субагент nestjs-code-review-expert для Claude Code проверяет NestJS-код после изменений и при разработке функций. Он разбирает архитектуру, практики TypeScript и качество тестов. CX Codex ★ 372звёзд репо typescript-nestjs-best-practices-cursorrules-promp PatrickJS Правило typescript-nestjs-best-practices-cursorrules-promp для TypeScript-проектов на NestJS: модульная архитектура, SOLID, чистый код и тестирование по Arrange-Act-Assert. CX Codex +1 ★ 41 178звёзд репо nestjs sanjeed5 Задаёт структуру NestJS-проекта: модули по фичам, явные типы, DTO с валидацией и глобальные фильтры ошибок. CX Codex +1 ★ 3 589звёзд репо

Из того же набора7

nestjs-architecture-principles Скилл nestjs-architecture-principles для Claude Code помогает проектировать и разбирать архитектуру приложений на NestJS. Включается при планировании модулей, поиске циклических зависимостей и оценке CQRS или микросервисов. CX Codex +1 592установок nestjs-oop-design-patterns Скилл nestjs-oop-design-patterns для Claude Code помогает применять ООП, SOLID и паттерны проектирования в NestJS и TypeScript. Подключается при написании и рефакторинге кода или поиске проблем в объектной модели. CX Codex +1 560установок nestjs-features-performance Скилл nestjs-features-performance для Claude Code помогает выбирать и внедрять функции NestJS для API, безопасности, тестирования и производительности. CX Codex +1 550установок nestjs-code-audit Скилл nestjs-code-audit для Claude Code и Codex проводит аудит репозитория на NestJS и формирует единый отчёт с проверенными проблемами. Запускается в режиме только для чтения без изменения кода проекта. CX Codex +1 515установок nestjs-feature-audit Скилл nestjs-feature-audit для Claude Code сверяет реализацию функции NestJS с дорожной картой и готовит отчёт с подтверждениями. Запускается по запросу проверить полноту функции, статус миграции или расхождения с планом. CX Codex +1 454установок nestjs-git-commit-pr-message Скилл nestjs-git-commit-pr-message для Claude Code готовит изменения NestJS-проекта к коммиту, push или pull request. Запускается по просьбе подготовить Git-сообщение, опубликовать изменения или проверить результат CI. CX Codex +1 410установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой