Node / TypeScript
Detection: inspect package.json, lockfiles, tsconfig.json; record exact versions before applying this profile. Structure and conventions: Follow locked runtime and package manager; explicit boundary validation. Architecture decisions: prefer the smallest boundary satisfying requirements. Record ADRs for DDD, CQRS, microservices or event-driven changes; do not impose them by default. Commands to verify, not automatically execute: package.json build/lint/test scripts. Inspect scripts before execution; do not invent missing tasks. Tests and security: Test malformed requests, async failures and auth. Verify OAuth2/OIDC/JWT issuer, audience and authorization with the actual library; review OWASP-relevant boundaries. Never include credentials in examples. Anti-patterns: Avoid unvalidated casts and process-global request state. Example status: guidance only; target-stack build and native API examples remain UNVERIFIED until run in a target repository. See examples/scenarios.md for acceptance plans. This profile does not install a stack.