Skip to content
Back to skills

Error Messages

ASecurity

Expert skill for designing and implementing high-quality compiler error messages

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
data-airustgobashbackend

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill error-messages --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Error Messages?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Error Messages
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-error-messages/badge)](https://www.skillsdirectory.com/skills/a5c-ai-error-messages)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Error Messages
description: Expert skill for designing and implementing high-quality compiler error messages
category: User Experience
allowed-tools:
  - Read
  - Write
  - Edit
  - Glob
  - Grep
  - Bash
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:programming-languages]
  skillAreas: [skill-area:compiler-implementation, skill-area:language-design]
  roles: [role:backend-engineer]
---

# Error Messages Skill

## Overview

Expert skill for designing and implementing high-quality compiler error messages.

## Capabilities

- Design clear, actionable error message templates
- Implement source context display with underlines
- Generate fix suggestions and quick fixes
- Handle error cascades and suppression
- Implement multi-span error annotations
- Support machine-readable error output (JSON)
- Implement color/styled terminal output
- Design error recovery strategies for better diagnostics

## Target Processes

- error-message-enhancement.js
- parser-development.js
- type-system-implementation.js
- semantic-analysis.js
- lsp-server-implementation.js

## Dependencies

Elm/Rust error message guidelines

## Usage Guidelines

1. **Clarity**: Make error messages clear and actionable
2. **Context**: Show relevant source code context with precise location
3. **Suggestions**: Provide fix suggestions when possible
4. **Cascades**: Suppress cascading errors to avoid overwhelming users
5. **Machine-Readable**: Support JSON output for tooling integration

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "errorFormat": {
      "type": "string",
      "enum": ["human", "json", "sarif"]
    },
    "features": {
      "type": "array",
      "items": { "type": "string" }
    },
    "colorSupport": { "type": "boolean" },
    "generatedFiles": {
      "type": "array",
      "items": { "type": "string" }
    }
  }
}
```

Files in this skill

  • README.md917 B
  • SKILL.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…