This captures mistakes and corrections as structured rules that persist across sessions. When you say "remember this" or "don't do that again" after catching an error, it prompts you to formalize the lesson with a category, what went wrong, and how to fix it. The format is deliberately terse: one line rules like "Confirm full path when multiple files share a name" instead of vague reminders. You can scope rules to specific wikis to avoid cross-project pollution. Categories cover navigation, editing, testing, git, and architecture mistakes. It always waits for your approval before saving. Honestly, the value depends entirely on whether you'll actually reference these rules later, but the structure makes that more likely than freeform notes.

skills.sh installs
194
GitHub stars
2.9K
last updated
Jun 8, 2026

Install

$ npx -y skills add rohitg00/pro-workflow --skill learn-rule --agent claude-code

Installs into .claude/skills of the current project.

Files

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

  1. Identify the lesson — what mistake was made? What should happen instead?
  2. Format the rule with full context.
  3. Propose the addition and wait for user approval.
  4. After approval, persist to LEARNED section or project memory.

Format

[LEARN] Category: One-line rule
Mistake: What went wrong
Correction: How it was fixed

Wiki-scoped rules

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.

Categories

Sponsors

Details

Repository
github.com/rohitg00/pro-workflow
Categories
Documentation, Automation & Workflows
First seen
Jun 11, 2026

More from rohitg00/pro-workflow

All 35
1sickn33 avatarpostmortem-writingsickn33/antigravity-awesome-skillspostmortem writing190skills.sh installs
2aradotso avataroh-story-claudecode-writingaradotso/trending-skillsoh story claudecode writing186skills.sh installs
3get-convex avatarconvex-helpers-guideget-convex/convex-agent-pluginsDiscover and use convex-helpers utilities for relationships, filtering, sessions, custom functions, and more. Use when you need pre-built Convex patterns.186skills.sh installs
4vladm3105 avatardoc-prdvladm3105/aidoc-flow-frameworkCreate a Product Requirements Document (PRD) - Layer 2 of the SDD flow, defining product features, personas, success metrics, and acceptance criteria from an up183skills.sh installs
5aradotso avatarillustrated-explainer-specaradotso/trending-skillsillustrated explainer spec165skills.sh installs
6sickn33 avataravoid-ai-writingsickn33/antigravity-awesome-skillsavoid ai writing165skills.sh installs