quality-gates

quality-gates is a skill for Claude Code from Vimalk0703/shipworthy. It costs 46 tokens per session (1,365 once invoked), scanned A, original, MIT.

A set of pre-commit checks that grows with a project's size, maturity, and user needs. A pre-commit check runs before changes are committed to Git.

In plain words
What is it for?
It is for checking builds, tests, code quality, and exposed secrets at graduated levels before changes are committed.
Why use it?
It prevents a small project from being slowed by unnecessary rules while adding more checks as the codebase becomes larger or is deployed for real.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the shipworthy plugin — 66 skills, 7 commands, 3 hooks shipped together

Good fit It is for checking builds, tests, code quality, and exposed secrets at graduated levels before changes are committed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vimalk0703/shipworthy/quality-gates
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.

Any agent
npx skills add Vimalk0703/shipworthy --skill quality-gates
Clone the repo
git clone --depth 1 https://github.com/Vimalk0703/shipworthy

Made for: Claude Code.

Or install shipworthy, the plugin that ships this one along with the rest of its 66 skills, 7 commands, 3 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-gates

README.md
[![agentmods](https://agentmods.dev/badge/skills/vimalk0703/shipworthy/quality-gates/github.svg)](https://agentmods.dev/skills/vimalk0703/shipworthy/quality-gates)
Your own site
<a href="https://agentmods.dev/skills/vimalk0703/shipworthy/quality-gates"><img src="https://agentmods.dev/badge/skills/vimalk0703/shipworthy/quality-gates/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-gates

Your own site · 80×15
<a href="https://agentmods.dev/skills/vimalk0703/shipworthy/quality-gates"><img src="https://agentmods.dev/badge/skills/vimalk0703/shipworthy/quality-gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,365 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.00046 $0.01365
Opus 5 $0.00023 $0.00682
Sonnet 5 $0.00009 $0.00273
Haiku 4.5 $0.00005 $0.00136

Measured 9d ago against content hash ea5b24a4d0ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

quality-gates 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 9d 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/quality-gates/SKILL.md · 131 lines

How it starts

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

Quality Gates

Graduated Levels

Quality checks scale with project maturity and user tier. The plugin detects the project's current level based on file count and user tier, then adjusts expectations accordingly.

Level 0: Just Ship It (Builder-Tier, <5 Source Files)

For Builder-tier users with small projects. The goal is momentum, not perfection. Two checks:

  • Build succeeds (the code runs without crashing)
  • No hardcoded secrets, API keys, or credentials in source files

That's it. No lint rules, no coverage thresholds, no architectural purity tests. The project has 4 files — it doesn't need governance, it needs to exist.

Automatic Graduation: Level 0 automatically graduates to Level 1 when either condition is met:

  • The project has its first successful deployment (it's real now, treat it that way)
  • The project reaches 5+ source files (complexity is emerging, basic hygiene matters)

When graduation happens, inform the user: "Your project is growing — I'm going to start checking for a few more things before commits to keep things solid. Nothing heavy, just making sure tests pass and the code is clean."

Level 1: Foundation (5+ Source Files, Always Active for Engineer-Tier)

Every project that's past the prototype stage:

  • All existing tests pass
  • No TypeScript/lint errors (if applicable)
  • No console.log in production code — use a structured logger (pino, winston). Install one if none exists.
  • No hardcoded secrets, API keys, or credentials
  • New code has corresponding tests
  • Build completes successfully
  • Linter configured and passing — set up ESLint (TypeScript/JS), Ruff (Python), or golangci-lint (Go) if not present
  • Input validation uses a schema library (Zod, Pydantic) — not manual if/else
  • Test coverage tooling configured (vitest --coverage, pytest-cov, go test -cover)

Level 2: Growing (10+ Source Files)

Building discipline:

  • All Level 1 checks
  • Test coverage for new code above threshold (default: 70%)
  • No TODO without a ticket number or date
  • No any type in TypeScript strict mode projects
  • No unused imports or variables
  • Error handling on all async operations

Read the full file on GitHub · 131 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. 9d ago First seen · 131 lines · 46 tokens per session scan A ea5b24a4d0ad

Subscribe to this mod's changes

quality-gates is a skill published in the GitHub repository Vimalk0703/shipworthy (7 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 1,365 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

conventional-commits

Use when uncommitted changes need to be split into atomic, conventional commits ordered for review. Triggers on "commit this", "make commits", "clean up commits", "commit the changes". In Hedgehog, each Loop step is already meant to be its own commit — this skill matters most when a Correction Protocol fast-forward…

skyf0xx/hedgehog · 88 tokens

pr-writing

Use whenever writing a PR title/description, a commit message body, a code review comment, or an issue — in Hedgehog's own repo or any consuming project. Triggers on "open a PR", "write the PR description", "comment on this PR", "file an issue". Covers writing style (terse, info-dense, Simplified Technical English)…

skyf0xx/hedgehog · 107 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

changelog

Auto-generates a changelog from git commits, sprint data, and design documents. Produces both internal and player-facing versions.

Donchitos/Claude-Code-Game-Studios · 29 tokens

memstack-security-git-guard

Use when the user says 'git-guard', 'check git protection', 'is this repo protected', 'verify gitleaks', 'set up git hooks', 'install git-guard', or wants to confirm a repo blocks secrets and internal files before commit. This is an installer and verifier, NOT a scanner (gitleaks does the actual scanning). Do NOT use…

cwinvestments/memstack · 92 tokens

memstack-security-secrets-scanner

Use this skill when the user says 'scan for secrets', 'check for leaked keys', 'secrets scanner', 'hardcoded credentials', 'API key leak', or needs to detect exposed secrets in source code. Do NOT use for dependency vulnerabilities or RLS auditing.

cwinvestments/memstack · 62 tokens