Index of every page on this site: llms.txt
All skills
amirtaherkhani avatar

/nestjs-professional-software-engineering

@8272374
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/amirtaherkhani/nestjs-skills/nestjs-professional-software-engineering

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencessyntax-and-idioms.md

≈799 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Syntax and Idiom Selection

Choose syntax from evidence in the target repository, not from memory or fashion.

Evidence ladder

  1. Read the nearest project instructions, formatting configuration, compiler settings, dependency manifest, and analogous code.
  2. Confirm exact language, runtime, framework, and dependency versions.
  3. Inspect installed type declarations, source, generated API contracts, or CLI help when available.
  4. Use official documentation that applies to those versions.
  5. Run a focused type-check or minimal experiment when overload resolution, inference, generated code, decorators, macros, or runtime semantics remain unclear.

Do not copy syntax from a newer release into an older project. Do not infer feature support from a lockfile entry alone when compiler configuration or runtime targets can disable it.

Comparison questions

For each candidate form, ask:

  • Is it accepted by the actual compiler, formatter, linter, and runtime?
  • Does it match nearby code and the team's vocabulary?
  • Are types inferred accurately at both declaration and call sites?
  • Are effects, errors, allocation, network calls, and state changes visible enough?
  • Is the control flow easy to debug and the stack trace useful?
  • Does it preserve tree-shaking, serialization, reflection, decorators, or code generation where those matter?
  • Is the explicit form clearer for this one use?

Prefer the simplest form that answers these questions well. “Modern” is not a sufficient reason by itself.

Framework-native syntax

Use the framework's supported composition and lifecycle mechanisms before creating custom wrappers. Confirm names, options, and signatures from installed packages or official docs. A wrapper is justified when it establishes a stable application-owned contract, removes verified repetition, or prevents a recurring misuse—not merely to rename a framework call.

Examples

Prefer a plain function over a fluent builder when there is one required operation:

const quote = calculateQuote(input);

A builder may help when ordered or optional construction rules are genuinely complex and validation can occur at one boundary:

const request = PaymentRequest.create(reference)
  .withAmount(amount)
  .withIdempotencyKey(key)
  .build();

The builder must not hide that build() performs network I/O; creation should remain local and effects should use an explicit verb such as send() or execute().

Verification record

When syntax is a central decision, record the relevant version, repository precedent, official source, focused experiment if used, and why rejected alternatives were less clear or less compatible.

For array, Record, Map, Set, tuple, accumulator and early-exit choices, use the tested examples/collections/README.md repository example. Confirm the ordering and duplicate/equality contract before replacing repeated find calls with an index or membership checks with a Set. Use a fresh local accumulator when building a result; repeated spread copies previous results, while mutating a caller-owned array changes the API contract. Treat parsed JSON as unknown until runtime checks narrow it.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning4d3 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    The skill provides a comprehensive and secure framework for professional NestJS software engineering. It emphasizes idiomatic syntax, input validation, and rigorous verification using project-specific tools, with no evidence of malicious behavior or security risks.

  • Socket4d

    No alerts

  • Snyk4d

    Risk: MEDIUM · 1 issue

Signed by skilld at 8272374. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 5 days ago
metadata
{
  "author": "amirtaherkhani",
  "version": "2.1.1"
}

README badge

README badge for amirtaherkhani/nestjs-skills/nestjs-professional-software-engineering