iterate-until-verified
它能做什么
这个技能为智能体提供处理大型任务的循环流程:设定明确的完成检查,执行工作,验证每个结果,并不断改进,直到检查通过。适合希望对较大请求获得谨慎、经过核对的结果的人。
适用场景
- ✓任务规模较大,需要多轮检查的时候。
- ✓你希望对结果进行独立审核或严格评判的时候。
- ✓你希望工作持续进行,直到通过明确质量检查的时候。
技能链接
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/iterate-until-verified/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请不断改进这份报告,直到它通过明确的准确性和清晰度检查,并把你使用的检查项目展示给我。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会锁定原始请求,把“最好”之类模糊的词转换为可以观察的检查项,完成工作,并用证据加以验证。在整个过程中,原始任务始终具有决定性。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Iterate Until Verified
Preserve the task. Strengthen the process around it.
Choose the mode
- Execute: Complete the original task with the workflow below. Use this mode by default.
- Compose: When the user asks for an improved prompt rather than the finished work, return a reusable prompt wrapper. Keep the original task authoritative and unchanged inside the wrapper.
Do not silently switch from composing a prompt to executing it.
1. Lock the original task
Extract:
- outcome and deliverables
- audience and use case
- supplied inputs and references
- constraints, tools, formats, and exclusions
- authorized actions and protected boundaries
- explicit definition of done
Treat these as the task contract. Do not replace the subject, invent requirements, relax constraints, expand permissions, or let the verification method become the deliverable.
Ask a question only when a missing answer would materially change the work and cannot be discovered safely. Otherwise, state a reasonable assumption and proceed.
2. Convert ambition into gates
Translate words such as perfect, best, professional, production-ready, or AAA into observable checks. Select only the dimensions relevant to the task:
- correctness and factual accuracy
- completeness against the request
- craft, clarity, and audience fit
- usability and accessibility
- robustness, edge cases, and regression safety
- performance, security, or compliance
- visual, editorial, or technical fidelity to a supplied benchmark
Create a compact acceptance matrix:
| Gate | Verification method | Pass condition | Evidence |
|---|---|---|---|
| Relevant quality dimension | Test, inspection, comparison, or read-back | Observable binary condition | Command, source, screenshot, output, or artifact |
Prefer pass/fail conditions over vague scores. A strong reaction such as “wow” may be a useful signal, but it is never the only gate.
3. Decompose and assign
Split the task into the smallest meaningful workstreams with clear ownership, inputs, outputs, and integration boundaries.
- Fan out only workstreams that are genuinely independent.
- Keep coupled edits with one owner to avoid racing changes.
- Give each worker the original task contract and only the context it needs.
- Require every worker to return an artifact or evidence, not a confidence claim.
- Keep one integrator responsible for cross-workstream consistency and regressions.
Use subagents or delegated workers when they are available, permitted, and useful. Otherwise, perform the workstreams sequentially while preserving the same ownership boundaries.
4. Separate making from judging
Do not let an implementer be the sole approver of its own work.
Give the verifier:
- the original task contract
- the acceptance matrix
- the candidate artifact
- the relevant benchmark or source material
Withhold the implementer’s rationale and self-assessment unless the verifier needs them to reproduce a check. Instruct the verifier to find failures first, cite evidence, reject unsupported claims, and return a gate-by-gate verdict.
For blind comparison:
- anonymize and randomize candidates when practical
- compare like with like using the same conditions
- keep the evaluator blind to author or candidate identity, not to the task or rubric
- do not call a comparison blind when obvious identity cues remain
5. Match proof to the work
Use the strongest verification surface available:
- Code: focused tests, typechecks, builds, linters, security checks, runtime behavior, and regression tests.
- Visual work: rendered output at relevant sizes, interaction checks, accessibility checks, and side-by-side comparison with an accessible reference.
- Research or analysis: primary sources, reproducible calculations, citation checks, and contradiction searches.
- Writing: factual checks, brief coverage, audience fit, structure, and an editorial pass against representative references.
- Plans or decisions: constraint coverage, dependency checks, failure scenarios, feasibility, and explicit tradeoffs.
- External actions: exact target resolution followed by post-action read-back.
Never substitute a self-rating for evidence. Never invent a benchmark, source, test result, screenshot, or blind verdict.
6. Run the loop
Repeat:
- Produce or improve the candidate.
- Run every applicable gate.
- Record
pass,fail, orblockedwith evidence. - Route each failure to the r
常见问题
它会改变我的要求吗?
不会。技能要求保持原始任务不变,不替换其主题,也不放宽其限制。
它能比较两个版本吗?
可以。技能涵盖盲评比较候选结果,即不知道哪个是哪个。
如果需要提问怎么办?
技能说明,只有在缺少的答案会改变工作结果时才提问。否则,它会说明一个假设并继续。
详情
作者的原始描述
Apply a prompt-agnostic execution and verification loop to any substantial task while preserving the original request. Use when the user asks to fan out work, use subagents or independent reviewers, loop until done, benchmark against references, apply a harsh critic, compare candidates blind, improve an existing prompt with verification, or continue until explicit quality gates pass.
repo: MengTo/Skills
热度
- GitHub 星标
- 7.2k
- 排名
- #13338
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
3d-cloth-material
7.2k帮你的智能体在 Three.js 中制作逼真的编织织物,包括纱线编织纹理、柔和光泽、自然褶皱、下摆和缝线。
3d-falling-leaves
7.2k帮你的智能体在 3D 场景中添加逼真的飘落树叶,树叶会翻滚、随风飘动,并在镜头移动时循环利用。
3d-four-seasons
7.2k帮你的智能体为 3D 场景添加春夏秋冬四季效果,无需重建场景即可改变植被、光线、天空和积雪。
3d-high-poly-models
7.2k帮你的智能体构建形状平滑、边缘可信的精细 3D 模型,然后制作在网页上运行流畅的轻量版本。