Skill / SKILL.md

Result Error Handling

andymai/brepjs

This skill should be used when working with Result<T,E>, BrepError, or error paths in brepjs — deciding whether to throw or return a Result, constructing errors with codes, or handling failures. Trigger phrases include "should this throw or return err", "Called unwrap() on an Err", "add a new error code", "BrepErrorCode", "kernelCall", "unsupportedError", "BrepWrapperError", "the operation failed silently", "error was swallowed", "how do I unwrap this Result", or writing a new *Fns.ts function that can fail.
2 views 151 repository stars 0 commentsUpdated Nov 27, 2026
Overview

This skill should be used when working with Result<T,E>, BrepError, or error paths in brepjs — deciding whether to throw or return a Result, constructing errors with codes, or handling failures. Trigger phrases include "should this throw or return err", "Called unwrap() on an Err", "add a new error code", "BrepErrorCode", "kernelCall", "unsupportedError", "BrepWrapperError", "the operation failed silently", "error was swallowed", "how do I unwrap this Result", or writing a new *Fns.ts function that can fail.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/andymai/brepjs' skill-source

Use the complete skill-source/.claude/skills/result-error-handling directory with your client’s skill installer.

  • .claude/skills/result-error-handling Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/result-error-handling

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
3e3e91106be607fdb923785bdc91a56de0ec1057f5dfec7f9f700cf87f19649f
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills