jens-duttke

Pre Merge — Security skill for Claude Code

Security community

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

Terminal
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 $ARGUMENTS contains a PR URL or #NN reference -> audit that pull request via gh.
  • If $ARGUMENTS is 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 Repository