There is a type of folktale called Skillful Companions tale. It's exemplified by stories like the Grimm Fairy Tale "The Four Skillful Brothers." In these tales each character has a valuable, specific skill (sometimes highly specific). The use of each companion's ability is necessary to successfully complete the group's undertaking.
Noting that D&D characters (and rpg characters) are defined by classes, races, and player chosen abilities that make them ideally different from the other characters in their party, I going to suggest that D&D adventures really click when they work a bit like a Skillful Companions tale: when ever player gets to contribute their thing and their thing helps the adventure reach a happy conclusion.
I think "player skill" and creative solutions to problems should of course play a part in rpgs. Players derive more satisfaction from solving problems when they feel like they did it, not just their characters. But contrary to some not infrequently repeated old school wisdom I think the answer should sometimes be on your character sheet, or at least the tool your going to leverage to derive the solution ought to be. Having different character types or arrays of spells, weapons, and other abilities having mechanical differences would be inexplicable otherwise.
Adventure design for an unknown group of players obviously has a hard to tailoring challenges, but I think if you're making adventures for your regular group, maybe they should be crafted with the players in mind. There should never only be one way around a problem, of course, and player's can and should be able to avoid encountering a problem entirely, but there's nothing wrong with at least thinking of things that might give each character their time in the spotlight.
4 hours ago