Security Best Practices

Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.

hebertzhu 42cd15c 1.5 KB Updated

File contents

security-best-practices

Intent

  • Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.

Default operating pattern

  1. Identify assets, trust boundaries, attacker assumptions, and sensitive flows.
  2. Inspect the current implementation or design surface that creates risk.
  3. Rank issues by impact, likelihood, and exploitability.
  4. Recommend the smallest safe-by-default changes that materially reduce exposure.
  5. Note verification steps and any residual risk that still remains.

Pack fit

  • Included in: release-quality, security-quality
  • Keep examples generic, privacy-safe, and portable across hosts.

Boundary

  • Do not relabel a generic code review as a security review without actual security scope.

hebertzhu/agent-foundry/tree/main/skills/security-best-practices commit 42cd15ca23

Frequently asked questions

npx skillmds@latest add hebertzhu/security-best-practices