Error memory
全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard
npx -y skills add bg-szy/TOP-SKILLS --skill error-memoryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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
SKILL.md
1.5 KB, as published. Nobody here has run it
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, runtimectx: conventions, patterns, project stackcomp: 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