Skip to content
Development
Command

/learn

Automatically detect and save pitfall experiences during work sessions.

From plugin
claude-memory-engine
13418 skills18 commands9 hooks

Command definition

learn.md

/learn -- Auto-Learn from Mistakes

Automatically detect and save pitfall experiences during work sessions.

When to Trigger (Claude decides on its own)

1. **Pitfall resolved** -- Tried the wrong approach, eventually found the fix 2. **Non-obvious workaround** -- Browser quirks, library limitations, platform-specific behavior 3. **Path/environment traps** -- Windows path issues, `~` resolution errors, cross-platform differences 4. **Deployment gotchas** -- Hosting platform quirks, cache issues, DNS delays 5. **3+ attempts to solve** -- If it took 3+ tries, it's worth recording

What NOT to Learn

  • Settings already documented in CLAUDE.md or project docs
  • Common CSS/HTML patterns (easily searchable)
  • One-off fixes that won't happen again

Save Format

Save to `~/.claude/skills/learned/{pattern-name}.md`:

# {Descriptive Title}

**Date:** {today}
**Project:** {which project}

## Problem
{What happened, what context}

## Solution
{How it was fixed}

## Next Time
{What situation should remind you of this}

Behavior

  • After saving, briefly tell the user: "Learned: {title}"
  • Don't write a long explanation of why it was saved
  • Learn quietly, don't interrupt the workflow
@helloruru
Ships withclaude-memory-engine

Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.

Stars on GitHub

Momentum

stars in total
134
Star history of HelloRuru/claude-memory-engine on GitHub, a chart by star-history.com

Other commands on claude-memory-engine.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command