Once onions are golden brown, add ginger and garlic to the skillet and stir to combine. Sprinkle curry powder, chili powder, and cinnamon on top. Season with additional salt and black pepper, to taste, and stir to combine. Cook for approximately 1-2 minutes, or until very fragrant and a thick paste forms.