本文へ移動
cccskills
無料GitHub で公開

verification-loop

Comprehensive verification system for Claude Code sessions. Use after implementation to validate correctness.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Verification Loop Skill

A comprehensive verification system for Claude Code sessions.

When to Use

Invoke this skill:

  • After completing a feature or significant code change
  • Before creating a PR
  • When you want to ensure quality gates pass
  • After refactoring

Verification Phases

Pick the right command for each phase from the project's own configuration (package.json scripts, Makefile, CI workflow, etc.). The commands below are examples, not prescriptions. Summarize long output instead of pasting it verbatim.

Phase 1: Build Verification

Check that the project builds. Examples: npm run build, cargo check, go build ./..., shellcheck -S warning *.sh.

If the build fails, STOP and fix before continuing.

Phase 2: Type Check

Run the project's type checker if it has one. Examples: npx tsc --noEmit (TypeScript), pyright . or mypy . (Python).

Report all type errors. Fix critical ones before continuing.

Phase 3: Lint Check

Run the project's linter. Examples: npm run lint, ruff check ., shellcheck.

Phase 4: Test Suite

Run the project's test suite, with coverage if available. Examples: npm test -- --coverage, pytest --cov, bash tests/run-unit-tests.sh.

Report:

  • Total tests: X
  • Passed: X
  • Failed: X
  • Coverage: X% (against the project's target)

Phase 5: Security Scan

Check for leaked secrets in the changes:

  • If a dedicated scanner is available (gitleaks, trufflehog), use it.
  • Otherwise, follow the bundled security-review skill.
  • At minimum, review the added lines of git diff for credentials, tokens, and keys. Do not report PASS based on a repository-wide grep.

Also check for leftover debug output (e.g., console.log, print) in the changed files.

Phase 6: Diff Review

# Show what changed
git diff --stat
git diff HEAD~1 --name-only

Review each changed file for:

  • Unintended changes
  • Missing error handling
  • Potential edge cases

Output Format

After running all phases, produce a verification report:

VERIFICATION REPORT
==================

Build:     [PASS/FAIL]
Types:     [PASS/FAIL] (X errors)
Lint:      [PASS/FAIL] (X warnings)
Tests:     [PASS/FAIL] (X/Y passed, Z% coverage)
Security:  [PASS/FAIL] (X issues)
Diff:      [X files changed]

Overall:   [READY/NOT READY] for PR

Issues to Fix:
1. ...
2. ...

Integration with Hooks

This skill complements PostToolUse hooks but provides deeper verification. Hooks catch issues immediately; this skill provides comprehensive review. If you need periodic automated re-verification, use a hook or the /loop command; instructions in this skill body cannot schedule themselves.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

cloudnative-writing-baseline

無料日本語概要

日本語の業務文書を作成・修正するときに使用する共通品質基準。事実性、確度、論理、簡潔さ、自然な日本語を守る。提案書、報告、技術説明、議事録、メール、Slack、要約、レビューに適用する。創作、広告コピー、コードや構造化データだけの生成には使用しない。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

Formal evaluation framework for Claude Code sessions implementing eval-driven development (EDD) principles.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

日本語の概要は準備中です。原文の説明を表示しています。

cloudnative-co/claude-code-starter-kit1532026年10月8日 更新

cloudnative-co のスキルをすべて見る

このスキルの問題を報告する