(I still read and review code)
Otherwise, it's really simple to do all the things you mentioned without the complexity/heaviness of jQuery. Something like this:
``` const $ = s => { const r = {}; const els = [...document.querySelectorAll(s)]; r.text = t => (els.forEach(e => e.textContent = t), r); r.on = (ev, fn) => (els.forEach(e => e.addEventListener(ev, fn)), r); // ... return r; }; ```
Or I can just use jQuery.
I recall scripts ending up as little as one-third the size of vanilla JS, when rewritten using jQuery (where the website was otherwise using jQuery anyway).
If you are using mostly agents and don't actually need to have it in your brain, then I'd probably go with strict TypeScript at the very least for verifiability purposes