With regard to TWF, nothing about the TWF rules indicates that you must make a full attack to receive the penalty.
You receive the penalty to gain an extra attack, and you must make a full attack action to use that extra attack.