Add error handling that matches existing repo error and logging packages.
Install
npx skills add https://github.com/blockmatic/basilic-skills --skill w-errorsSKILL.md
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.
- Identify failure points on the changed path: validation, I/O, authz, empty/invalid input.
- Use the repo error type and logger. Return or render existing user-facing error patterns.
- 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.
- Cover the new path with a test or a named manual scenario. Run the smallest existing check.
- Docs:
/w-docsif behavior or commands changed.
Related skills
w-a11yblockmaticAudit UI against repository a11y docs and tests; do not invent a WCAG level.w-api-docsblockmaticRefresh API docs from the owning schema source; never edit generated OpenAPI by hand.w-api-testblockmaticAdd API tests that exercise public HTTP behavior against existing harnesses.w-architectureblockmaticPlan an implementation structure; durable decisions belong in ADRs and architecture docs.