Error Messages

SkillCommunication

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

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Error Messages skill

What this skill tells your AI

The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/programming-languages/skills/error-messages/SKILL.md and read by ahel’s review.

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

{
  "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" }
    }
  }
}

Signals

GitHub stars
2k
Forks
112
Last commit
Sep 2026
Advanced
Item type
skill
Key
error-messages
Source
github.com/a5c-ai/babysitter