Skip to content
Development
Skill

/verify

Pre-commit verification entry point. Claude Code 2.1.286+ instructs the model to run a skill named `verify` right before committing (docs-only and tests-only commits exempt); this thin wrapper delegates that call to the MoAI quality gate instead of hand-rolling substitute checks.

BOOST
From plugin
moai-adk
1.2k49 skills22 agents20 commands4 MCP
Install
$ npx -y skills add modu-ai/moai-adk --skill verify --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/verify

Context preview

The summary Claude sees to decide when to auto-load this skill.

Pre-commit verification entry point. Claude Code 2.1.286+ instructs the model to run a skill named `verify` right before committing (docs-only and tests-only commits exempt); this thin wrapper delegates that call to the MoAI quality gate instead of hand-rolling substitute checks.

SKILL.md

verify.SKILL.md
description: >
  Pre-commit verification entry point. Claude Code 2.1.286+ instructs the model
  to run a skill named `verify` right before committing (docs-only and
  tests-only commits exempt); this thin wrapper delegates that call to the MoAI
  quality gate instead of hand-rolling substitute checks.
metadata:
  version: "1.0.0"
  category: "workflow"
  status: "active"
  updated: "2026-10-03"
  tags: "verify, gate, pre-commit, quality"

Verify — Delegates to the MoAI Gate

Run the MoAI pre-commit quality gate: invoke `Skill("moai")` with arguments `gate $ARGUMENTS`.

Rules for the caller:

  • Do not substitute your own checks — the gate owns language detection, lint,

format, type-check, and test execution, plus shared-snapshot reuse/recording.

  • On FAIL with fixable lint/format findings, prefer re-running the gate with

`--fix` before editing code by hand.

  • The gate's PASS/FAIL table is the verification evidence for the upcoming

commit. Resolve a FAIL (auto-fix or manual) before committing; in MoAI-managed projects the mechanical pre-commit hook independently re-runs the same gate at the commit tier and owns the blocking decision.

Ships withmoai-adk

Agentic development harness for Claude Code — SPEC-driven plan/run/sync, TRUST 5 quality gates, model+effort routing, and Claude×GLM multi-LLM cost control. Single Go binary, 16 languages, zero deps.

Get the whole plugin

Other skills on moai-adk.