agentsclimarketplace

Error messages

Skill a5c-ai/babysitter/library/specializations/programming-languages/skills/error-messages

Expert skill for designing and implementing high-quality compiler error messagesFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill error-messages

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.9 KB, 331 tokens by cl100k_base, as published. Nobody here has run it

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

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

What ships with it: 1 file

917 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.