learning-from-corrections

Update project memory with anti-patterns and prune stale rules.

2|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/tobilafinhangit/skill-master --skill learning-from-corrections
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learning-from-corrections
Source: https://github.com/tobilafinhangit/skill-master/tree/main/.agent/skills/learning-from-corrections
Command: npx skills add https://github.com/tobilafinhangit/skill-master --skill learning-from-corrections

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill assists in updating project memory with learned anti-patterns after bug fixes or corrections, while pruning stale rules to maintain a stable rule set.

Core Features & Use Cases

  • Anti-Pattern Learning: After fixing a bug, this Skill extracts lessons and writes them to .claude/rules/.
  • Rule Pruning: Regularly prunes stale rules to prevent unbounded growth of the rule set.
  • Use Case: After correcting a mistake, the Skill can be invoked to build project memory and maintain a concise set of rules.

Quick Start

Run the 'learning-from-corrections' skill after fixing a bug to update the project's rule set.

Frequently Asked Questions about learning-from-corrections

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update project memory with anti-patterns after bug fixing?

To update project memory with anti-patterns after bug fixing, invoke the learning-from-corrections skill to extract lessons and write them directly to the .claude/rules/ directory.

What is the best way to maintain software maintenance rules and prevent unbounded growth?

The best way to maintain software maintenance rules and prevent unbounded growth is through rule pruning, which removes stale rules to maintain a stable, concise rule set.

When do I need to prune stale rules in my software development workflow?

You need to prune stale rules in your software development workflow regularly after applying bug fixes, ensuring that newly learned anti-patterns do not cause unbounded growth of the project rule set.

Does this rule pruning approach require any dependencies to manage project memory?

No dependencies are required to manage project memory with this approach, as it operates independently using scripts and references to update and prune rules within the .claude/rules/ directory.

Can I use anti-pattern learning for ongoing improvement of existing project rules?

Yes, you can use anti-pattern learning for ongoing improvement of existing project rules by extracting corrections from bug fixes and applying them to maintain a stable rule set.

Why does my project memory accumulate stale rules during software maintenance?

Project memory accumulates stale rules during software maintenance because continuous bug fixes add new anti-patterns without removing outdated ones, requiring active rule pruning to maintain stability.