Agent SkillsAgent Skills
kevcofett

error-translator

@kevcofett/error-translator
kevcofett
1
0 forks
Updated 4/7/2026
View on GitHub

Parse cryptic error messages into plain English with actionable fixes. Covers Power Platform, Python, JavaScript, HTTP, Git, and Dataverse. Invoke with /error.

Installation

$npx agent-skills-cli install @kevcofett/error-translator
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Path.claude/skills/error-translator/SKILL.md
Branchmain
Scoped Name@kevcofett/error-translator

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: error-translator description: > Parse cryptic error messages into plain English with actionable fixes. Covers Power Platform, Python, JavaScript, HTTP, Git, and Dataverse. Invoke with /error.

Error Translator

Commands

  • /error <paste error message> β€” Translate and suggest fix
  • /error --context <file> β€” Translate with file context for better suggestions

Procedure

Phase 1: Parse

  1. Identify error source (language, framework, service)
  2. Extract error code, message, stack trace
  3. Identify root cause line (first non-framework line in stack)

Phase 2: Translate

Produce plain-English explanation: what happened, why, and where (file:line).

Phase 3: Fix

Provide: immediate fix (exact code/command), verification step, prevention strategy.

Error Pattern Library

Power Platform / Dataverse

  • "Primary Attribute Display Name not specified" β€” Missing displayname in displaynames element. Fix: add displayname tag.
  • "Option set display name not specified" β€” Inline OptionSet missing displaynames block. Fix: add displaynames/displayname to OptionSet.
  • "Failed to find connection references" β€” Workflow refs connection not in solution. Fix: add connectionreferences section to customizations.xml.
  • "ENV_IP_0002 unsupported schema version" β€” Non-fatal Cloud Flow warning. Flows may need manual activation.

Python

  • ModuleNotFoundError β€” Package not installed. Fix: pip install.
  • KeyError β€” Dictionary key missing. Fix: use dict.get() or check membership.
  • TypeError NoneType not subscriptable β€” Variable is None. Fix: add None check.
  • ConnectionRefusedError β€” Service down or wrong port. Fix: verify service and URL.

JavaScript/TypeScript

  • Cannot read properties of undefined β€” Accessing property on nonexistent object. Fix: optional chaining or null check.
  • Unexpected token β€” Invalid JSON/JS syntax. Fix: check trailing commas, quotes, encoding.
  • ERR_MODULE_NOT_FOUND β€” Bad import path. Fix: verify file exists and path is correct.

HTTP

  • 401: Auth missing/invalid. 403: Authenticated but unauthorized. 404: Resource not found. 429: Rate limited. 500: Server error.

Git

  • "not a git repository" β€” Wrong directory. Fix: cd to repo root.
  • "failed to push some refs" β€” Remote ahead. Fix: git pull --rebase.
  • "CONFLICT" β€” Merge conflict. Fix: resolve markers, git add.

MCMAP Error Recovery

For pac solution import errors, also check memory/context/errors.md, displayname tags, connection references, and OptionSet prefix conventions.