Skip to content
Back to skills

Error Memory

ASecurity

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

  • 755 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
data-ai

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill error-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Error Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Error Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-error-memory/badge)](https://www.skillsdirectory.com/skills/majiayu000-error-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: error-memory
description: >
  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
---

# 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

1. **Identify** error type
   - `tech` : build, tests, syntax, runtime
   - `ctx` : conventions, patterns, project stack
   - `comp` : misunderstood requirements

2. **Analyze** root cause (not symptom)

3. **Formulate** fix as reusable rule

4. **Append** line to `.claude/errors.md`:
   ```markdown
   | MM-DD | type | Short error | Root cause | Rule to follow |
   ```

5. **Create** file if missing with this template:
   ```markdown
   # 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data-ai →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.