1. Develop a strong network
2. Keep an updated career document with a list of your accomplishments in STAR format
3. Keep your skill set in line with the market
4. Live below your means and keep a cash cushion
5. Don’t be a “ticker taker” work on having projects with scope where you can talk about things “you led” or “you designed”
Now worse case, you can find another job quickly. I was PIPed from AWS last year and found another job within three weeks because I was prepared. I also lived enough below my means where I didn’t need “FAANG money” to be comfortable.
On the other hand, you need to know how to talk about trade offs within the holy trinity of any project - on time, on budget and meets requirements. When one changes, the others have to change.