outfitter-dev/trails/trails-error-format

Claude Code and agent skill by outfitter-dev/trails

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when reviewing Trails error taxonomy, surface error rendering, redaction, retryability, or Result-vs-throw boundaries. Helps distinguish runtime failures from intentional construction and host-boundary throws.

Install

npx vskill@latest install outfitter-dev/trails/trails-error-format

SKILL.md

Trails Error Format

Use this skill when a change touches error classes, Result.err, CLI/HTTP/MCP rendering, redaction, retry behavior, or host construction boundaries.

Workflow

  1. Classify the failure boundary:
  • Trail runtime failures return Result.err(new TrailsErrorSubclass(...)).
  • Surface presentation maps existing TrailsError values to surface-specific output.
  • Construction or programmer errors may throw when the boundary is explicit.
  1. Choose the most specific TrailsError subclass for runtime failures.
  2. Trace rendering data back to owner exports such as error categories, retryability, and status or code maps.
  3. Check redaction at the boundary that exposes data to agents, users, logs, or surface clients.
  4. Verify tests cover both the raw error object and the rendered surface shape when both are public behavior.

Authoritative Sources

  • Bundled error taxonomy
  • Public error exports from the installed @ontrails/core package.
  • The installed CLI, MCP, HTTP, and Hono surface packages when their rendering

behavior is under review.

Must Not

  • Do not collapse all throws into bugs; verify whether the throw is a construction or programmer-error boundary.
  • Do not add parallel error-code maps when core owner data already exposes the mapping.
  • Do not leak raw native Error values through public runtime Results when a specific TrailsError exists.
  • Do not put surface rendering policy inside trail implementation logic.

Output

Return:

  • Runtime, rendering, redaction, or host-boundary classification.
  • Expected error subclass and category.
  • Owner mapping or rendering source.
  • Surface behavior checked.
  • Missing tests or follow-up issue.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/outfitter-dev/trails/trails-error-format/badge)](https://verified-skill.com/skills/outfitter-dev/trails/trails-error-format)

Something wrong with this skill or its page? Tell us.