speckit-review-errors

Audit error handling across code paths and produce a structured report.

9|4|Updated May 13, 2025
One-click install
npx skills add https://github.com/opsmill/infrahub-mcp --skill speckit-review-errors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-review-errors
Source: https://github.com/opsmill/infrahub-mcp/tree/main/.agents/skills/speckit-review-errors
Command: npx skills add https://github.com/opsmill/infrahub-mcp --skill speckit-review-errors

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineering teams enforce explicit error visibility by auditing error handling across code paths, ensuring errors are logged with context, surfaced to users when appropriate, and not silently ignored.

Core Features & Use Cases

  • Error path discovery: Identify try-catch/rescue and error propagation points to verify coverage and prevent silent failures.
  • Logging quality assessment: Ensure errors include context, severity, and unique identifiers to aid debugging.
  • User-facing feedback & fallbacks: Validate that error messages are actionable and that fallbacks do not obscure root causes.
  • Use Case: When reviewing a PR that touches error handling, this skill helps auditors produce a comprehensive report with recommended fixes.

Quick Start

Run an error-handling audit against your codebase to surface silent failures and guidance for fixes.

Frequently Asked Questions about speckit-review-errors

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit error handling to surface silent failures in my codebase?

Auditing error handling identifies try-catch blocks and error propagation paths to verify coverage, ensuring errors are logged with context and surfaced to users. This process surfaces silent failures and produces a structured report with recommended fixes.

What is the best way to review error logging quality and exception handling in a pull request?

Reviewing exception handling quality requires checking that logged errors include context, severity, and unique identifiers to aid debugging. A rigorous code review validates that error messages are actionable and that fallbacks do not obscure root causes.

How does an error handling audit identify edge cases across diverse error patterns?

An error handling audit identifies edge cases by applying analysis across diverse error patterns and propagation paths. It verifies coverage for both common and edge cases, ensuring proper logging and user feedback to prevent silent failures.

Can I use this error handling review to generate guardrails for future code changes?

Yes, the error handling review generates guardrails for future changes by producing a structured report. This report details findings, recommended fixes, and guidelines to maintain explicit error visibility and prevent silent failures.

Does this error path discovery work with common and edge case user-facing messages?

Error path discovery applies across diverse error patterns and user-facing messages to cover common and edge cases. It validates that error messages are actionable and that fallbacks do not obscure the root cause of the failure.