I work on a medium sized software engineering team. I have been generally not a good person to work with lately, there has been feedback from team members as feedback directed at the team, but its obvious its in reference to my specific behaviors. There is definite tension and friction that is affecting the team.
Google for toxic senior software engineer, I have some of those traits, (cowboy coding, egotistical, overly concerned with premature optimization, passive aggressive, dismissive, ignoring coding conventions, bad pull request etiquette, complains, i take it personally my solutions and suggestions are not used, etc).
I am not like this all the time (mental health issues contribute but i'm working on it). However, this is general pattern for me (been fired before). As I have grown older though, I am generally more self aware, I eventually realize i'm the source of issues, and try to amend, apologize, and address feedback. I'm very senior on the technical side, and am at times, a high performer. I lack a lot of soft skills you would expect someone with a senior title to have.
I haven't been approached by my manager yet, but the writing's on the wall. I'm addressing specific issues with coworkers directly, and apologizing for specific behavior. I want to make an effort to hear and address my coworkers feedback directly before I involve my manager.
However, I am not quite sure how to approach my manager. He is in general very hands off so he may not be entirely aware of what is going on.
At this point, I'd rather be proactive but I don't know what kind of liability there is to approach my manager and say "hey i'm a bad employee that is negatively impacting the team." I generally like where I work, and I am well compensated, and have interesting projects to work on, I also would like to not get fired, but my reputation is also likely compromised.