verification-loop
하는 일
이 스킬은 공유하기 전에 코드 변경에 대해 일련의 품질 점검을 실행합니다. 풀 리퀘스트 전에 빌드, 타입, 린트, 테스트, 보안 문제를 잡고 싶은 개발자를 위한 것입니다.
사용하는 경우
- ✓기능이나 큰 코드 변경을 마쳤고 점검받고 싶을 때.
- ✓풀 리퀘스트를 열기 직전일 때.
- ✓코드를 리팩터링했고 아무것도 깨지지 않았는지 확인해야 할 때.
스킬 링크
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/verification-loop/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“풀 리퀘스트를 열기 전에 제 변경에 대해 모든 품질 점검을 실행해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 프로젝트 스택에 맞는 명령을 고르고, 빌드, 타입 검사, 린트, 테스트를 순서대로 실행해 결과를 보고합니다. 빌드가 실패하면 먼저 멈춰 고칩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
Choose the commands adaptively for the current project instead of running every example blindly. Use the stack-appropriate command from references/STACK-DETECTION.md when the repo does not match the default examples below.
Phase 1: Build Verification
# Python projects (uv)
uv build 2>&1 | tail -20
# OR
python -m build 2>&1 | tail -20
# Node.js projects
npm run build 2>&1 | tail -20
# OR
pnpm build 2>&1 | tail -20
If build fails, STOP and fix before continuing.
Phase 2: Type Check
# TypeScript projects
npx tsc --noEmit 2>&1 | head -30
# Python projects
pyright . 2>&1 | head -30
Report all type errors. Fix critical ones before continuing.
Phase 3: Lint Check
# JavaScript/TypeScript
npm run lint 2>&1 | head -30
# Python
ruff check . 2>&1 | head -30
Phase 4: Test Suite
# Python projects
pytest --cov=src --cov-report=term-missing 2>&1 | tail -50
# Node.js projects
npm run test -- --coverage 2>&1 | tail -50
Report:
- Total tests: X
- Passed: X
- Failed: X
- Coverage: X%
Phase 5: Security Scan
# Python: Check for secrets
grep -rn "sk-" --include="*.py" . 2>/dev/null | head -10
grep -rn "api_key" --include="*.py" . 2>/dev/null | head -10
pip-audit
# Node.js: 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 debug statements
grep -rn "print(" --include="*.py" src/ 2>/dev/null | head -10
grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10
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. ...
Continuous Mode
For long sessions, run verification every 15 minutes or after major changes:
Set a mental checkpoint:
- After completing each function
- After finishing a component
- Before moving to next task
Run: /verify
Integration with Hooks
This skill complements PostToolUse hooks but provides deeper verification. Hooks catch issues immediately; this skill provides comprehensive review.
Reference Files
Load only what is needed:
references/STACK-DETECTION.md- how to choose the right verification command set for the current reporeferences/REPORT-TEMPLATE.md- report structure for final verification outputexamples/example-verification-report.md- example final report
자주 묻는 질문
모든 프로젝트에 같은 명령을 실행하나요?
아니요. Python이나 Node.js 같은 프로젝트 스택에 맞는 명령을 고릅니다.
빌드가 실패하면 어떻게 되나요?
에이전트는 멈추고, 먼저 빌드를 고친 뒤 계속 진행합니다.
보안 점검이 포함되나요?
네. 한 단계는 보안 점검이며, diff 검토도 포함합니다.
상세 정보
작성자의 원본 설명
This skill should be used when the user asks to "verify code", "run verification", "check quality", "validate changes", or before creating a PR. Provides comprehensive verification including build, type check, lint, tests, security scan, and diff review.
인기도
- GitHub 스타
- 6.0k
- 순위
- #14511
- 라이선스
- MIT
- 업데이트
- 2026. 10. 19.
댓글
- …
이 저장소의 다른 스킬
agent-identifier
6.0k에이전트가 이름, 트리거 설명, 시스템 프롬프트, 설정을 올바르게 갖춘 Claude Code 에이전트를 만들도록 가르칩니다.
architecture-design
6.0k에이전트가 등록 가능한 부품을 추가할 때 팩토리와 레지스트리 패턴을 쓰는 머신러닝 프로젝트 구조를 가르칩니다.
bug-detective
6.0k에이전트가 문제 이해, 증거 수집, 가설 검증, 수정 확인의 방법으로 코드 오류를 찾아 고치도록 돕습니다.
citation-verification
6.0k에이전트가 논문의 인용을 신뢰할 수 있는 자료와 대조해 가짜이거나 잘못된 참고 문헌을 찾도록 가르칩니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.