为 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.
读取计划文档并拆解步骤,生成可直接粘贴的 /orchestrate 链式提示词
依据C++核心指南辅助编写、审查与重构更现代安全的C++代码。
调用最新框架与库文档,快速回答配置、API与代码示例问题
在本地审查应用上线准备度,快速发现生产环境风险与薄弱环节。
为 Spring Boot 与 Quarkus 服务生成并统一应用 Java 编码规范。
帮助用户搭建 WireGuard VPN、配置客户端并安全远程访问家庭网络。
用不同模型独立核验产物,发现同源检查遗漏的问题
在宣布任务完成前运行验证命令并核对结果,确保结论可靠无误。
为 Django 项目执行发布前校验流程,涵盖迁移、测试、安全与部署检查。
将代码调研、修改与验证任务委派给 Claude Code 并管理后台执行。
提供可调用的依赖审计核验结论,帮助快速判断项目组件风险。
为 Quarkus 项目执行发布前验证闭环,涵盖构建、测试、扫描与差异审查。