Security Guidance Claude Skill
Security Guidance is a Claude skill by Alireza Rezvani, and this page shows how to install it. PreToolUse security-anti-pattern hook for Claude Code.
See all 388 skills by Alireza Rezvani in alirezarezvani/claude-skills.
What It Does
PreToolUse security-anti-pattern hook for Claude Code. Catches 12 common security risks (command injection, XSS, SQL injection, unsafe deserialization, GitHub Actions workflow injection, eval/new Function code injection) BEFORE the Edit/Write/MultiEdit operation completes. A PreToolUse hook that blocks 12 common security anti-patterns before Claude Code writes them. This skill is a hook, not a slash command. Once installed, it runs automatically before every Edit, Write, or MultiEdit operation and warns + blocks if it detects a known dangerous pattern.
This quote comes from the skill's SKILL.md.
When To Use It
- "add security hook"
- "block unsafe code before write"
- "detect command injection"
- "prevent SQL injection patterns"
- "warn on eval / pickle / os.system"
- "GitHub Actions security hook"
Our basic check found 1 pattern(s) worth a look, like shell pipes or credential paths. This is not proof of harm. Read the files before you install.
Install
git clone --depth 1 https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills mkdir -p ~/.claude/skills/ cp -r /tmp/claude-skills/engineering/security-guidance/skills/security-guidance ~/.claude/skills/security-guidance
The command copies the skill from the author's repo. SkillTrove does not host it.
Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.
Files
- SKILL.md (7.3 KB)
- references/pretooluse_hook_canon.md (7.9 KB)
We last checked this skill against its source on 2026-10-13.
Questions
How Do I Install This Skill?
Copy the engineering/security-guidance/skills/security-guidance folder from https://github.com/alirezarezvani/claude-skills into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/security-guidance. The install block on this page has the full commands for each agent.
What License Does This Skill Use?
The license listed for this skill is MIT. Read the license in the source repo before you reuse it.
Where Is The Source For This Skill?
The source is on GitHub at https://github.com/alirezarezvani/claude-skills/tree/main/engineering/security-guidance/skills/security-guidance. It is part of the alirezarezvani/claude-skills repo.
Related Skills
Meta Research
Use when a wrong answer is expensive: strategy research, comparing several products or markets, validating a hypothesis with outside data. Fans out searches ...
Migration Architect
Zero-downtime migration planning, compatibility validation, and rollback strategy generation. Tools for system, database, and infrastructure migrations with ...
Pricing Strategist
Use when designing or revisiting product pricing - selecting a pricing model (subscription seat-based, usage-based, value-based, freemium, or hybrid), runn...
Last30days
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, G...
Xlsx
The xlsx skill helps your agent build and fix spreadsheet files. CSV and TSV files work too. The agent puts formulas in the cells and never types in a total ...
Supabase Postgres Best Practices
Postgres best practices maintained by Supabase, for Postgres running anywhere.
More by Alireza Rezvani: market-research, marketing-psychology, partnerships-architect