Nestjs Configuration
ASecurityUpdate the application validation model and every runtime contract, not just the local `.env` file: - add the variable and its type/required rule to `src/config/env.validation.ts` (or the Joi schema); - document a placeholder in `.env.example` and add appropriate development/test values; - map it explicitly in CI/CD and infrastructure, such as Kubernetes `ConfigMap`/`Secret`, ECS/Cloud Run settings, or pipeline variables; - consume it through `ConfigService` or a typed configuration layer. Th...
- 584 stars
- 0 votes
- 0 copies
- 7 views
- Added September 5, 2026
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill nestjs-configuration --agent claude-codeAre you the author of Nestjs Configuration?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-nestjs-configuration-08d63173)Update the application validation model and every runtime contract, not just the local `.env` file:
- add the variable and its type/required rule to `src/config/env.validation.ts` (or the Joi schema);
- document a placeholder in `.env.example` and add appropriate development/test values;
- map it explicitly in CI/CD and infrastructure, such as Kubernetes `ConfigMap`/`Secret`, ECS/Cloud Run settings, or pipeline variables;
- consume it through `ConfigService` or a typed configuration layer.
The deployment environment does not automatically inherit a developer's `.env`, so omitting the infrastructure mapping can make production fail or silently use an unintended default.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.