01 - Mound flour on a clean work surface and create a well in the center. Crack eggs into the well and add salt. Gradually incorporate flour into eggs using a fork, then knead by hand for 8–10 minutes until smooth and elastic. Wrap in plastic and let rest for 30 minutes at room temperature.
02 - Heat olive oil in a skillet over medium heat. Sauté chopped onion until softened, approximately 3 minutes. Add minced garlic and chopped mushrooms; cook until mushrooms release moisture and turn golden, about 5 minutes. Remove from heat and stir in shredded chicken, grated Parmesan, chopped parsley, black pepper, and salt to taste. Allow mixture to cool completely.
03 - Divide rested dough into two equal portions. Roll each piece into thin sheets approximately 1/16 inch thick using a pasta machine or rolling pin. Maintain consistent thickness for even cooking.
04 - Place small mounds of filling, about 1 teaspoon each, 1 inch apart on one pasta sheet. Lightly brush edges with water, cover with second sheet, and press firmly around each filling mound to seal. Cut into individual squares and crimp edges with a fork to ensure closure.
05 - Heat olive oil in a saucepan over medium heat. Add sliced garlic and sauté until fragrant, about 1 minute. Pour in crushed tomatoes and add sugar, salt, black pepper, and dried oregano. Simmer uncovered for 15–20 minutes until slightly thickened. Stir in torn basil leaves just before serving.
06 - Bring a large pot of generously salted water to a rolling boil. Gently lower ravioli into water and cook for 3–4 minutes, or until they float to the surface. Remove carefully with a slotted spoon to avoid tearing.
07 - Place cooked ravioli on serving plates and spoon warm tomato sauce over the top. Garnish generously with grated Parmesan cheese and fresh basil leaves. Serve immediately while hot.