Capture lessons as persistent rules

learn-ruleskillsetup L12,280
rohitg00/pro-workflow
What it does

Capture a correction or lesson as a persistent learning rule with category, mistake, and correction. Stores, categorises, and retrieves rules for future sessions. Use after mistakes or when the user says "remember this", "don't forget", "note this", or "learn from this".

Best for

Capturing workflow lessons into persistent memory with category tags and wiki scoping.

Inputs
  • · [LEARN] Category: One-line rule Mistake: What went wrong Correction: How it was fixed
  • · [LEARN] Editing: Cite a sources.md row before adding any wiki claim. Wiki: agent-memory
  • · Recent mistake: Edited wrong utils.ts file [LEARN] Navigation: Confirm full path when multiple files share a name. Add to LEARNED section? (y/n)
Outputs
  • · Reactive state store
  • · Type-safe store instance
Preconditions

Domain knowledge, tool/library installed

Failure modes

Polling timeout, incomplete state transitions, missing status checks

Trust signals
  • · Documented examples
  • · Testing guidance included