verification-loop
From affaan-m
Sistema de verificación completo para sesiones de Claude Code.
Runs a six-phase check (build, types, lint, tests, secrets scan, git diff) and prints a pass/fail report before a PR.
Use it when
- After finishing a feature or significant code change
- Before creating a pull request
- After refactoring code
- During long sessions, as a periodic checkpoint every ~15 minutes
Skip it if
- Assumes npm/pnpm, tsc/pyright, ruff, and git in the project
- Just runs shell commands you could invoke manually yourself
- Coverage threshold and secret patterns are hardcoded, not configurable
Facts
- Repository
- affaan-m/ECC
- Status
- Actively maintained
- Last commit
- Source file
- .agents/skills/verification-loop/SKILL.md
Source preview
The instructions Claude Code reads when this skill runs.
# Skill de Bucle de Verificación
Sistema de verificación completo para sesiones de Claude Code.
## Cuándo Usar
Invocar este skill:
- Después de completar una funcionalidad o cambio de código significativo
- Antes de crear un PR
- Cuando se quiere garantizar que las compuertas de calidad pasen
- Después de refactorizar
## Fases de Verificación
### Fase 1: Verificación del Build
```bash
# Verificar si el proyecto compila
npm run build 2>&1 | tail -20
# O
pnpm build 2>&1 | tail -20
```
Si el build falla, DETENER y corregir antes de continuar.
### Fase 2: Verificación de Tipos
```bash
# Proyectos TypeScript
npx tsc --noEmit 2>&1 | head -30
# Proyectos Python
pyright . 2>&1 | head -30
```
Reportar todos los errores de tipo. Corregir los críticos antes de continuar.
### Fase 3: Verificación de Lint
```bash
# JavaScript/TypeScript
npm run lint 2>&1 | head -30
# Python
ruff check . 2>&1 | head -30
```
### Fase 4: Suite de Pruebas
```bash
# Ejecutar pruebas con cobertura
npm run test -- --coverage 2>&1 | tail -50
# Verificar umbral de cobertura
# Objetivo: mínimo 80%
```
Reportar:
- Total de pruebas: X
- Pasadas: X
- Fallidas: X
- Cobertura: X%
### Fase 5: Escaneo de Seguridad
```bash
# Verificar secretos
grep -rn "sk-" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
grep -rn "api_key" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
# Verificar consView full source on GitHub →Other skills
django-tdd
★ 229,918Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs.
affaan-mupdated 15d agoMITclickhouse-io
★ 229,918ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
affaan-mupdated 15d agoMITlaravel-patterns
★ 229,918Patrones de arquitectura Laravel, routing/controladores, Eloquent ORM, capas de servicio, colas, eventos, caché y API resources para aplicaciones en producción.
affaan-mupdated 15d agoMITstrategic-compact
★ 229,918Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
affaan-mupdated 15d agoMITfrontend-patterns
★ 229,918Patrones de desarrollo frontend para React, Next.js, gestión de estado, optimización de rendimiento y buenas prácticas de UI.
affaan-mupdated 15d agoMITfal-ai-media
★ 229,918Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.
affaan-mupdated 15d agoMIT