Verify code correctness before claiming done or committing. Run 6-dimension checklist: requirements coverage, concurrency safety, error handling, resource management, boundary conditions, and security. Output PASS/FAIL per dimension with final DONE/NOT DONE verdict. Use after implementation as pre-commit gate. Triggers on: is it done, ready to commit, verify correctness, did I miss anything, pre-commit check.
Design quality ≠ correctness. Well-designed code can still have bugs, missing requirements, or safety issues.
Run every dimension check before claiming done — "I think I covered everything" without explicit mapping is exactly the gap this skill exists to close.
For each dimension: detect if it applies, then verify.
Detect: Were requirements stated? (explicit list, user request, spec)
If YES, verify:
Red flag: "I think I covered everything" without explicit mapping
Detect: Any of these present?
If YES, verify:
Red flag: "It's probably fine" or "Python GIL handles it"
Detect: Can any operation fail?
If YES, verify:
except: or except Exception: passRed flag: "Errors are rare" or "caller handles it" without checking caller
Detect: Does code acquire resources?
If YES, verify:
Red flag: "It cleans up eventually" or daemon threads without shutdown
Detect: Does code handle variable-size input?
If YES, verify:
[], "", None, 0?Red flag: "Nobody would pass that" or "that's an edge case"
Detect: Does code handle untrusted input?
If YES, verify:
../ exploitation)Red flag: "It's internal only" (internals get exposed)
Detailed per-dimension checklists: Read(${CLAUDE_SKILL_DIR}/checklists.md)
When verifying, output:
## Correctness Verification
### Requirements: [PASS/FAIL/N/A]
- Requirement 1 → implemented in X
- Requirement 2 → implemented in Y
### Concurrency: [PASS/FAIL/N/A]
- Shared state: [list]
- Protection: [how]
### Errors: [PASS/FAIL/N/A]
- Failure points: [list]
- Handling: [approach]
### Resources: [PASS/FAIL/N/A]
- Acquired: [list]
- Released: [how]
### Boundaries: [PASS/FAIL/N/A]
- Edge cases: [list]
- Handling: [approach]
### Security: [PASS/FAIL/N/A]
- Untrusted input: [list]
- Validation: [approach]
**Verdict:** [DONE / NOT DONE - list blockers]
| Skill | Focus | When | |-------|-------|------| | aposd-designing-deep-modules | Design quality | FIRST—during design | | aposd-verifying-correctness | Actual correctness | BEFORE "done" | | cc-quality-practices | Testing/debugging | Throughout |
Order: Design → Implement → Verify (this skill) → Done
| After | Next | |-------|------| | All dimensions pass | Done (pre-commit gate) |
npx skills add ryanthedev/aposd-verifying-correctness下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer