본문으로 건너뛰기
Skillpedia
테스트6.0k · #14511

verification-loop

하는 일

이 스킬은 공유하기 전에 코드 변경에 대해 일련의 품질 점검을 실행합니다. 풀 리퀘스트 전에 빌드, 타입, 린트, 테스트, 보안 문제를 잡고 싶은 개발자를 위한 것입니다.

사용하는 경우

  • ✓기능이나 큰 코드 변경을 마쳤고 점검받고 싶을 때.
  • ✓풀 리퀘스트를 열기 직전일 때.
  • ✓코드를 리팩터링했고 아무것도 깨지지 않았는지 확인해야 할 때.

스킬 링크

https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/verification-loop/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/verification-loop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 repo
  • references/REPORT-TEMPLATE.md - report structure for final verification output
  • examples/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.

repo: Galaxy-Dawn/claude-scholar

인기도

GitHub 스타
6.0k
순위
#14511
라이선스
MIT
업데이트
2026. 10. 19.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬