Stop Claude Code from repeating mistakes — enforce guardrails, preserve context, maintain consistency across sessions
--- name: Claude Code Memory Kit slug: claude-code-memory-kit version: 1.0.0 description: Stop Claude Code from repeating mistakes — enforce guardrails, preserve context, maintain consistency across sessions --- # Claude Code Memory Kit — Stop Repeating Mistakes ## Tagline Go from "correcting the same error 10 times" to "zero-repeat mistakes" in one afternoon. ## Problem Claude Code users hit the same wall every day: - **Mistakes repeat** across sessions (force pushes, untested edits, style violations) - **CLAUDE.md isn't enough** — preferences ≠ enforcement - **Memory leaks** — context gets lost between sessions - **No guardrails** for high-risk actions - **Corrections don't stick** — you're teaching the same lesson daily ## Solution A structured memory system that **enforces rules, preserves context, and prevents repeat mistakes**. ## What's Inside ## What's Actually Included This is a **pattern guide** — not a ready-to-run server software package. You get: 1. **Architectural patterns** for session memory persistence 2. **Python code snippets** showing implementation approach 3. **Integration patterns** with Claude Code CLI lifecycle 4. **Testing strategies** for memory reliability You'll need to adapt these patterns to your specific environment. The value is in the proven approach, not pre-packaged executables. ### 1. Memory Architecture Template - **CLAUDE.md** — project rules & preferences (template) - **memory.md** — learned patterns & recurring decisions (template) - **mistakes.md** — mistakes to avoid (auto-promoted from corrections) (template) - **bootstrap.md** — session initialization context (template) ### 2. Pre-Tool Gates - Block force-push to main - Require tests before edits in specific repos - Confirm destructive commands - Validate code style before commit ### 3. Cross-Session Persistence - Structured context bootstrapping (no chat history dumping) - Mistake → rule automation (3 corrections = new policy) - Project-specific memory that actually sticks ### 4. Real-World Templates - JavaScript/TypeScript project setup - Python data science workflow - Multi-repo coordination - Team coding standards enforcement ### 5. Installation & Troubleshooting - **INSTALL.md** — Step-by-step setup guide - **TROUBLESHOOTING.md** — Common issues and solutions - Pre-tool gate configurations - Team deployment guide ## Who This Is For - **Developers using Claude Code full-time** (6+ months experience) - **Teams needing consistent code style** across members - **Anyone tired of repeating the same corrections** - **Projects with safety/security requirements** ## What You'll Achieve - **Zero-repeat mistakes** within 48 hours - **80% reduction** in manual corrections - **Consistent code quality** across sessions - **Auditable decision trails** for team reviews ## Price & Value - **Launch price**: $99 (regular $149) - **Comparable value**: Saves 10+ hours/month of correction time - **ROI**: 1-2 days for full investment recovery ## Quick Start 1. Install the templates 2. Configure project-specific rules 3. Set up pre-tool gates for high-risk actions 4. Start tracking corrections → auto-promote to rules 5. Enjoy consistent, reliable Claude Code sessions --- *Based on analysis of 7 high-priority leads where memory/reliability was the #1 pain point (score 9/10).*
don't have the plugin yet? install it then click "run inline in claude" again.