I’m genuinely amazed electronic shifting still needs the hanger aligned
You’d think that there would be a way to set position for 1st and 12th and it interpolate for all the rest. Which would then accommodate a little alignment error (accepted it probably wouldn’t accommodate a huge amount, but some, surely?). But it doesn’t work like that. You’ve just got up-down micro-adjustment, no effect on the gear-to-gear distance. To me this is a bit of a shame. Although I’m also a hanger alignment tool obsessive, so my hanger is dead straight. And right now my shifting has suddenly gone a little off, but I need to look at chain (old checker starts at 0.75%, so that’s now not much use), cassette and (please no) the possibility of a bent mech.
Oh and I was surprised to find that my B tension had slackened off quite substantially by itself. It was miles off. Vibrations causing the bolt to rotate? It was from a day clattering about at BPW.
Back to the OP – I recently had a cassette with some damage (or a manufacturing issue) very early in its life. Jumped under power in one cog. I worked on it for ages making absolutely sure I had indexing bang on before I could be 100% sure it was one cog and there wasn’t also an indexing/alignnent/whatever issue. If indexing is absolutely perfect and there’s never a ghost shift but consistent jumping then it sounds like cassette wear, or at least something between cassette and chain. Though I previously also had a freehub bearing go far too quickly, so it’s all worth a proper check. Microspline/XD Hope freehubs being smaller than HG have to accommodate smaller bearings and IME they don’t last as long as a result.