Getting it to craft a story about Cthulu and the Parking Lot Attendant in the style of HP Lovecraft is not unlike getting it to write a program about API access in Python. It's all the same to it, beyond syntax formatting perhaps.
I say that as I seem to oscillate between having it write amusing stories (see above) and writing code. And what I find is that I always start with something like this...
"Write me a <whatever> with <thing 1> and <thing 2> in the writing style of author <author> | programing language of <language>."
Then I start getting it to refine things. I ask it to change things, change styles, focus in on just certain parts or extend the results, etc. I slowly (or quickly) tease out of it a result that is what I am looking for.
In my mind, it doesn't support writing code because someone explicitly wrote a code support module. It doesn't support writing stories because someone wrote a story writing module. It just does it.
Tagging might be enough to help? At least if you are willing to do some manual fixing of those tags to make them higher quality.
Also it would be nice to know what the person is trying to accomplish, and _then_ the prompt that they are using to accomplish that. That might also nudge people to give prompts that are more reusable.