The extension registration has a requires field to enforce use of a specific version of MediaWiki core or an extension.
It should be possible to add a list of suggested extensions or MediaWiki versions to extension.json
For example the Scribunto extension has support for syntaxhighlighting with the Geshi extension, but there is no hint on install to install the optional extension.
Many extensions have VisualEditor support.
Due to feature flags or version detection the suggested extensions could be the same as required, but only with new versions. On install the available extensions could show a hint about the suggestion.