Parse cryptic error messages into plain English with actionable fixes. Covers Power Platform, Python, JavaScript, HTTP, Git, and Dataverse. Invoke with /error.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill 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
- Identify error source (language, framework, service)
- Extract error code, message, stack trace
- 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.
More by kevcofett
View allConnect Claude to 500+ apps through a single MCP gateway server. Manage connections, check status, and list available integrations. Invoke with /rube.
Architecture Decision Records for documenting technical choices. Creates numbered ADRs with context, decision, consequences, and status. Invoke with /adr.
Design and validate API contracts before implementation. Generate OpenAPI specs, mock servers, and request/response validation. Invoke with /api.
Save and restore conversation context across sessions. Captures decisions, files modified, blockers, and next steps. Invoke with /checkpoint.
