adding-error-codes
CommunityAdd new compiler error codes
Authorpprice
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of adding new diagnostic error codes to the Vole compiler, ensuring consistency and proper tracking of development issues.
Core Features & Use Cases
- Error Code Generation: Automatically finds the next available error code in the sequence for lexer, parser, or semantic errors.
- Error Emission Guidance: Provides clear instructions on where to add new error variants and how to emit them in the compiler's codebase.
- Testing Integration: Guides the user through adding snapshot tests to verify error messages and ensures code quality with pre-commit checks.
- Use Case: A developer needs to introduce a new semantic error for a recently implemented language feature. This Skill will help them find the correct error code, implement the error reporting, and add a test case.
Quick Start
Use the adding-error-codes skill to get the next available semantic error code.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adding-error-codes Download link: https://github.com/pprice/vole/archive/main.zip#adding-error-codes Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.