home/roleplay/helper-render-prompt

Helper Render Prompt

GPTClaudeGemini··384 copies·updated 2026-07-14
helper-render-prompt.prompt
## Helper: render_prompt

Use a concise helper anywhere in Rails to render prompts with locals that are also exposed as instance variables inside ERB templates.

* **Auto-included**: Controllers, Mailers, and Jobs via Railtie.
* **Services/Plain Ruby**: `include Promptly::Helper`.

Example template and usage:

when to use it

Community prompt sourced from the open-source GitHub repo wilburhimself/promptly (MIT). A "Helper Render Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

wilburhimself/promptly · MIT