What problem does it solve?
This Skill ensures that at the end of every task, all lessons learned are captured, documentation is updated, and the git state is clean, preventing knowledge loss and maintaining project integrity.
Core Features & Use Cases
- Lessons Learned Capture: Systematically reviews task outcomes to identify and record what went wrong, what was surprising, and what worked well.
- Documentation Sweep: Verifies and updates
CLAUDE.md files in modified directories to reflect current project state.
- Memory Management: Captures user feedback, project context, and external references into organized memory files.
- Git State Audit: Ensures no uncommitted changes remain and checks for sensitive files.
- Status Update: Updates project manifests and status files if the task altered the system's state.
- Use Case: After completing a complex bug fix, you run Clean Loop to document the unexpected behavior encountered, update the relevant
CLAUDE.md with the fix details, save a new memory about a useful debugging technique, and ensure your branch is clean before merging.
Quick Start
Run the clean loop skill to capture lessons learned, update documentation, and verify git state.