Mincing the vegetables. Preheat your oven to 400°F. Chop the yellow onion, celery, and carrots into large chunks, then add them to a food processor with 3 cloves of garlic. Pulse until the vegetables are finely minced.
Sautéing the vegetables. Heat a large skillet over medium-high heat. Add one tablespoon of olive oil and sauté the minced vegetables for 5–6 minutes.
Brown the lamb. Add the ground lamb to the skillet, breaking it up with a wooden spoon. Cook until browned and fully crumbled, about 8–10 minutes. Once the lamb is fully cooked, drain the excess fat through a colander, then return the meat mixture to the skillet.
Add the tomato paste. Stir the tomato paste into the lamb until the meat is fully and evenly coated.
Add the flour and herbs. Stir in the gluten-free flour, minced rosemary, parsley, 1 teaspoon of salt, and ¼ teaspoon of black pepper. Let the flour mixture cook for 1 minute to toast the flour and release the oils from the herbs.
Add the Worcestershire sauce and broth. Pour in 1 cup of beef broth and 1 tablespoon of Worcestershire sauce. Simmer for 5–6 minutes, until the liquid reduces and the sauce is slightly thickened.
Assembling the base. Transfer the meat mixture to a large oven-safe dish (a 12x9 works perfectly) and spread it into an even layer.
Layering the potatoes. Top the meat mixture with dollops of mashed potatoes and smooth them into an even layer using an offset spatula or the back of a spoon. Spread the potatoes all the way to the edges of the dish to create a seal; this prevents the filling from bubbling over the sides during baking.
Bake to perfection. Once the potatoes are smooth, lightly run the tines of a fork across the surface to create vertical ridges. These ridges will crisp up in the oven, giving your shepherd's pie a beautiful, golden-brown finish. Sprinkle a bit more grated cheese over the top, then bake in your preheated oven at 400°F for 35–40 minutes, or until the top is golden and the edges are bubbling.
Let the pie cool. After you pull it out of the oven, try to let it sit for about 15 minutes before serving. This allows the meat mixture to "set" slightly so it doesn't run all over the plate when you scoop it out. Garnish with freshly chopped parsley and enjoy!