AGENT SKILL

verification-loop

Claude Code 세션을 위한 포괄적인 검증 시스템.

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

01 前言 Front Matter

name
verification-loop
origin
ECC
description
Claude Code 세션을 위한 포괄적인 검증 시스템.

03 SKILL.md 正文

검증 루프 스킬

Claude Code 세션을 위한 포괄적인 검증 시스템.

사용 시점

다음 상황에서 이 스킬을 호출하세요:

  • 기능 또는 주요 코드 변경을 완료한 후
  • PR을 생성하기 전
  • 품질 게이트가 통과하는지 확인하고 싶을 때
  • 리팩터링 후

검증 단계

단계 1: 빌드 검증

# Check if project builds
npm run build 2>&1 | tail -20
# OR
pnpm build 2>&1 | tail -20

빌드가 실패하면 계속하기 전에 중단하고 수정합니다.

단계 2: 타입 검사

# TypeScript projects
npx tsc --noEmit 2>&1 | head -30

# Python projects
pyright . 2>&1 | head -30

모든 타입 에러를 보고합니다. 중요한 것은 계속하기 전에 수정합니다.

단계 3: 린트 검사

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

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

단계 4: 테스트 스위트

# Run tests with coverage
npm run test -- --coverage 2>&1 | tail -50

# Check coverage threshold
# Target: 80% minimum

보고 항목:

  • 전체 테스트: X
  • 통과: X
  • 실패: X
  • 커버리지: X%

단계 5: 보안 스캔

# Check for secrets
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

# Check for console.log
grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10

단계 6: Diff 리뷰

# Show what changed
git diff --stat
git diff --name-only
git diff --cached --name-only

각 변경된 파일에서 다음을 검토합니다:

  • 의도하지 않은 변경
  • 누락된 에러 처리
  • 잠재적 엣지 케이스

출력 형식

모든 단계를 실행한 후 검증 보고서를 생성합니다:

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. ...

연속 모드

긴 세션에서는 15분마다 또는 주요 변경 후에 검증을 실행합니다:

Set a mental checkpoint:
- After completing each function
- After finishing a component
- Before moving to next task

Run: /verify

Hook과의 통합

이 스킬은 PostToolUse Hook을 보완하지만 더 깊은 검증을 제공합니다. Hook은 즉시 문제를 포착하고, 이 스킬은 포괄적인 검토를 제공합니다.

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