一键导入
verification-loop
Formalizes agent-core's make check/type-check/test/fix pipeline into a structured 6-phase verification skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Formalizes agent-core's make check/type-check/test/fix pipeline into a structured 6-phase verification skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Runtime extension 验证规范 — 验证 harness package 中 tools、rails、skills 是否能真实热加载并可运行
实现阶段主操作手册 — 指导 agent 完成改码与局部验证,并把提交留给独立 commit phase
扩展实现阶段 — 在 worktree 中生成运行时扩展代码
扩展方案设计 — 将能力缺口转化为 ExtensionDesign 结构
Generates a multimodal Skill markdown file from a source URL. Use this Skill when a user wants to turn a web tutorial, product support article, or software guide into a reusable agent Skill with concise steps and embedded screenshots.
Comprehensive step-by-step workflow for navigating the Booking.com mobile site to search for destinations, select dates/occupancy, browse results, and extract detailed hotel information including pricing and facilities.
| name | verification-loop |
| description | Formalizes agent-core's make check/type-check/test/fix pipeline into a structured 6-phase verification skill. |
| disable-model-invocation | true |
Runs the full verification pipeline before every meaningful commit. Use this skill whenever you have completed a feature, fixed a bug, or are about to submit a PR.
git push)pyproject.toml, requirements*.txt)Run each phase in order. Stop immediately on failure.
Verify all modules compile without syntax errors:
python -m py_compile openjiuwen/
make type-check
Address all error: messages. warning: messages are acceptable but
should be reduced over time.
make check
Fix Ruff violations. If a rule is a false positive, add a per-line suppression comment, not a blanket disable in the config.
make test
If any test fails, fix the test or the implementation before proceeding.
For @pytest.mark.slow tests, run selectively:
pytest -m "not slow"
Verify coverage stays above 80% for all modules under openjiuwen/core/
and openjiuwen/harness/. If coverage dropped, add tests for the
missing paths.
bandit -r openjiuwen/ -ll
Address all HIGH and CRITICAL findings. SECURITY-level findings require a code change, not a suppression. Only suppress with a documented reason.
git diff --stat
git diff openjiuwen/
Review every changed line. Check for:
After running the full loop, report the result:
Verification Report
==================
Build: PASS
TypeCheck: PASS (2 warnings)
Lint: PASS (0 errors)
Tests: PASS (142 passed, 3 skipped)
Coverage: PASS (84.3% overall)
Security: PASS (0 HIGH/CRITICAL)
Diff: 3 files changed, +47 -12
Status: READY
In CI pipelines, run the full loop without stopping on the first failure. Collect all failures and report them together:
# CI mode: run all phases, report all failures at the end
set +e
make type-check 2>&1 | tee /tmp/typecheck.log
make check 2>&1 | tee /tmp/lint.log
make test 2>&1 | tee /tmp/test.log
bandit -r openjiuwen/ -ll 2>&1 | tee /tmp/bandit.log
set -e
# Report consolidated results
For small, isolated changes, you may skip phases 1-2 if they are clearly unaffected. Use judgment:
| Change type | Can skip phase 1-2? |
|---|---|
| Doc-only change | Yes (phases 3, 4, 5, 6) |
| Test-only change | Yes (phases 3, 4, 6) |
| Source code change | No (all phases) |
| Dependency change | No (all phases, especially 5) |
When skipping phases, state which ones were skipped and why in the verification report.