feedback-loop

Capture recurring errors and update CLAUDE.md or global rules.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kamushadenes/nix --skill feedback-loop-kamushadenes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feedback-loop
Source: https://github.com/kamushadenes/nix/tree/main/home/common/ai/resources/claude-code/skills/feedback-loop
Command: npx skills add https://github.com/kamushadenes/nix --skill feedback-loop-kamushadenes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill captures recurring errors and updates CLAUDE.md or related rules to prevent repeated mistakes across projects and teams.

Core Features & Use Cases

  • Pattern detection: Identify repeated errors and the corresponding corrective rules.
  • Rule propagation: Add or update rules in CLAUDE.md at project scope or in global rule sets.
  • Process automation: Guide teams through the four-step workflow: identify pattern, choose location, write the rule, verify the correction.

Quick Start

  • Identify a recurring error in Claude's responses.
  • Decide where to store the rule (project CLAUDE.md or global rules).
  • Write a concise rule and document it in the chosen location, then verify the change in future interactions.

Frequently Asked Questions about feedback-loop

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

FAQPage Schema
How do I stop Claude from repeating the same coding errors in my project?

To stop repeated coding errors, you can capture recurring error patterns and write them as concise guardrail rules directly into your project's CLAUDE.md file. This ensures future interactions avoid the same mistakes.

What is the best way to update CLAUDE.md rules to prevent AI mistakes?

The best way to update CLAUDE.md rules is to follow a four-step workflow: identify the recurring error pattern, choose the storage location, write a concise corrective rule, and verify the change works in future interactions.

Can I apply AI guardrails globally or just at the project level?

You can apply AI guardrails at both the project level by updating CLAUDE.md, or globally by adding rules to global rule sets. This allows you to prevent repeated mistakes across individual projects or entire teams.

How does detecting error patterns improve AI documentation?

Detecting error patterns improves AI documentation by turning recurring mistakes into explicit, written rules. These rules are added to CLAUDE.md, providing clear guardrails that guide future AI behavior and prevent identical errors.

When should I add a new rule to CLAUDE.md instead of fixing a single response?

You should add a rule to CLAUDE.md when you identify a pattern of repeated errors rather than an isolated mistake. Documenting it as a permanent rule prevents the AI from making the same error in future interactions.