What problem does it solve?
Helps you prevent real security failures while coding by teaching secure patterns for secrets, authentication, XSS/injection risks, dependency hygiene, HTTPS, and error leakage.
Core Features & Use Cases
- Security triage for real diffs: Scans for high-signal issues like committed
.env, client-bundled API keys, unsafe HTML rendering, injection-prone SQL, missing HTTPS, verbose production errors, missing auth on sensitive routes, and risky dependencies.
- Fix-and-teach workflow: Guides a safe order of operations—stop any active secret leak first, apply a minimal fix, then generate a lesson block that fits a viber or seasoned persona.
- Pre-release security pass + handoffs: Provides a concise checklist and routes to related lifecycle skills (pre-ship, devops, deploy, post-ship) and devlearn-apis for auth implementation details.
Quick Start
Ask your AI agent to run /devlearn-security to review the current diff for secrets, auth gaps, XSS/injection risks, dependency issues, HTTPS enforcement, and production error leakage, then produce the fix steps and a short teach-back lesson.