mcpField
W
w-errors

w-errors

github.com/blockmaticDevelopment1647 installsUpdated 4w ago
Repository

About w-errors

w-errors is a repository skill for strengthening failure handling in changed code paths. It directs agents to follow existing error and logging conventions, avoid unsafe retries, and verify the new path.

Key features

  1. 01Identifies validation and I/O failure points
  2. 02Uses repository error and logger patterns
  3. 03Restricts retries to replay-safe writes
  4. 04Adds a test or named manual scenario
  5. 05Runs the smallest relevant check

Use cases

  1. 01Hardening error handling in a changed feature
  2. 02Reviewing retry behavior for write operations
  3. 03Verifying a new failure-handling path

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/blockmatic/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