quality-gate

quality-gate is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 190 tokens per session (2,837 once invoked), scanned A, original, MIT.

A structured code-review checkpoint that chooses one review focus at a time, such as security, architecture, specifications, or pull-request readiness.

In plain words
What is it for?
Use it for self-review, code review, security review, specification checks, or final readiness checks.
Why use it?
It turns a broad request to review code into a focused pass with a clear purpose.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the review plugin — 3 skills, 6 agents shipped together

Good fit Use it for self-review, code review, security review, specification checks, or final readiness checks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install review

Made for: Claude Code.

Or install review, the plugin that ships this one along with the rest of its 3 skills, 6 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quality-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/quality-gate/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/quality-gate)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/quality-gate"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/quality-gate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quality-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/quality-gate"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/quality-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,837 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00190 $0.02837
Opus 5.5 $0.00076 $0.01135
Sonnet 5.5 $0.00038 $0.00567
Haiku 4.5 $0.00019 $0.00284

Measured 1mo ago against content hash ee64dd6c7975, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quality-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/review/skills/quality-gate/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pre-computed context

Current branch: !git branch --show-current 2>/dev/null || echo "unknown" Working tree status (empty = clean): !{ git status --porcelain 2>/dev/null || echo "(git status unavailable)"; } | head -20 Open PRs (match headRefName to current branch above; baseRefName is the PR's real base): !gh pr list --json number,title,headRefName,baseRefName --limit 10 2>/dev/null || echo "unknown"

Purpose

Review is the quality checkpoint between "code works" and "code is ready." This skill structures that step so changes are inspected for consistency, correctness, and alignment with the project's conventions before verification or PR creation. Self-review catches errors tests miss. Inconsistencies, loose ends, convention drift, design shortcuts. Delegated reviews (code, architecture, security) bring specialized scrutiny the implementer's tunnel vision would miss.

Depth, not breadth. This skill picks ONE lens per invocation. For a multi-surface fan-out that runs many reviewers at once and ranks their combined findings, use this plugin's fanout skill instead.

Shared inputs

  • Review diff base. mode-scoped override first: close-out does not use this base at all. A spec container is not a branch, so that mode derives a container-scoped basis of its own, per execution shape (context/close-out.md "Why it needs its own diff basis"). Every other mode uses the base below. When an open PR exists for the branch, its baseRefName is the base: dispatched reviewers diff git merge-base origin/<baseRefName> HEAD. The pre-computed PR list above is capped; when the current branch is absent from it, run gh pr list --head <current-branch> --json number,baseRefName before concluding no PR exists. Otherwise git merge-base origin/HEAD HEAD (falling back to the remote's resolved default branch via git ls-remote --symref, then origin/main, then HEAD) so committed-clean branches still show their changes; untracked files come from git ls-files --others --exclude-standard.
  • Severity vocabulary, the project's own review docs when present; else ${CLAUDE_PLUGIN_ROOT}/context/severity.md.
  • Criteria resolution. Review criteria resolve through the standards index per the plugin binding ${CLAUDE_PLUGIN_ROOT}/reference/standards-contract.md (its "Resolution ladder" section owns the procedure), detailed in context/criteria.md.
  • Findings location. Resolve through the plugin binding, ${CLAUDE_PLUGIN_ROOT}/reference/topic-docs.md, which owns the resolution ladder, its non-interactive collapse, the <branch-slug> and <UTC-timestamp> spec, and the self-ignore guard. Resolve the home; never assume its shape, the ladder's rungs do not all compose a reviews/<branch-slug> segment. Durable findings are <UTC-timestamp>-<mode>.md in the resolved directory. Write repo-relative paths only, never absolute machine paths.

Read the full file on GitHub · 134 lines

Files

What ships with it

12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 134 lines · 190 tokens per session scan A ee64dd6c7975

Subscribe to this mod's changes

quality-gate is a skill published in the GitHub repository melodic-software/claude-code-plugins (26 stars, last pushed today), licensed MIT. It adds 190 tokens to every session and 2,837 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

refactor-decompose-function

For long functions: break into smaller pieces, extract helper functions, reduce nesting, improve testability and readability.

jimmc414/claude-code-plugin-marketplace · 28 tokens

pr-analyzing

Use this skill when the user asks to analyze a specific GitHub pull request, review a PR's architectural impact, assess what changed in a PR and why it matters, or research the code relationships affected by a PR — example triggers like "analyze PR.

shopwareLabs/ai-coding-tools · 56 tokens

find-shortest-path

For pathfinding and search: shortest path, maze solving, game AI, route planning, graph traversal, BFS/DFS, Dijkstra, A problems.

jimmc414/claude-code-plugin-marketplace · 37 tokens

rust-coding-standards

Rust coding standards, documentation authoring, content workflows, and quality patterns for systemprompt.io development.

systempromptio/systemprompt-marketplace · 26 tokens

visual-design-system

World-class visual design system standards — OKLCH color science, fluid typography, elevation hierarchy, branded asymmetric corners, and dark mode implementation.

systempromptio/systemprompt-marketplace · 31 tokens

css-coding-standards

CSS coding standards for systemprompt.io — one --sp- token system in OKLCH with color-mix derivation, BEM naming, one component per file, CSS-first behaviour, forbidden constructs, comment rules, and file limits. Canonical source of truth for all CSS. Load before writing or reviewing any stylesheet.

systempromptio/systemprompt-marketplace · 72 tokens