Context engineering case study: fiction writing

I was looking at sudowrite. com, an AI tool to write/improve/edit your fiction writing.

They have a pretty sophisticated prompting system, where characters, fictional locations, or pieces of world building lore become context snippets that smartly get added to the prompt based on context.

What I found most interesting is that they have a "plugin" system, which is basically a crowd-sourced collection of prompts for specific use cases around writing and modifying prose.

You can "install" plugins, which means that when you right click on a text selection from your book draft, the installed plugins appear and you can click them to have them applied to your selection.

The plugin prompts are parameterized with things like {{highlighted_text}}, {{preceding_text}}, {{characters}}, {{outline}}, etc, giving full control to the plugin creators (even down to what model to use).

This way, the builders of sudowrite. com don't need to come up with the perfect prompts. They can just let users do it and let the best ones raise to the top of the plugin page.