Hi, Ashfaq.
You may want to refer to codex document CAC/GL 69-2008 as a start. Each of what you have listed may require different approach depending on your process and depending and your product. You can either perform:
Mathematical modelling
Scientific based experiments
Literature-based
Surveys
Data collection
Since, what you are asking covers a lot, it will be difficult to recommend on how. Also, unfortunately, there will be no single solution and single template that you can use. Once you understand, you can have your own which will be easy for you to use and present when the need arise to.
You may also want to refer to this link. It is an old explanation but may still help you nonetheless.
https://www.foodsafe...afety-controls/