better-result-migrate-v2

Installation
SKILL.md

better-result Migrate v2

Upgrade better-result error definitions from the v1 TaggedError API to the v2 factory-based API.

When to Use

Use this skill when the user:

  • is upgrading better-result from v1 to v2
  • has classes that extend TaggedError directly
  • still uses TaggedError.match, TaggedError.matchPartial, or TaggedError.isTaggedError
  • needs help rewriting constructor calls to the new object-based form

Reading Order

Task Files to Read
Plan and execute the migration This file
See concrete before/after transforms references/migration-patterns.md
Related skills
Installs
27
GitHub Stars
1.5K
First Seen
Feb 13, 2026