<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: reven</title>
    <description>The latest articles on DEV Community by reven (@reven_b3137b499b0bf6ec164).</description>
    <link>https://dev.to/reven_b3137b499b0bf6ec164</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3960896%2Fb9590bdf-36c9-42ea-8630-9f471f7f2d9e.jpg</url>
      <title>DEV Community: reven</title>
      <link>https://dev.to/reven_b3137b499b0bf6ec164</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/reven_b3137b499b0bf6ec164"/>
    <language>en</language>
    <item>
      <title>Stop writing lazy AI prompts: a hotkey that structures them for you</title>
      <dc:creator>reven</dc:creator>
      <pubDate>Sun, 31 May 2026 08:23:11 +0000</pubDate>
      <link>https://dev.to/reven_b3137b499b0bf6ec164/stop-writing-lazy-ai-prompts-a-hotkey-that-structures-them-for-you-3040</link>
      <guid>https://dev.to/reven_b3137b499b0bf6ec164/stop-writing-lazy-ai-prompts-a-hotkey-that-structures-them-for-you-3040</guid>
      <description>&lt;p&gt;Most "bad AI answers" aren't a model problem. They're a prompt problem.&lt;/p&gt;

&lt;p&gt;You type something like:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;fix the auth bug&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;…and the model fires back three clarifying questions, or confidently fixes the wrong thing. So you rephrase, retry, and lose ten minutes per task. The gap between what you &lt;em&gt;mean&lt;/em&gt; and what the model can &lt;em&gt;act on&lt;/em&gt; is structure.&lt;/p&gt;

&lt;p&gt;Anthropic's own prompt-engineering docs are clear about what good structure looks like: give the model a role, context, the task, and an explicit output format — ideally with XML-style tags. The problem is doing that by hand, every time, in every app. Nobody does.&lt;/p&gt;

&lt;h2&gt;
  
  
  So I built a hotkey for it
&lt;/h2&gt;

&lt;p&gt;It's a small desktop app called Prompt Enhancer. The flow is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select any rough draft in any app (editor, chat box, browser field)&lt;/li&gt;
&lt;li&gt;Press a hotkey — Ctrl+Alt+P (or Control-Option-Cmd-P on macOS)&lt;/li&gt;
&lt;li&gt;Your text is replaced in place with a structured prompt&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No copy-paste, no second tab, a few seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before / after
&lt;/h2&gt;

&lt;p&gt;Before:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;help me with a python parser for nested json&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;role&amp;gt;&lt;/span&gt;experienced Python developer&lt;span class="nt"&gt;&amp;lt;/role&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;task&amp;gt;&lt;/span&gt;parse a nested JSON structure&lt;span class="nt"&gt;&amp;lt;/task&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;instructions&amp;gt;&lt;/span&gt;
  - use json + jsonpath-ng
  - handle missing keys gracefully
  - include example usage
&lt;span class="nt"&gt;&amp;lt;/instructions&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;output_format&amp;gt;&lt;/span&gt;working code + 3 examples&lt;span class="nt"&gt;&amp;lt;/output_format&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same intent in, far more useful answer out.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works under the hood
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Calls Claude Haiku to do the restructuring (fast + cheap)&lt;/li&gt;
&lt;li&gt;Bring your own API key — your text goes straight to Anthropic, not through anyone's server. The key lives in your OS keychain.&lt;/li&gt;
&lt;li&gt;macOS build is native Swift; Windows is Tauri/Rust&lt;/li&gt;
&lt;li&gt;Works in any text field (Accessibility API on macOS, UI Automation on Windows, clipboard fallback for Electron/web apps)&lt;/li&gt;
&lt;li&gt;Presets for different styles: Default, Concise, Verbose, and Code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's free to try (a handful of demo calls on a shared key), then free forever with your own key.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it / tell me it's wrong
&lt;/h2&gt;

&lt;p&gt;Link: &lt;a href="https://promptenhancer.online/" rel="noopener noreferrer"&gt;https://promptenhancer.online/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd genuinely like feedback on two things: (1) whether the restructured output actually helps in your workflow or gets in the way, and (2) which presets you'd want that don't exist yet. If you try it, drop a comment — happy to iterate.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>claude</category>
      <category>tools</category>
    </item>
  </channel>
</rss>
