learn-rule
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".
Install
With your agent
Install OMGSkills skill "rohitg00/pro-workflow:skills/learn-rule" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/rohitg00/pro-workflow /tmp/pro-workflow && ln -s /tmp/pro-workflow/skills/learn-rule ~/.claude/skills/learn-rule
From README
Learn Rule Capture a lesson from the current session into permanent memory. Trigger Use when the user says "remember this", "add to rules", "don't do that again", or after a mistake is identified. Workflow Identify the lesson — what mistake was made? What should happen instead? Format the rule with full context. Propose the addition and wait for user approval. After approval, persist to LEARNED section or project memory. Format Wiki-scoped rules Append Wiki: to bind the rule to a single pro-workflow wiki. The rule loads only when that wiki is in scope, avoiding cross-project pollution: The capture hook auto-detects Wiki: and links the learning to that wiki via learningswiki.
More from this repo
context-engineering
Master the four operations of context engineering — Write, Select, Compress, Isolate.
auto-setup
Auto-configure quality gates, hooks, and settings for a new project.
batch-orchestration
Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees.
