How to create a new page/tab in the right side bar

Hi, I would like to create a tab/page in the right side bar like contents & page graph.

I have checked the API doc, but didn’t find many things informative. I am a newbie in frontend development, so any suggestions for dev workflow, how to read the doc etc are also appreciated.