Pre Merge — Security skill for Claude Code
Maintainer pre-merge gate - audit a PR (or staged changes), output review comments, then CHANGELOG entry.
How to install Pre Merge
Installs to ~/.claude/commands/jens-duttke-agent-monitor-for-claude-pre-merge.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jens-duttke/agent-monitor-for-claude/HEAD/.claude/commands/pre-merge.md -o ~/.claude/commands/jens-duttke-agent-monitor-for-claude-pre-merge.md Restart Claude Code, or start a new session, for it to be picked up.
What Pre Merge does
allowed-tools: Read, Edit, Bash, Grep, Glob, WebFetch, WebSearch, Agent description: Maintainer pre-merge gate - audit a PR (or staged changes), output review comments, then CHANGELOG entry argument-hint: [PR-URL or #NN] disable-model-invocation: true
Maintainer-only. This is the **last line of defense** before code enters `main`.
Argument: `$ARGUMENTS`
Argument handling:
- If
$ARGUMENTScontains a PR URL or#NNreference -> audit that pull request viagh. - If
$ARGUMENTSis e
Alternatives in Security
- Claude Code Security Review — An AI-powered security review GitHub Action using Claude to analyze code changes for security vulnerabilities 3.9k ★
- Skill Code Review — Expert multi-AI code review with inline PR comments — use for thorough quality and security analysis 2.8k ★
- Review Artifact — Creates one polished, self-contained HTML artifact from review findings, audit notes, PR feedback, code review 652 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Cpan Audit
Act as a rigorous CPAN Release Manager and senior architectural peer. Perform a final pre-publish audit on thi
Audit Changes
Review all changes in the current working tree (staged and unstaged).
Gaia Debt
Fix the tech-debt backlog, a single issue or a recommended related batch, highest severity then oldest first,
Dotnet Review
Multi-agent .NET code review - up to five reviewers in parallel (correctness, performance, security/observabil
Vf Review
Parallel Salesforce code review of the diff against a base ref - dispatch the quality gate and security review
Absorb
Maintainer-only: audit the kit's upstream sources (Credits drift + seed-rescan) and draft a dated, proposal-on
Related Agents
Pre Commit Reviewer
Crosswalker pre-commit alignment auditor. Reviews staged changes against project conventions BEFORE commit — f
ForensicAgent
Forensic security analyst — PII detection, secret scanning, identity leak auditing across git history, staged
Feature Crew Docs
Writes user-facing docs and changelog entry. Invoked when triage flags user-visible change. Reads spec.md and