にあたって/にあたり
文法の解説は英語です。
用法
Used to express "when doing -". In "-", special timing to make up one's mind or important thing comes "at the time; on the occasion of ~"
例文
皆さん、JLPTを受けるにあたって、大切なことを伝えておきます
Everyone, I will tell you an important thing for when you take the JLPT exam
アルバイトをするにあたっては、学業や体に無理のないようにすること
If you are going to work part-time, make sure that it does not interfere with your studies or health