error-memory
Use when: making a mistake, breaking build/tests, realizing wrong approach, misunderstanding requirements, using wrong patterns, forgetting conventions, receiving correction from user, unexpected behavior, or any error situation
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Error Memory
Document errors to avoid repeating them.
Trigger
Invoke when:
- Build/tests fail after your action
- User corrects you
- You realize a wrong approach
- You forget a project convention
- Unexpected behavior occurs
Process
-
Identify error type
-
tech: build, tests, syntax, runtime -
ctx: conventions, patterns, project stack -
comp: misunderstood requirements
-
-
Analyze root cause (not symptom)
-
Formulate fix as reusable rule
-
Append line to
.claude/errors.md:| MM-DD | type | Short error | Root cause | Rule to follow | -
Create file if missing with this template:
# Project Errors > Past Claude mistakes on this project. Check before acting. | Date | Type | Error | Cause | Fix | |------|------|-------|-------|-----| ## Legend - **tech** : Technical (build, tests, syntax) - **ctx** : Context (conventions, patterns) - **comp** : Comprehension (misunderstood request)
Rules
- One line = one error (no paragraphs)
- Fix = actionable rule, not excuse
- Cause = why, not what
- Keep < 100 lines (archive if needed)
- Check errors.md before acting on any project
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-28
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!