Skip to content
Security
Command

/precommit

Run the pre-commit security gate on the current changeset and report a single pass/fail verdict.

From plugin
awesome-claude-security
1113 skills17 agents13 commands1 MCP
> /plugin marketplace add jassics/awesome-claude-security

Command definition

precommit.md
description: Run the pre-commit security gate on the current changeset and report a single pass/fail verdict.
argument-hint: [optional: path/scope to check instead of the full diff]

Run the pre-commit security gate for: **$ARGUMENTS** (default: the current staged/unstaged changeset).

1. **Scope** — `git status` / `git diff --cached` (fall back to `git diff` if nothing is staged) to find changed files. Stay scoped to the diff; this is a fast pre-commit check, not a full-repo audit. 2. **Run the gate** — `/developer:pre-commit-gate` to aggregate secret/gitignore hygiene, SAST/SCA on the diff, and (if relevant) IaC and Claude-config checks into one verdict. 3. **Report** — a single **BLOCK** or **PASS** line at the top, followed by the verdict table (check · result · blocking findings). On BLOCK, give the exact fix for each blocking finding, not just the diagnosis.

For deep, multi-step coordination beyond a single commit gate (e.g. reviewing a whole new feature's security posture), hand off to the `developer` agent.

@jassics
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

11111 skills17 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11
Star history of jassics/awesome-claude-security on GitHub, a chart by star-history.com

Other commands on awesome-claude-security.

defend

defend

Command

Run a threat-informed defense cycle for a technique or threat — coverage check, hunt, detection, and purple-team validation.

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

ironclaw13d13k
@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command