1°) Know how to diagnose and fix critical problems by themselves, because there will be bugs in production for which AI won't be any help
2°) Write maintainable code, AI doesn't care at all of maintainability of code while devs should (must imho) consider pasting AI code as a merge/pull request.
For 2°) IIRC, I read somewhere that more and more code published on i.e. github is AI-generated. While this means the quality of code is decreasing, i.e. Copilot is also trained on more and more % of AI-generated code. So the quality of AI-generated code is decreasing globally.
As time passes, I think skilled devs will become more skilled and unskilled will become more unskilled.