Institute coding challenges and written examinations.
Accept subordinates recommendations instead continually rejecting, deferring, deflecting, defending criticism.
Improve technical competency so that they make better technical decisions and can contribute to staff training.
Improve technical competence with training so that there is consensus about industry standards and best practices and everyone follows them.
Management is technically incapable of adjudicating quality such that it is conflated with results. Teamwork is conflated with attitude such that work with long-lasting benefits to the team is ignored and undervalued.