Boil a large pot of salted water.
Add the green beans and cook them for about 3 minutes until they are tender.
Drain the beans, and immediately rinse them with cold water to stop the cooking.
Melt the butter in a large skillet over medium heat.
Add the sliced almonds and toast them until they are golden brown.
Stir frequently to avoid burning.
Add the sliced shallot and minced garlic to the skillet.
Cook them for about 2 minutes, stirring often, until the shallot becomes translucent and fragrant.
Add the green beans to the skillet.
Toss them with the almond mixture to combine everything nicely.
Stir in the lemon juice and salt, ensuring everything is evenly coated.
Cook for an additional 2-3 minutes over low heat to warm the beans thoroughly.
Serve the dish hot and enjoy with your favorite meal.