Cockles cook fast, and paired with store-bought gnocchi, this is an easy, quick-cooking dinner that's suitable for dinner guests. As the cockles steam, they'll release a flavorful liquid, adding a briny essence to the aromatic base.
Bring a large pot of salted water to a boil. Meanwhile, heat oil with garlic and chile in a large straight-sided skillet over medium-high. When garlic is golden on both sides, remove from heat and carefully add wine (it will splatter). Bring to a simmer; add cockles and cover pan tightly. Cook until cockles open, about 3 minutes; uncover and remove from heat. Discard any unopened clams.
Meanwhile, cook gnocchi in boiling salted water, stirring occasionally, until just tender, 5 to 6 minutes. Drain, reserving 1 cup cooking water.
Return skillet to medium; stir in reserved cooking water and parsley. Gently add gnocchi, stirring to mix with clams. Divide among 4 bowls; serve immediately.