luum-home/luum-cognitive-os/error-analyzer
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Analyze accumulated errors from test/lint/build runs and propose skill
Install
npx vskill@latest install luum-home/luum-cognitive-os/error-analyzerSKILL.md
Error Analyzer Skill
Analyze accumulated error patterns from .claude/metrics/error-learning.jsonl and propose skill improvements.
When to Use
- After repeated test/lint/build failures
- When the orchestrator suggests running
/error-analyzerdue to 3+ pattern occurrences - Periodically to review error trends and improve development workflow
Instructions
Step 1: Load Error Data
Read .claude/metrics/error-learning.jsonl. Each line is a JSON object with:
timestamp: ISO timestamptimestamp_epoch: Unix epoch secondstype: TEST_FAILURE | LINT_ERROR | BUILD_ERROR | COMPILATION_ERROR | RUNTIME_ERRORservice: Service name (<service-a>,<service-b>,<service-c>, etc.)framework: Testing/build framework usederror: Error message textcommand: The command that failedcontext: Auto-detected context hintfingerprint: MD5 of first 100 chars for dedup
Step 2: Group and Cluster Errors
Group errors by:
- Service (
<service-a>,<service-b>,<service-c>,<service-d>, etc.) - Type (TEST_FAILURE, LINT_ERROR, BUILD_ERROR, COMPILATION_ERROR)
- Pattern: Cluster similar error messages together. Look for:
- Same error code (e.g., TS2345, TS7006)
- Same function/file name in error
- Same root cause pattern (missing import, type mismatch, connection refused)
Step 3: Analyze Each Pattern (3+ occurrences)
For each pattern with 3 or more occurrences:
- Identify the root cause: What keeps causing this error?
- Missing dependency resolution step?
- Incorrect mock configuration?
- Type definition drift?
- Service not running?
- Missing environment variable?
- Check existing skills: Look in
.claude/skills/for a skill that should prevent this.
nestjs-patterns/for NestJS-related errorstypescript-patterns/for TypeScript errorstesting-patterns/for test framework errorsclean-arch-patterns/for architecture violations
- Propose action:
- If a skill exists: propose adding a section about preventing this error class
- If no skill exists: propose creating a new skill or adding a rule
- If it's a workflow issue: propose adding a pre-step to hooks
- Save to Engram: Call
mem_savewith:
title: "Error pattern: {brief description}"type: "discovery"project: "{project}"topic_key: "error-patterns/{service}"content: Structured analysis with What/Why/Where/Learned format
Step 4: Generate Report
Output a structured report:
Step 5: Apply Changes (if --apply flag)
If the user invoked with --apply:
- For each proposed skill update:
- Read the target skill file
- Add the proposed section (typically under a "## Common Pitfalls" or "## Error Prevention" heading)
- Save the updated skill
- For each proposed new rule:
- Create the rule file in
.claude/rules/
- After all changes:
- Run
/skill-registryto update the index (if available) - Save a summary to Engram: "Updated skills based on error pattern analysis"
- Do NOT apply changes without
--apply— only propose them in the report.
Output Format
Always end the report with:
Error Type Reference
| Type | Source | Examples | |
|---|---|---|---|
| TEST_FAILURE | jest, vitest, go test, junit, pytest | Assertion failures, timeout, missing mock | |
| LINT_ERROR | eslint, golangci-lint, tsc --noEmit, go vet | Style violations, unused vars, type errors | |
| BUILD_ERROR | go build, gradlew build, yarn build, tsc | Missing modules, config errors | |
| COMPILATION_ERROR | Any compiler | Syntax errors, type mismatches, undefined symbols | |
| RUNTIME_ERROR | Process crash | Panics, unhandled exceptions, OOM | |
| INTEGRATION_ERROR | Service calls | Connection refused, timeout, 5xx responses |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/skill-governance/skills/error-analyzer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/luum-home/luum-cognitive-os/error-analyzer)