Steps
1. Cook the pasta according to package instructions until al dente. Drain and set aside.
2. In a skillet, heat olive oil over medium heat. Add chopped onions and sauté until translucent.
3. Add minced garlic and chili flakes, cooking for an additional minute until fragrant.
4. Stir in the beef slices and cook until browned, about 3-4 minutes.
5. Add the octopus pieces and diced tomato, seasoning with salt and pepper. Cook for another 5 minutes, allowing the flavors to meld.
6. Toss in the cooked pasta and mix well to combine all ingredients. Adjust seasoning if necessary.
7. Serve hot, garnished with fresh basil leaves.