一键导入
verification-loop
Use this skill for iterative verify-fix cycles across build, type, lint, test, and security gates until completion or explicit stop conditions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill for iterative verify-fix cycles across build, type, lint, test, and security gates until completion or explicit stop conditions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI-native code annotation protocol that encodes intent, risk, dependencies, constraints, and test expectations in machine-parseable comments.
Professional Codex-native multi-agent code review with confidence scoring
架构规划专家 - 使用 Codex 本地上下文、仓库证据和只读 child agent 进行大型系统架构设计与规划。
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
Imported from everything-codex command checkpoint
Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
| name | verification-loop |
| description | Use this skill for iterative verify-fix cycles across build, type, lint, test, and security gates until completion or explicit stop conditions. |
| version | 0.3.0 |
| source | fork |
| checksum | 7d5cf41f8642dd50339027b46b43b64270906f5b7bcd18e8b4252d88091d4d08 |
| updated_at | "2026-03-12T10:57:03.000Z" |
| intent | verification |
| layer | quality |
Codex invocation: use
$verification-loop ...orverification-loop: ...
Run repeated verification cycles with bounded retries and clear blocker escalation.
goal (required): full-quality | tests | build | lint | typecheck | pre-pr.scope (optional): changed files/modules only.max_cycles (optional): default 5.max_same_failure (optional): default 3.strict_security (optional): true | false.$verification-loop full-quality
$verification-loop pre-pr
$verification-loop tests for src/auth/
$verification-loop when a single verification pass is not enough and automatic retry/fix cycling is needed.$verify for one-pass verification snapshot.$test-gen for adding missing tests after code changes.Codex supports native subagents. Delegate with spawn_agent, coordinate with send_input, collect via wait_agent, and clean up with close_agent.
Minimal orchestration pattern:
spawn_agent -> send_input (optional) -> wait_agent -> close_agent
Fallback: execute the loop sequentially when delegation is unavailable.
Prefer project-native commands by package manager lockfile detection.
Node defaults:
npm run buildnpx tsc --noEmit (or npm run typecheck if defined)npm run lintnpm run testSecurity checks:
rg -n "sk-[A-Za-z0-9_-]{20,}" --glob '!node_modules' .
rg -n "api[_-]?key|secret|token\s*=\s*['\"]" --glob '!node_modules' .
Debug log audit:
rg -n "console\.log|print\(" src tests
State file: .omc/state/verification-loop-state.json
Per cycle:
max_cycles)max_same_failure times[VERIFICATION-LOOP]
- goal
- cycle: <n>/<max_cycles>
- active gate
[RESULT]
- build/type/lint/test/security: pass|fail
- failure class
- fix applied
[NEXT]
- recheck command
- escalation decision
[STATUS]
- result: <complete|blocked|in_progress>
- promise: <PROMISE tag>
- stop_reason: <if blocked>
[PROMISE:VERIFICATION_LOOP_COMPLETE][PROMISE:VERIFICATION_LOOP_BLOCKED]For long tasks, run this loop at checkpoints:
If loop blocks, handoff to focused skills:
$build-fix$test-gen$security-review