Before making changes to:
- Data persistence
- Storage systems
- Performance optimizations
Please trace through:
- Where data originates (JSON/Database/API)
- How it's stored in memory (which Dictionary/List)
- How it's accessed at runtime (find all references)
- How changes are persisted (save triggers)
❌ Don't add timed auto-saves without profiling ❌ Don't change JSON read/write patterns without understanding data flow ❌ Don't add locks without proving thread contention ❌ Don't move code between components without checking dependencies
If you're changing:
- Save/load logic
- Data structures
- Performance-critical paths
✅ DO:
- One logical change per PR/commit
- Focused, atomic changes
- Clear, specific PR titles: "Fix store item validation" not "Various fixes"
❌ DON'T:
- Bundle unrelated changes
- Mix bug fixes with features
- Include "while I was here" changes
Please open an issue first to discuss the approach.