I don't know if this is "normal" for other people but I've seen a trend with my boss in the last months.
I have always been trusted and respected by former bosses and coworkers, so (impostor syndrome excluded) I consider myself an above-average software developer.
I'm not really sure if my boss has a different opinion (I have always received positive reviews) but he jokes more and more often with other coworkers, customers and suppliers that our applications may not work because of some bugs I put in or that some new features may be almost impossible due to my lack of skills.
I may understand that this kind of jokes once in a while may be completely acceptable but I'm starting to think that when repeated so often they may damage my reputation.
I'm not sure if he does this just to get a laugh, to put psychological pressure on me or just to put his hands forward in case a project fails to have someone to blame (or already blamed).
I tried to hint to my boss that this bothers me and also to joke back (saying that whether or not things are successful depends also on him doing his job in the proper way) but he seems completely uninterested about me having an issue with this behavior.
Since it's very subtle and always done "jokingly" I'm already sure that in a direct confrontation this would be downplayed as me worrying about nothing and a reputation of being difficult.
Is there any other route I can take?
As an additional detail it may be important to say that he keeps this behavior also with some of my other coworkers (the SW developers), not with me exclusively, but I think that with me he is a bit worse.