Skip to content

Instantly share code, notes, and snippets.

@RushSEO
RushSEO / gist:a24df149799834b3e57d77c2e1e00dcf
Created May 13, 2026 23:00
Security audit hook for Claude Code
Create a security audit subagent and git pre-push hook for this project.
## Step 1 — Create the subagent file
Create the file `.claude/agents/security-reviewer.md` with this exact content:
---
name: security-reviewer
description: >
Senior security engineer. Use PROACTIVELY after writing or modifying