feedback-loop
Update CLAUDE.md or rules when patterns of errors emerge
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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
- Identify Pattern - What mistake? What's correct?
-
Choose Location
- Project-specific: Add to project's
CLAUDE.md - Global: Add to
~/.claude/rules/via Nix
- Project-specific: Add to project's
- Write the Rule
- Verify - Clear and actionable?
Example
After repeatedly missing --impure flag:
## Nix Flakes
- Always use `--impure` flag (required for private submodule)
- Use `rebuild` alias instead of raw commands
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!