As per this question, permanent increases to Intelligence retroactively grant new skill points in Pathfinder.
If I lose my Intelligence bonus, is there a rule for which skill I lose first? Can I technically retrain my skills by wearing an Intelligence bonus item for a few days, adding a new skill, then discard a different skill when I remove the item?