mcpField
W
w-errors

w-errors

github.com/blockmatic-iceboxDevelopment1647 installsUpdated 4w ago
Repository

About w-errors

w-errors is a Basilic workflow agent skill for hardening failure handling in the current code. It guides developers to follow repository conventions, avoid unsafe retries, and verify changes.

Key features

  1. 01Find validation, I/O, and authorization failures
  2. 02Use repository error and logger patterns
  3. 03Avoid retries for unsafe writes
  4. 04Test changes and run a focused check
  5. 05Update docs when behavior changes

Use cases

  1. 01Improve error handling on a changed code path
  2. 02Prevent retries from masking the original failure
  3. 03Verify a new failure path with tests or a manual scenario

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/blockmatic-icebox/basilic-skills --skill w-errors

After installing, type/w-errorsin Claude Code to confirm it loaded.

Details

From the project README

Harden the current code's failure paths. Follow the error-handling page named from AGENTS.md and existing error/logger packages. Do not hide the owning failure with retries.

  1. Identify failure points on the changed path: validation, I/O, authz, empty/invalid input.
  2. Use the repo error type and logger. Return or render existing user-facing error patterns.
  3. Retry only when the write is replay-safe. Otherwise keep an explicit no-retry path with a bounded deadline if a retry is already required.
  4. Cover the new path with a test or a named manual scenario. Run the smallest existing check.
  5. Docs: /w-docs if behavior or commands changed.

Comments

Markdown supported