Apply security-conscious thinking when generating or modifying code. Enforces trust boundary awareness, input validation, injection prevention, secrets management, and defense-in-depth authorization. Use when generating code that handles user input, authentication, authorization, database queries, external APIs, file operations, or when the user mentions 'security review', 'secure this', 'check for vulnerabilities', 'trust boundary', 'input validation', or 'OWASP'. This skill governs the security posture of generated code -- not architecture (see architecture) and not code craft (see clean-code).
$npx -y skills add techygarg/lattice --skill secure-codingInstalls into the current project.
Run `npx skills use "https://github.com/techygarg/lattice" --skill "techygarg/lattice/secure-coding"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/techygarg/lattice" that are relevant to the current task. Run `npx skills add "https://github.com/techygarg/lattice"` and select the relevant skills, then follow their instructions.