quality-gate

quality-gate is a skill for Claude Code from lwalden/AIAgentMinder. It costs 15 tokens per session (869 once invoked), scanned A, original, MIT.

A checklist of quality checks to run before opening a pull request, including the build, tests, code coverage, linting, and security checks. A pull request is a proposed change submitted for review before it enters the main codebase.

In plain words
What is it for?
Use it to check changed code, confirm new functionality and failure paths have tests, run the full test suite, and remove debug statements before creating a pull request.
Why use it?
It catches broken builds, failing or missing tests, debugging leftovers, and untested error cases before the change is submitted.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the aiagentminder plugin — 15 skills, 16 agents, 5 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/lwalden/aiagentminder/quality-gate
Any agent
npx skills add lwalden/AIAgentMinder --skill quality-gate
Clone the repo
git clone --depth 1 https://github.com/lwalden/AIAgentMinder

Made for: Claude Code.

Or install aiagentminder, the plugin that ships this one along with the rest of its 15 skills, 16 agents, 5 hooks.

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/lwalden/aiagentminder/quality-gate.svg)](https://agentmods.dev/skills/lwalden/aiagentminder/quality-gate)
Your own site
<a href="https://agentmods.dev/skills/lwalden/aiagentminder/quality-gate"><img src="https://agentmods.dev/badge/skills/lwalden/aiagentminder/quality-gate.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00015 $0.00869
Opus 5 $0.00008 $0.00434
Sonnet 5 $0.00003 $0.00174
Haiku 4.5 $0.00002 $0.00087

Measured 5d ago against content hash 66b76616aa3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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.

skills/quality-gate/SKILL.md · 62 lines

How it starts

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

/aiagentminder:quality-gate - Pre-PR Quality Checks

Run this before creating any pull request. Runs the full quality checklist — all checks, every time.


Step 1: Run All Checks

Execute every check in order. Fix failures before proceeding to the next check.

Build

  • Build passes — Run the project's build command. If it fails, fix before proceeding.

Tests

  • Tests exist for new functionality — For each new or changed function/module, confirm at least one test covers it.
  • Test suite passes — Run the full test suite. Zero failing tests.
  • No debug statements — Search for console.log, debugger, print(, puts, binding.pry in changed files. Remove any found.

Negative test enforcement

  • Error paths are tested — Read negativeTestEnforcement from .pr-pipeline.json. If enabled is true (default), search test files touched by this PR for assertions that exercise error paths — look for the configured patterns (e.g., throw, reject, error, invalid, not found). Each new function or endpoint that can fail should have at least minNegativeTests test(s) covering the failure case. If missing, write them before proceeding.

If negativeTestEnforcement.enabled is false in .pr-pipeline.json, skip this check.

Coverage & Lint

  • Test coverage delta — Run coverage and confirm new code is covered. Flag any untested branches in critical paths.
  • No any types (TypeScript projects) — Search changed .ts/.tsx files for : any and as any. Each occurrence needs justification or fixing.
  • Linter clean — Run the project's linter (eslint, ruff, golangci-lint, etc.). Zero new warnings.

Security

  • No hardcoded secrets — Search changed files for patterns: API keys, connection strings, passwords, tokens. None should be literal strings.
  • Error handling on external calls — For each new call to an external service, API, or database: confirm there's explicit error handling (try/catch, .catch(), if err != nil).
  • Security scan — Run the project's security scanner if configured (npm audit, pip-audit, govulncheck, trivy, etc.). Address any high/critical findings.

Read the full file on GitHub · 62 lines

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. 5d ago First seen · 62 lines · 15 tokens per session scan A 66b76616aa3f

Subscribe to this mod's changes

quality-gate is a skill published in the GitHub repository lwalden/AIAgentMinder (4 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 869 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

sdd-serve

Serve the SDD Builder's AI request queue: claim requests with sddnextrequest, draft the proposal, answer with sddrespondrequest. Never writes spec files — the user accepts each proposal in the builder. Use when the user asks to attend, serve or listen to the SDD board queue. / Atiende la cola de peticiones del SDD…

juanklagos/spec-driven-development-template · 80 tokens

sdd-workflow

Guide a project with Spec-Driven Development (SDD) discipline - idea, approved spec, consistent plan, tasks, a gate that verifies approval and consent, implementation, validation, and logbook. Bilingual EN/ES. Use when the user wants to start, spec, plan, implement, or validate work with SDD, or mentions specs, plans…

juanklagos/spec-driven-development-template · 84 tokens

metrics-instrumentation

Specification for instrumenting an opik-backend workflow with operational OpenTelemetry metrics — per-stage throughput/latency/error counters and native histograms, dimensioned per-customer (workspace). Use when a pipeline (scoring, ingestion, experiments, jobs) needs per-stage visibility. Covers metric emission only…

comet-ml/opik · 93 tokens

notifications

Send notifications through the unified notification router.

vellum-ai/vellum-assistant · 9 tokens

release

Cut a sim-use release end-to-end. Use when the user runs /release or asks to "ship a release", "publish a version", "cut a release", or "release to homebrew". Drives scripts/local-release.sh; never reimplement its build/sign/tarball logic.

lycorp-jp/sim-use · 61 tokens

vellum-skills-catalog

Discover bundled skills and search/install community skills from the skills.sh registry.

vellum-ai/vellum-assistant · 20 tokens