Skip to main content

verification-before-completion

Verification checklist before marking work complete. Use when: finishing a fix, completing a review finding, validating a build, confirming a refactor.

跳到安装

来源信息

仓库
ROCm/rocm-systems
最近来源活动
2026年4月24日 22:53
检测到的 SKILL.md 语言
英语
星标
508
分支
414

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
verification-before-completion
description
Verification checklist before marking work complete. Use when: finishing a fix, completing a review finding, validating a build, confirming a refactor.
# Verification Before Completion Ensures fixes and changes are actually validated before declaring success. Prevents "it compiles so it works" thinking. ## Core Principle Never mark work done based on absence of errors. Verify the **positive** — confirm the expected behavior exists. ## Verification Checklist Before marking any task complete, verify: ### 1. Build Verification - [ ] Code compiles without new warnings - [ ] All existing tests still pass - [ ] Package builds successfully (if applicable) ### 2. Behavioral Verification - [ ] The fix actually addresses the reported problem (not just a related symptom) - [ ] Expected output is produced (not just "no error") - [ ] Edge cases considered: empty input, null handles, max values, concurrent access ### 3. Regression Check - [ ] No existing functionality broken by the change - [ ] API contract preserved (same inputs → compatible outputs) - [ ] No new warnings from static analysis or formatters ### 4. Integration Verification - [ ] Changes work across all affected layers (C → Python → CLI if applicable) - [ ] Both system-installed and pip-installed paths work (for Python changes) - [ ] Both RPM and DEB packaging still work (for build changes) ## Anti-Patterns | Anti-Pattern | Reality | |-------------|---------| | "It compiles" | Compilation proves syntax, not correctness | | "Tests pass" | Tests may not cover the changed path | | "No errors in output" | Silent failures are the worst failures | | "Works on my machine" | Check both install contexts | | "The diff looks right" | Run the code, don't just read it | ## When to Use - After fixing a review finding - After completing a build/install cycle - After refactoring code - Before marking a subagent task as done
在 GitHub 查看