Skip to content

remember

hbt edited this page Jun 23, 2025 · 1 revision

Remember and Document Solutions

Analyze the recent conversation/context to identify a problem that occurred and the solution that was found. Update CLAUDE.md to document this learning so future sessions can avoid repeating the same mistake.

If $ARGUMENTS is provided, use that as the focus for what to remember. Otherwise, analyze recent context to identify the most significant problem/solution pair.

Process:

  1. Identify the problem/mistake that occurred in recent work
  2. Document the solution/best practice that was discovered
  3. Update CLAUDE.md by adding or updating the "## Common Mistakes & Solutions" section
  4. Use clear format:
    • Problem: Brief description of what went wrong
    • Solution: How to do it correctly
    • Example: Before/after or specific examples
  5. Commit the changes to preserve the institutional learning

Focus Areas:

  • Technical implementation mistakes
  • Process/workflow issues
  • Configuration problems
  • Best practices that prevent repeated errors
  • Time-wasting patterns that can be avoided

The goal is to build institutional memory so Claude Code becomes more efficient over time by learning from previous mistakes and solutions.

Example Usage:

  • /project:remember - Auto-analyze recent context for problems/solutions
  • /project:remember GitHub wiki links - Focus on specific topic
  • /project:remember API configuration - Document specific technical issue

Clone this wiki locally