How can I create a new topic in Discourse via a link or direct the person to the topic if it exists

I’m not familiar with the Discourse code base yet, but if I were to send a PR, would it be OK to add a new param to the existing /new-topic route, or would you prefer the feature to be isolated in a plugin?