Agent skill

feedback-loop

Update CLAUDE.md or rules when patterns of errors emerge

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/feedback-loop

SKILL.md

Feedback Loop

When Claude makes the same mistake repeatedly, capture the learning.

When to Use

  • Same error type 2+ times
  • Project convention violated
  • Important pattern discovered

Process

  1. Identify Pattern - What mistake? What's correct?
  2. Choose Location
    • Project-specific: Add to project's CLAUDE.md
    • Global: Add to ~/.claude/rules/ via Nix
  3. Write the Rule
  4. Verify - Clear and actionable?

Example

After repeatedly missing --impure flag:

markdown
## Nix Flakes

- Always use `--impure` flag (required for private submodule)
- Use `rebuild` alias instead of raw commands

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results