为 Claude Code 会话提供系统化校验流程,帮助检查结果正确性与质量。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "verification-loop" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/verification-loop/SKILL.md 2. 保存为 ~/.claude/skills/verification-loop/SKILL.md 3. 装好后重载技能,告诉我可以用了
请对这次 Claude Code 会话运行 verification-loop,系统检查我刚才的代码修改是否满足需求、是否引入明显错误,并给出验证结论与风险清单。
一份结构化校验报告,包含需求匹配度、发现的问题、风险说明和后续建议。
在提交代码前,请使用 verification-loop 复核本次会话的实现,重点验证边界情况、测试覆盖和潜在回归问题,输出通过项与未通过项。
一份提交前检查结果,明确列出已验证项、缺失测试、潜在回归点和修复建议。
请对 Claude Code 刚生成的解决方案执行 verification-loop,从逻辑正确性、实现完整性和可执行性三个方面进行全面验证,并总结可信度。
一份对 AI 生成方案的验证摘要,说明其可靠程度、主要缺陷和是否建议采用。
A comprehensive verification system for Claude Code sessions.
Invoke this skill:
# Check if project builds
npm run build 2>&1 | tail -20
# OR
pnpm build 2>&1 | tail -20
If build fails, STOP and fix before continuing.
# 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.
# JavaScript/TypeScript
npm run lint 2>&1 | head -30
# Python
ruff check . 2>&1 | head -30
# Run tests with coverage
npm run test -- --coverage 2>&1 | tail -50
# Check coverage threshold
# Target: 80% minimum
Report:
# 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
# Show what changed
git diff --stat
git diff HEAD~1 --name-only
Review each changed file for:
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. ...
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
This skill complements PostToolUse hooks but provides deeper verification. Hooks catch issues immediately; this skill provides comprehensive review.
为 Spring Boot 与 Quarkus 服务生成并统一应用 Java 编码规范。
用于把现有可用功能改成新行为,并同步更新测试、实现与提交把关。
快速查询基因组数据库并完成序列检索、富集分析与可复现生信记录
帮助用户智能挖掘高价值潜在客户并生成多渠道触达方案
帮助用户开展市场调研、竞品分析与行业洞察,产出带来源的决策摘要。
为医疗应用部署提供患者安全自动化评估,发现风险即阻止上线。
用不同模型独立核验产物,发现同源检查遗漏的问题
在宣布任务完成前运行验证命令并核对结果,确保结论可靠无误。
为 Django 项目执行发布前校验流程,涵盖迁移、测试、安全与部署检查。
将代码调研、修改与验证任务委派给 Claude Code 并管理后台执行。
用于校验 AI 生成代码的质量、安全性与性能,提升开发可信度。
提供可调用的依赖审计核验结论,帮助快速判断项目组件风险。