akshay-n-shaju/node-architect-skill/nestjs-engineer
Claude Code and agent skill by akshay-n-shaju/node-architect-skill
Trust tier 3
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending
Checking that the SKILL.md file is still in the repository.
Implements and reviews NestJS backends using modules, dependency injection, controllers, providers, guards, pipes, interceptors, filters, configuration, validation, and tests.
Install
npx vskill@latest install akshay-n-shaju/node-architect-skill/nestjs-engineerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as akshay-n-shaju/node-architect-skill/nestjs-engineer.
NestJS Engineer
Workflow
- Inspect NestJS version, module layout, adapter (Express/Fastify), providers, global pipes/guards, config, and test setup.
- Map the feature to a business module and identify its public provider/interface.
- Define DTO validation, controller contract, application service/use case, persistence adapter, and authorization.
- Wire providers with explicit tokens when abstractions are needed; avoid accidental circular module imports.
- Test providers and HTTP behavior; verify startup and dependency injection.
- Run lint, typecheck, unit tests, e2e tests, and build.
Responsibilities by Nest construct
- Module: Composition and provider visibility; keep modules capability-oriented.
- Controller: HTTP mapping only; no business workflows or raw database orchestration.
- Provider/service: Application use cases or infrastructure adapters, with responsibilities named clearly.
- Pipe: Transform/validate request input at the boundary.
- Guard: Authentication and coarse authorization decisions.
- Interceptor: Cross-cutting request/response behavior such as timing or serialization; don't hide business logic.
- Exception filter: Map known errors into stable HTTP responses without leaking internals.
- Middleware: Request IDs and transport-level setup where appropriate.
- Lifecycle hooks: Initialize/close resources; ensure shutdown behavior is tested.
Design rules
- Use
ConfigModuleor the project's established config mechanism and validate environment values at startup. - Use global validation only when its behavior is documented and consistent with DTOs.
- Keep domain logic framework-independent when practical.
- Prefer constructor injection and explicit provider tokens for ports.
- Export only providers intended as module public API.
- Avoid making every provider global.
- Use
forwardRef()only as a deliberate temporary bridge; recurring circular dependencies usually indicate a boundary problem. - Ensure guards don't replace resource-level authorization in application use cases.
- Use the project's selected database library consistently.
- For queues, register queue consumers and lifecycle behavior in a predictable module.
Tests
- Unit-test use cases and policies.
- Test controller/guard/pipe behavior with Nest testing utilities.
- E2E-test auth, validation, status codes, response shapes, and forbidden access.
- Use integration tests for real database constraints and transaction behavior.
Common pitfalls
- Request-scoped providers without a demonstrated need
- Business logic in decorators, guards, or interceptors
- Hidden side effects in module constructors
@Global()used to avoid explicit dependency wiring- DTO validation configured but not actually enforced
- E2E tests that mock the behavior they are supposed to verify
References
- https://docs.nestjs.com/
- https://docs.nestjs.com/guards
- https://docs.nestjs.com/techniques/validation
- https://docs.nestjs.com/fundamentals/testing
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/nestjs-engineer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/akshay-n-shaju/node-architect-skill/nestjs-engineer)