Agent skill
byethrow
Reference the byethrow documentation to understand and use the Result type library for error handling in JavaScript/TypeScript. Access detailed API references, practical usage examples, and best practice guides.
Install this agent skill to your Project
npx add-skill https://github.com/ryoppippi/ccusage/tree/main/.claude/skills/byethrow
SKILL.md
About byethrow
@praha/byethrow is a lightweight, tree-shakable Result type library for handling fallible operations in JavaScript and TypeScript.
It provides a simple, consistent API for managing errors and results without throwing exceptions.
For detailed API references and usage examples, refer to the documentation in node_modules/@praha/byethrow-docs/docs/**/*.md.
Documentation CLI
The byethrow documentation CLI provides commands to browse, search, and navigate documentation directly from your terminal.
list command
List all available documentation organized by sections.
# List all documentation
npx @praha/byethrow-docs list
# List documentation with filter query
npx @praha/byethrow-docs list --query "your query"
Options:
--query <string>: Filter documentation by keywords (optional)
search command
Search documentation and get matching results with highlighted snippets.
# Search documentation
npx @praha/byethrow-docs search "your query"
# Limit number of results (default: 5)
npx @praha/byethrow-docs search "your query" --limit 10
Arguments:
query: Search query string (required)
Options:
--limit <number>: Maximum number of results to return (default: 5)
toc command
Display table of contents from a documentation file.
# Display table of contents from a markdown file
npx @praha/byethrow-docs toc path/to/document.md
Arguments:
path: Path to the documentation file (required)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
use-gunshi-cli
Use the Gunshi library to create command-line interfaces in JavaScript/TypeScript.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Didn't find tool you were looking for?