To an extent I think we kind of bring out the worst in one another.
This is a clear indication that it would help to interrupt the patterns, honestly.
I'm not going to pretend I'm perfect - I definitely have the same dynamic going on with my kids at times. In that book When Your Kids Push Your Buttons it has a line very near the front which is "Our kids get the worst of us" which I thought was incredibly raw and very true. We want to show them our best side, that's what all the books suggest and how we plan it when they are tiny and too little to push any buttons. Then reality happens and you get their worst side (which means they feel safe with you, shit as that is!!) and in response you find yourself saying or doing something you thought was the OPPOSITE of how you'd want to parent and then you end up in a guilt and shame spiral and meanwhile their behaviour doesn't magically get better so you can end up wondering how to even get out of that mess.
Having something in place, which doesn't rely on them having any specific reaction, to use in place of the automatic reaction does help interrupt that.
I don't think WYKPYB has any parenting advice in it as such but it does help you process your own feelings about things which I found helpful.
Parenting resources which don't rely on the child having a specific response IME (or have a sort of back up plan or a "what now??" for when they don't)
Big Baffling Behaviours
The ABCs of Everyday Parenting course
Something you have full control over e.g. the reward based systems or e.g. access to screen time (unplug TV/router or hide remote or use parental control to disable remotely)
When the Naughty Step Makes Things Worse book (this is long and I got a bit put off by some sections, but it does have some advice I've not come across in other places, which is useful. Would recommend skipping chapters if it's starting to annoy you, and going back if you need to.)
Also agree that it is useful to seek IRL support from GP/HV/SENCo/Family hub because if you can ask them the question "When I say/do X and my child does not do Y, what do I do then?" And if they cannot answer, ask if they can refer you to somebody or a resource who can.
For relationship stuff -
Try writing down one good/happy/fun moment of the day every day. Some weeks with my eldest this was the same thing every day and it might have been the only 5 minutes of our day I wasn't frustrated, which is horrible to think back on. But I have absolutely no idea, today, 10+ years later, what the frustrating or annoying or difficult parts of our day were. I remember what the happy part of our day was (kicking a conker back and forth on the walk home!) because I wrote it down and focused on it.
Reading about child development, if necessary a couple of years behind where my child is chronologically, can be helpful and give me perspective of where he is coming from.