AGENT SKILL
review-error-handling
Review error handling consistency and debuggability
- License 许可
- MIT
- 所属仓库
- yida29/archrip
- 最近更新
- 2026-11-12
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- review-error-handling
- description
- Review error handling consistency and debuggability
- argument-hint
- [scope: git diff | path | PR | notes]
- user-invocable
- true
02 资源文件 2
- 脚本scripts/mailbox.py9.5 KB
- 脚本scripts/test_mailbox.py8.3 KB
03 SKILL.md 正文
Error handling review — consistency, propagation, debuggability
Review the target codebase for error-handling quality: how errors are created, wrapped, displayed, and surfaced.
What to look for
- Inconsistent patterns:
process.exit,throw,return error, swallowed exceptions - External command execution failures lacking stdout/stderr context
- Errors without next-step guidance (what user should do)
- Catch-all handlers that hide non-user-interrupt failures
- UI/API boundaries where an error loses its root cause
Output format
- Findings (priority order)
- Evidence: file paths + patterns used
- User impact (hard to debug / wrong exit code / silent failure)
- Recommended conventions
- Where to terminate (only at entrypoints)
- Error shape (message + cause + hints)
- Smallest change set to align behavior
$ARGUMENTS
04 同仓库更多 Skills
review-ux-diagnostics
Review UX and diagnostics (errors, hints, verbose mode)
★ 1
review-typescript-strict
TypeScript Strict Modeガイドラインを適用してコードレビュー・修正を行う。
★ 1
review-test-strategy
Review test strategy and regression resistance
★ 1
review-supply-chain
Review supply-chain and code-execution risks
★ 1
review-srp
Review codebase for SRP (Single Responsibility) and boundaries
★ 1
review-schema-first
Review schema as a single source of truth (Schema-first)
★ 1