Coarsely chop the onion
Cut the cream cheese into small cubes
Heat the butter in the skillet over medium heat until the butter is melted
Add the corn, onion, pepper, chili powder, and coming
Cook, stirring occasionally, for 10 minutes
Remove the skillet from the heat
Add the mayonnaise, lime juice, and cilantro to the skillet
Stir until all ingredients are well mixed
Add the cubed cream cheese
Stir until the cream cheese is melted
Serve