Verification Loop

affaan-m/ECC/docs/tr/skills/verification-loop

by affaan-mef648e01899ba3e8dc6371642deaaf64b4477775No license275K starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 4 days ago

Claude Code oturumları için kapsamlı doğrulama sistemi.

AI-generated overview

Runs a multi-phase verification checklist for code changes: build, types, lint, tests, security scan and diff review.

What it does
This skill defines a six-phase verification loop for code changes: build verification, type checking, lint checking, running the test suite with coverage, a security scan for secrets and console.log statements, and a diff review. It specifies shell commands for each phase and produces a structured verification report with PASS/FAIL per phase and an overall ready-or-not verdict for a pull request. It also describes a continuous mode with periodic checkpoints and notes integration with PostToolUse hooks.
When to use it
Use it after completing a feature or significant code change, before opening a pull request, after refactoring, or whenever you want to confirm quality gates pass. It suits long sessions where periodic verification checkpoints are wanted.
Requirements
Instructions only; no bundled scripts. It assumes a project with build, type-check, lint and test tooling such as npm or pnpm, tsc or pyright, ruff, and git, plus a shell to run the listed commands.

Verification Loop Skill

Claude Code oturumları için kapsamlı doğrulama sistemi.

Ne Zaman Kullanılır

Bu skill'i şu durumlarda çağır:

  • Bir özellik veya önemli kod değişikliği tamamladıktan sonra
  • PR oluşturmadan önce
  • Kalite kapılarının geçtiğinden emin olmak istediğinde
  • Refactoring sonrasında

Doğrulama Fazları

Faz 1: Build Doğrulaması

bash
# Projenin build olup olmadığını kontrol etnpm run build 2>&1 | tail -20# VEYApnpm build 2>&1 | tail -20

Build başarısız olursa, devam etmeden önce DUR ve düzelt.

Faz 2: Tip Kontrolü

bash
# TypeScript projelerinpx tsc --noEmit 2>&1 | head -30
# Python projeleripyright . 2>&1 | head -30

Tüm tip hatalarını raporla. Devam etmeden önce kritik olanları düzelt.

Faz 3: Lint Kontrolü

bash
# JavaScript/TypeScriptnpm run lint 2>&1 | head -30
# Pythonruff check . 2>&1 | head -30

Faz 4: Test Paketi

bash
# Testleri coverage ile çalıştırnpm run test -- --coverage 2>&1 | tail -50
# Coverage eşiğini kontrol et# Hedef: minimum %80

Rapor:

  • Toplam testler: X
  • Geçti: X
  • Başarısız: X
  • Coverage: %X

Faz 5: Güvenlik Taraması

bash
# Secret'ları kontrol etgrep -rn "sk-" --include="*.ts" --include="*.js" . 2>/dev/null | head -10grep -rn "api_key" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
# console.log kontrol etgrep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10

Faz 6: Diff İncelemesi

bash
# Neyin değiştiğini göstergit diff --statgit diff HEAD~1 --name-only

Her değişen dosyayı şunlar için incele:

  • İstenmeyen değişiklikler
  • Eksik hata işleme
  • Potansiyel edge case'ler

Çıktı Formatı

Tüm fazları çalıştırdıktan sonra, bir doğrulama raporu üret:

DOĞRULAMA RAPORU==================
Build:     [PASS/FAIL]Tipler:    [PASS/FAIL] (X hata)Lint:      [PASS/FAIL] (X uyarı)Testler:   [PASS/FAIL] (X/Y geçti, %Z coverage)Güvenlik:  [PASS/FAIL] (X sorun)Diff:      [X dosya değişti]
Genel:     PR için [HAZIR/HAZIR DEĞİL]
Düzeltilmesi Gereken Sorunlar:1. ...2. ...

Sürekli Mod

Uzun oturumlar için, her 15 dakikada bir veya major değişikliklerden sonra doğrulama çalıştır:

markdown
Mental kontrol noktası belirle:- Her fonksiyonu tamamladıktan sonra- Bir component'i bitirdikten sonra- Sonraki göreve geçmeden önce
Çalıştır: /verify

Hook'larla Entegrasyon

Bu skill PostToolUse hook'larını tamamlar ancak daha derin doğrulama sağlar. Hook'lar sorunları anında yakalar; bu skill kapsamlı inceleme sağlar.

Source and attribution

Source:affaan-m/ECCindocs/tr/skills/verification-loopat commitef648e0

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal