What problem does it solve?
This Skill removes trial-and-error during first-time project setup by diagnosing missing environment configuration and common runtime blockers (like missing .env, port conflicts, Node version mismatches, or database connection failures).
Core Features & Use Cases
- Stack detection: Automatically detects Angular Portal vs NestJS vs NextJS by checking expected config entry files.
- Prerequisite verification: Confirms Node/PM tooling versions, lockfile-aligned package manager choice, and git identity before installing.
- Per-stack bootstrap: Provides targeted steps for .env/.env.local creation, Postgres readiness/migrations, Angular environment setup, and Next.js conventions.
- Smoke testing and verification: Instructs how to validate the running app with real commands and endpoint checks, not guesses.
- Safety guardrails: Prevents risky actions like editing .env.example directly, committing real credentials, forcing installs that mask conflicts, or bypassing hooks without understanding implications.
Quick Start
Ask the AI to run sdcorejs-env-setup for your fresh clone when you say “thiết lập môi trường” or paste the error message you see (for example, EADDRINUSE or “connection refused”).