hiharin

Patronum — Security skill for Claude Code

Security community

Cast a defense — security review of the current branch.

How to install Patronum

Installs to ~/.claude/skills/hiharin-claude-spellbook-patronum/SKILL.md

Terminal
mkdir -p ~/.claude/skills/hiharin-claude-spellbook-patronum && curl -fsSL https://raw.githubusercontent.com/hiharin/claude-spellbook/HEAD/commands/patronum.md -o ~/.claude/skills/hiharin-claude-spellbook-patronum/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Patronum does


description: Cast a defense — security review of the current branch argument-hint: "[path or PR — optional; defaults to the branch diff]" allowed-tools: Read, Grep, Glob, Bash

Cast **Expecto Patronum** on $ARGUMENTS (default: changes on the current branch vs. the base branch).

Review for security issues introduced or touched by these changes:

  • injection (SQL, command, template, path traversal)
  • authn / authz gaps — missing checks, broken object-level authorization
  • unsafe deserializa

Alternatives in Security

Full documentation available on GitHub

View Source Repository