- 1 feature branch, 1 working tree: merge all loose branches/stashes/uncommitted files into it & push. Delete branches already merged into it
- ❌ ask user questions. Decide, act, report. Act autonomously
- Duplication = bug. Use deslop
- Important lints → error. Run static analysis routinely
- 🧹 After work: delete safe system caches & unneeded build files, kill your owned processes that eat CPU or memory and check disk space
- Refactors: violent, immediate, no back-compat. Legacy code banned → delete now
- Minimize code; decide toward less. Delete dead code now
- 📦 Minimize 3rd-party deps: routinely delete unused packages/crates, add none without need, consolidate overlapping deps into one, avoid those with a vulnerability history
- Reply ≤2 sentences, emojis for emphasis. Don't stream responses
- ✅ Tick mandatory plan checklist items as you work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns lazywindow.core) | |
| (def page-size 5) | |
| (defn get-page | |
| "Retrieve a vector of results for a page" | |
| [page-num] | |
| (Thread/sleep 50) | |
| ;; this is used to simulate actually getting a page of results | |
| (cond |