AGENT SKILL

verification-loop

Sistema de verificación completo para sesiones de Claude Code.

License 许可
MIT
最近更新
2026-11-04
Stars
★ 2
Forks
0

01 前言 Front Matter

name
verification-loop
origin
ECC
description
Sistema de verificación completo para sesiones de Claude Code.

03 SKILL.md 正文

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

# 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

# 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

# JavaScript/TypeScript
npm run lint 2>&1 | head -30

# Python
ruff check . 2>&1 | head -30

Fase 4: Suite de Pruebas

# 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

# 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 console.log
grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10

Fase 6: Revisión de Diff

# Mostrar qué cambió
git diff --stat
git diff HEAD~1 --name-only

Revisar cada archivo modificado en busca de:

  • Cambios no intencionados
  • Manejo de errores faltante
  • Casos borde potenciales

Formato de Salida

Después de ejecutar todas las fases, producir un reporte de verificación:

REPORTE DE VERIFICACIÓN
=======================

Build:      [PASS/FAIL]
Tipos:      [PASS/FAIL] (X errores)
Lint:       [PASS/FAIL] (X advertencias)
Pruebas:    [PASS/FAIL] (X/Y pasadas, Z% cobertura)
Seguridad:  [PASS/FAIL] (X problemas)
Diff:       [X archivos modificados]

General:    [LISTO/NO LISTO] para PR

Problemas a Corregir:
1. ...
2. ...

Modo Continuo

Para sesiones largas, ejecutar la verificación cada 15 minutos o después de cambios importantes:

Establecer un checkpoint mental:
- Después de completar cada función
- Después de terminar un componente
- Antes de pasar a la siguiente tarea

Ejecutar: /verify

Integración con Hooks

Este skill complementa los hooks PostToolUse pero proporciona una verificación más profunda. Los hooks detectan problemas de inmediato; este skill proporciona una revisión completa.

04 同仓库更多 Skills

Cyrilthetecchieee
Cyrilthetecchieee/cyril-code-

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 2
Cyrilthetecchieee
Cyrilthetecchieee/cyril-code-

youtube-downloader

Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.

★ 2
Cyrilthetecchieee
Cyrilthetecchieee/cyril-code-

theme-factory

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

★ 2
Cyrilthetecchieee
Cyrilthetecchieee/cyril-code-

template-skill

Replace with description of the skill and when Claude should use it.

★ 2
Cyrilthetecchieee
Cyrilthetecchieee/cyril-code-

tailored-resume-generator

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

★ 2
Cyrilthetecchieee
Cyrilthetecchieee/cyril-code-

slack-gif-creator

Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".

★ 2