一键导入
empirical-validation
Use when claiming work is complete, successful, or fixed, and empirical evidence is required to validate the change before proceeding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when claiming work is complete, successful, or fixed, and empirical evidence is required to validate the change before proceeding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when Ground Truth alignment finds memory contamination and the user explicitly requests scoped cleanup with /cleanse.
Use when registering, reviewing, merging, or rebuilding HXSK glossary term definitions after glossary-detect suggests a candidate or the user invokes /define.
Use when staged changes exist requiring qlty checks, logical split detection, or HXSK phase-scoped conventional commit creation.
Use when validating code for circular imports, layer violations, or design doc logic errors before merging architecture-level changes.
Use when .hxsk/.bootstrap-version is missing (fresh install) or exists (verify/update) to initialize HExoskeleton.
Use when shell scripts need linting/formatting before execution or commit to ensure code quality.
| description | Use when claiming work is complete, successful, or fixed, and empirical evidence is required to validate the change before proceeding. |
| name | empirical-validation |
| trigger | 경험적 검증, 실행 결과 확인, 증거 기반 확인, prove it works, empirical proof, validate with output, 실제 작동 확인, 증거 제시, 실행 로그 확인, 스크린샷으로 확인, curl 로 테스트, 빌드 결과 확인, 테스트 통과 증명, 완료 전 검증, 5 단계 검증 프로토콜, 게이트 통과 확인, "should work" 금지, 확신 대신 증거, UI 상태 캡처, API 응답 확인, 데이터 상태 쿼리, 파일 생성 확인, exit code 확인, verify before done, show me the output, capture evidence, empirical validation required, run and verify |
"The code looks correct" is NOT validation.
Every change must be verified with empirical evidence before being marked complete.
| Change Type | Required Validation | Tool |
|---|---|---|
| UI Changes | Screenshot showing expected visual state | Bash (screenshot tool or browser MCP) |
| API Endpoints | Command showing correct response | Bash (curl/httpie) |
| Build/Config | Successful build or test output | Bash |
| Data Changes | Query showing expected data state | Bash |
| File Operations | File listing or content verification | Bash |
Identify Verification Criteria
Execute Verification
Document Evidence
.hxsk/JOURNAL.md under the taskConfirm Against Criteria
# Good: Actual test showing response
curl -X POST http://localhost:3000/api/login -d '{"email":"test@test.com"}'
# Output: {"success":true,"token":"..."}
# Bad: Just saying "endpoint works"
# Good: Take screenshot with browser tool
- Navigate to /dashboard
- Capture screenshot
- Confirm: Header visible? Data loaded? Layout correct?
# Bad: "The component should render correctly"
# Good: Show build output
npm run build
# Output: Successfully compiled...
# Bad: "Build should work now"
⚠️ 완료, 성공, 통과를 주장하기 전에 반드시 5단계를 거친다.
| 주장 | 필요 증거 | 불충분 |
|---|---|---|
| "테스트 통과" | 테스트 출력: 0 failures | 이전 실행, "통과할 것 같다" |
| "버그 수정" | 원래 증상 재테스트 | 코드 변경됨, 수정 추정 |
| "빌드 성공" | 빌드 명령 출력: exit 0 | "에러 없어 보인다" |
| "파일 생성" | ls/cat으로 존재+내용 확인 | Write 도구 사용했으므로 |
| 변명 | 현실 |
|---|---|
| "잘 돌아갈 것 같다" | 검증 명령을 실행하라 |
| "확신한다" | 확신 ≠ 증거 |
| "린터 통과했다" | 린터 ≠ 컴파일러 ≠ 테스트 |
| "에이전트가 성공 보고했다" | 독립적으로 검증하라 |
| "코드 변경이 명확하다" | 명확한 변경도 깨진다 |
| 변명 | 현실 |
|---|---|
| "이미 파일 내용을 안다" | 다른 에이전트/사용자가 수정했을 수 있다 |
| "단순한 변경이다" | 단순한 변경이 가장 많이 깨진다 |
| "방금 읽었다" | "방금"이 몇 턴 전일 수 있다. 다시 읽어라 |
| "전체 파일 덮어쓰기가 빠르다" | 덮어쓰기는 다른 변경을 날린다. Edit을 써라 |
| 변명 | 현실 |
|---|---|
| "이건 불가능하다" | 3가지 다른 접근을 시도했는가? |
| "시간이 너무 오래 걸린다" | 사용자에게 보고하고 판단을 맡겨라 |
| "다음 세션에서 하자" | 현재 컨텍스트가 가장 풍부하다. 지금 시도하라 |
깊은 추론이 필요한 상황에서 명시적으로 깊은 thinking을 요청한다.
단일 Verify 외에 Guard를 추가하면 목표 달성 + 사이드 이펙트 없음을 동시에 검증한다.
Verify: bash .hxsk/scripts/doc-lint.sh # 목표 달성?
Guard: bash .hxsk/hooks/check-consistency.sh # 기존 기능 깨지지 않음?
Guard 실패 시 → Verify 성공이라도 BLOCK. Guard 명령은 이진 exit code(0/1)만 허용.
pre-commit hook과의 역할 구분:
두 레이어는 시점이 다르므로 중복이 아니다.
memory-protocol — 검증 결과(성공/실패)를 메모리에 저장context-health-monitor — 3+ 검증 실패 시 건강 이벤트 기록debugger — 검증 실패 시 근본 원인 분석 전환This skill integrates with:
/verify — Primary workflow using this skill/execute — Must validate before marking tasks completeCLAUDE.md Validation + Thinking Budget 섹션AGENTS.md Iron Laws — 이 스킬의 상세 절차를 구현If verification fails:
.hxsk/STATE.mdNO COMPLETION WITHOUT EMPIRICAL EVIDENCE FIRST NO CLAIM WITHOUT FULL OUTPUT READ FIRST NO VALIDATION WITHOUT FRESH EXECUTION FIRST NO VALIDATION WITHOUT BASH EXECUTION FIRST NO PARTIAL PASS WITHOUT FULL SUITE PASS FIRST NO TRUST WITHOUT INDEPENDENT CHECK FIRST NO SUCCESS RECORD WITHOUT JOURNAL ENTRY FIRST