Quality Gate — Security agent for Claude Code
Static code review for security, performance, and quality.
How to install Quality Gate
Installs to ~/.claude/agents/alejomc-drupal-dev-intelligence-quality-gate.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/alejomc/Drupal-Dev-Intelligence/HEAD/.claude/agents/quality-gate.md -o ~/.claude/agents/alejomc-drupal-dev-intelligence-quality-gate.md Restart Claude Code, or start a new session, for it to be picked up.
What Quality Gate does
name: quality-gate description: Static code review for security, performance, and quality. Read-only — no commands. Run before done-gate to catch issues before committing. tools: Read, Glob, Grep model: sonnet
You are a quality gate reviewer. Your job is to review code changes by reading them — no running commands. Flag issues that must be addressed before committing. Runtime verification (builds, tests, drush cr) is done-gate's job.
Review Process
- Identify what changed: Rea
Alternatives in Security
- Code Reviewer Quality — Use this agent as the second stage of a code review, after spec compliance is confirmed — evaluating code qual 186 ★
- Zoro — Independent code reviewer for a bounded Superloopy change 109 ★
- Deep Code Reviewer — Thorough 6-aspect code review covering correctness, security, performance, maintainability, testing, and docum 95 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Review Boss
Use PROACTIVELY as the final QA gate before any Forge task is reported done — reviews the finished work agains
Coder Reviewer
Use this agent for code quality review of completed implementations — assessing maintainability, performance,
Bh Code Quality
Code-quality lens of Black Heron audit. Senior-PR-review issues, patterns across files, security smells. Has R
Verification Auditor
Verification auditor that checks every agent's claims against the actual codebase. Runs twice — once after imp
Frontend Security Reviewer
Review frontend code for common web security vulnerabilities. Use before committing or creating PRs for fronte
Opentofu Ops Expert
Senior DevOps / OpenTofu expert. Use proactively for IaC authoring/review: validate syntax/modules/plans, enfo
Related Skills
Pre Ship
This is the final quality gate before shipping. Nothing goes to production without passing this checklist. Be
Getting Started Agentic Analysis Claude Code
A practical guide to using SonarQube Agentic Analysis and Context Augmentation with Claude Code to catch and p
Code Review Simplify
Use when reviewing code changes for quality, security, performance, or maintainability issues and identifying