AGENT SKILL
变更验证
verify_changes
在认定工作完成之前使用——运行只读的质量门禁和测试,解读失败原因,并确认变更正确无误。这是工作循环中的验证步骤。
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- verify_changes
- risk
- read-only
- family
- quality-testing-debugging
- profile
- core
- summary
- Run the read-only gate (`make check`, `make check-sync`) and report pass/fail honestly before calling work done
- maturity
- stable
- triggers
- [ "verify", "run the checks", "quality gate", "make check", "is it done", "final checks", "run the tests and report", "quality checks", "before merging" ]
- visibility
- developer
- description
- Use before considering work done — run the read-only quality gate and tests, interpret failures, and confirm the change is correct. The verification step of the working loop.
- auto_trigger
- true
- small_model_path
- true
02 资源文件 1
- 参考文档agents/openai.yaml462 B
03 SKILL.md 正文
Skill: verify_changes
Purpose
Confirm that a change is correct and meets the repository's quality bar before handing it off, using the existing read-only gates. Verification observes; it does not mutate the tree.
Required Input
- The change to verify (working tree, branch, or specific files).
- Any feature-specific behavior that should be exercised.
Output Format
- The commands run and their results.
- A pass/fail verdict per gate (format, lint, types, security, tests, sync).
- For failures: the failing command, the relevant output, and the smallest fix.
- Relevant manual checks performed (e.g. a CLI/app run, behavior exercised).
- Known remaining risks.
- Whether the implementation is ready for review.
Execution Rules
- Run the repo's documented quality gate when present (here:
make check— ruff format check, ruff lint, bandit, mypy, pytest + coverage). In a workspace without it, use that repo's documented runner (Makefile,tox.ini,scripts/), thenpython -m pytest <target>, then direct execution of the real test functions — never a rewritten synthetic approximation. - If skills, agents, or adapter files changed, also run
make check-sync. - Do not mutate files during verification. Apply fixes deliberately with
make fix/make format, then re-verify. - Exercise the actual behavior when feasible (focused
pytest, a CLI run, or thegenerate_e2e_testsskill for critical flows). - Report honestly: if a gate fails or a step was skipped, say so.
- A completion claim without an executed verification command is a defect, not a deliverable.
- Comply with
.github/automation.md(CI is read-only; fix locally).
04 同仓库更多 Skills
实施计划编写
writing-plans
当你已有多步骤任务的规格说明或需求时,在动手编写代码之前使用。
★ 0
清晰简洁写作
writing-clearly-and-concisely
暂无简介
★ 0
代码变更验证
verify_changes
暂无简介
★ 0
模块结构验证
validate_module_structure
暂无简介
★ 0
Git Worktree 隔离工作区
using-git-worktrees
当开始需要与当前工作区隔离的功能开发工作时,或在执行实施计划之前使用——通过原生工具或 git worktree 回退方案确保存在隔离的工作区。
★ 0
UI/UX 设计优化
ui-ux-pro-max
暂无简介
★ 0