josealvaradoo/battery-api/hono-errors
Claude Code and agent skill by josealvaradoo/battery-api
- community
Checking that the SKILL.md file is still in the repository.
Create perfect error for hono following the project styleguide.
Install
npx vskill@latest install josealvaradoo/battery-api/hono-errorsSKILL.md
Hono Errors Skill
Add a new error for hono following the project styleguide. The error should define the custom error classes used in the application, and should also handle any necessary validation and error handling. The error must follow TypeScript best practices and should be designed to work seamlessly with the domains and handlers layers.
When to use
Use this skill when you need to define a new custom error class for the application. Custom errors are useful for providing more specific error messages and handling specific error cases in the domains and handlers layers, so it's important to follow the project styleguide to ensure consistency and maintainability.
How to use
When asked to add or edit any error:
- Create a new file in the
models/(model)/errors.tsif it's necessary. - Create a typescript class which extends from Error and add a message in its constructor.
Template
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/skills/hono-errors/SKILL.md
Popularity
- 7-day trend score
- 0
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
[](https://verified-skill.com/skills/josealvaradoo/battery-api/hono-errors)