Regex Audit — Security skill for Claude Code
Act as a senior Perl Regex Expert.
How to install Regex Audit
Installs to ~/.claude/skills/nigelhorne-claude-regex-audit/SKILL.md
mkdir -p ~/.claude/skills/nigelhorne-claude-regex-audit && curl -fsSL https://raw.githubusercontent.com/nigelhorne/claude/HEAD/commands/regex-audit.md -o ~/.claude/skills/nigelhorne-claude-regex-audit/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Regex Audit does
Act as a senior Perl Regex Expert. Perform a strict static analysis focusing exclusively on regular expressions within the provided code.
EXECUTION & REASONING
- Step-by-Step Verification: Use a
block to simulate hostile or massive string inputs against the existing regexes to expose flaws before refactoring.
REGEX OPTIMIZATION TARGETS
- ReDoS & Catastrophic Backtracking: Identify poorly bounded quantifiers (
.*) or nested repetitions. Refactor using possessive quantifiers or
Alternatives in Security
- Security Guardian — Comprehensive security analysis for RTK CLI tool, focusing on command injection, shell escaping, hook security 11.9k ★
- Harden — Run the harden skill to perform a systematic project hardening audit 1k ★
- Data Viz Audit — Audit a data visualization for chart type selection, accessible color palette, annotations, and anti-patterns 309 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Qc DevOps Review
Act as a full QC/DevOps review team on a repo, branch, PR, or diff - static analysis, type checks, test suites
Edge Cases
Act as a rigorous senior Perl SDET. Write a comprehensive set of destructive, pathological, boundary-condition
Pen Test
Act as a rigorous Application Security SDET specializing in Perl CGI environments. I am providing you with the
Check
by rygwdn - Performs comprehensive code quality and security checks, featuring static analysis integration, se
Security Playbook
Security skill pack for AI coding agents — behavioral guardrails, OWASP code/LLM rules, static analysis guidan
Culture Audit
Diagnoses cultural alignment and team health within the organization.
Related Agents
Copilot Fixpr
Specialized PR issue resolution agent focusing exclusively on implementing code fixes for GitHub PR blockers.
Security Audit Specialist
Use this agent when you need to perform comprehensive security audits of your codebase, particularly focusing
Rust Core
Rust core development specialist. Use when working exclusively within core/capacitor-core/ — domain types, ing