Trigger-Action Planning is a technique for behavior change where you identify a specific trigger (situational cue), link it to a simple action, to create or patch chain of trigger-action patterns of your habits.
Read more here: https://www.lesswrong.com/s/KAv8z6oJCTxjR8vdR/p/W5HcGywyPoDDdJtbz