quality-check

quality-check is a skill for Claude Code, Codex from Crearize/ai-dev-helm. It costs 61 tokens per session (14,961 once invoked), scanned A, original, MIT.

A required pre-merge quality gate that runs local static checks, tests, and reviews. A merge is allowed only after the checks pass.

In plain words
What is it for?
Use it before merging pull requests, merging locally into main, or pushing directly to main. It also handles limited exceptions for changes that affect only agent instructions and related harness files.
Why use it?
It prevents untested or insufficiently reviewed changes from being merged into the main branch.

Skill for Claude CodeCodex

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/crearize/ai-dev-helm/quality-check
Any agent
npx skills add Crearize/ai-dev-helm --skill quality-check
Clone the repo
git clone --depth 1 https://github.com/Crearize/ai-dev-helm

Made for: Claude Code, Codex.

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-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/crearize/ai-dev-helm/quality-check.svg)](https://agentmods.dev/skills/crearize/ai-dev-helm/quality-check)
Your own site
<a href="https://agentmods.dev/skills/crearize/ai-dev-helm/quality-check"><img src="https://agentmods.dev/badge/skills/crearize/ai-dev-helm/quality-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 $0.00061 $0.14961
Opus 5 $0.00030 $0.07480
Sonnet 5 $0.00012 $0.02992
Haiku 4.5 $0.00006 $0.01496

Measured 3d ago against content hash 6e703ab0018d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

quality-check scanned grade A with 1 finding 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 3d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

node -e "const c=require('child_process'),f=require('fs');const g=a=>c.execSync('git '+a).toString().trim();f.writeFileSync('.quality-check-passed',JSON.stringify({branch:g('branch --show-current'),commit:g('rev-parse HE
skills/project/quality-check/SKILL.md · 593 lines

How it starts

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

Quality Check Skill - マージ前品質チェック

最重要ルール

gh pr merge / main 上での git merge / main への直接 git push の前に必ずこのスキルを実行すること。全チェック通過後のみマージ可能。

  • feature ブランチへの git push にフラグは不要(ゲート対象外)。レビュー前の push・バックアップ push は自由に行える
  • CIはビルド確認のみ。静的チェック・テスト・レビューは全てローカルで実施する
  • 実行開始時(Step 0 冒頭)に既存の .quality-check-passed.quality-check-report.json を削除する(古い許可証・レポートの残留防止)

ハーネスのみ変更の免除

変更差分(git diff --name-only origin/main...HEAD)が1件以上あり、かつ全て以下のハーネスファイルに該当する場合、quality-check 自体が不要(hook も同じハーネスファイル集合を基準に免除を判定するため、通常はフラグ作成も不要。下記のゲートパラメータ・カーブアウトに該当する差分は除く):

  • CLAUDE.md / AGENTS.md(任意の階層)
  • .cursorrules
  • .claude/** / .codex/** / .cursor/**
  • skills/project/** / skills/superpowers/**
  • .github/review-*.md
  • documents/development/coding-rules/**

ただしハーネス設定ファイル(CLAUDE.md / AGENTS.md / .cursorrules)の差分がゲートパラメータ(quality-check の閾値・実行時間バジェット・Medium のミューテーション実行モード。キー名は documents/development/quality-policy.md §2「上書きの契約」の Quality Gate Overrides 記法)の変更を含む場合、この免除は適用しない。この場合は本スキルを実行し(最低でも縮退レビュー)、フラグを作成する。hook 側もこのカーブアウトを免除判定に反映するため、フラグなしでのマージはブロックされうる。

同様に、ゲート制御面に触れる差分もこの免除の対象外とする: skills/project/quality-check/**skills/project/_schemas/**.claude/skills.claude/hooks のツリー(.claude/skills はリンクノード自体を含む — init はこれをシンボリックリンクとして作成するため、1 パスの張り替えで quality-check ツリー全体が差し替わる)とその .codex/**.cursor/** コピー・.github/review-*.md・hook 登録ファイル(.codex/hooks.json.claude / .cursor の同等物)・.codex/config.toml(ファイル全体 — inline [hooks] テーブル・[features] の hook 無効化・[[rules]] の deny 判定を持ち得る)・MCP 登録ファイル(.claude/mcp.json / .codex/mcp.json / .cursor/mcp.json — MCP サーバー定義は command/args 実行の登録であり hooks.json と同クラス)および hook 登録を担う .claude/settings.json.claude/settings.local.json(Claude Code は両方を読み、後者が高優先度)の hooks ブロック・disableAllHooks / allowManagedHooksOnly の hook 無効化キー・permissions.deny ルールリスト(破壊的コマンドガードを支える deny 層。permissions.allow の変更は免除のまま) — 登録を外す・無効化する・deny 層を弱めれば実体を守っても同じため)。パスのマッチは大文字小文字を区別しない(Windows/macOS では .claude/Hooks/....claude/hooks/... と同一ファイル)。これらはゲートそのものを構成するファイルであり、開発中レビューの廃止(quality-policy §5.5)後は本スキルが唯一のレビュー地点となるため、レビュー0回での変更を許さない(最低でも縮退レビューを実施しフラグを作成する。本カーブアウトは hook が強制する — 該当差分はフラグなしでのマージ・push が Gate control-plane changed: でブロックされる)。

Read the full file on GitHub · 593 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. 3d ago First seen · 593 lines · 61 tokens per session scan A 6e703ab0018d

Subscribe to this mod's changes

quality-check is a skill published in the GitHub repository Crearize/ai-dev-helm (4 stars, last pushed 9d ago), licensed MIT. It adds 61 tokens to every session and 14,961 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens