From pro-workflow
Captures corrections and lessons as persistent learning rules with category, mistake, and correction. Activates after mistakes or when user says 'remember this', 'don't forget', or 'learn from this'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pro-workflow:learn-ruleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Capture a lesson from the current session into permanent memory.
Capture a lesson from the current session into permanent memory.
Use when the user says "remember this", "add to rules", "don't do that again", or after a mistake is identified.
[LEARN] Category: One-line rule
Mistake: What went wrong
Correction: How it was fixed
Append Wiki: <slug> to bind the rule to a single pro-workflow wiki. The rule loads only when that wiki is in scope, avoiding cross-project pollution:
[LEARN] Editing: Cite a sources.md row before adding any wiki claim.
Wiki: agent-memory
The capture hook auto-detects Wiki: <slug> and links the learning to that wiki via learnings_wiki.
| Category | Examples |
|---|---|
| Navigation | File paths, finding code, wrong file edited |
| Editing | Code changes, patterns, wrong approach |
| Testing | Test approaches, coverage gaps, flaky tests |
| Git | Commits, branches, merge issues |
| Quality | Lint, types, style violations |
| Context | When to clarify, missing requirements |
| Architecture | Design decisions, wrong abstractions |
| Performance | Optimization, O(n^2) loops, 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)
[LEARN] rule with categorynpx claudepluginhub norandom/pro-workflow4plugins reuse this skill
First indexed Jun 4, 2026
Captures corrections and lessons as persistent learning rules with category, mistake, and correction. Activates after mistakes or when user says 'remember this', 'don't forget', or 'learn from this'.
Captures lessons from code reviews and error corrections as persistent rules. Activates on /evolve or when user says 'we should remember this'.
Extracts reusable rules from developer corrections during a coding session and saves them to AGENTS.md for future sessions.