<?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: Powe Good</title>
    <description>The latest articles on DEV Community by Powe Good (@powe_good_3a671b296031264).</description>
    <link>https://dev.to/powe_good_3a671b296031264</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4250437%2F1abc752c-b18a-4c7a-95bd-55f771fa4dad.png</url>
      <title>DEV Community: Powe Good</title>
      <link>https://dev.to/powe_good_3a671b296031264</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/powe_good_3a671b296031264"/>
    <language>en</language>
    <item>
      <title>How to Use AI to Improve Your Development Workflow</title>
      <dc:creator>Powe Good</dc:creator>
      <pubDate>Tue, 17 Nov 2026 19:13:04 +0000</pubDate>
      <link>https://dev.to/powe_good_3a671b296031264/how-to-use-ai-to-improve-your-development-workflow-2n1o</link>
      <guid>https://dev.to/powe_good_3a671b296031264/how-to-use-ai-to-improve-your-development-workflow-2n1o</guid>
      <description>&lt;p&gt;Most advice about "AI for developers" optimises the wrong step. Typing code was never the slow part. The slow parts are reading code you did not write, remembering how a module behaves under a weird input, and writing the test that proves a fix actually works.&lt;/p&gt;

&lt;p&gt;An assistant is useful when it is pointed at one of those slow parts with tight context and an output you can check. It is noise when it is pointed at "make this better". Below are four concrete places where it earns its place in a normal working day, a few places where the trade is bad, and the guardrails that keep the diff reviewable.&lt;/p&gt;

&lt;p&gt;Here is the loop that keeps it useful:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4lovvsxpi79u957kncuk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4lovvsxpi79u957kncuk.png" alt="A practical AI-assisted loop: gather context, write the prompt, read the draft, prove it, and review before committing" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Reading code you did not write
&lt;/h2&gt;

&lt;p&gt;Before asking a model anything, spend thirty seconds finding the real entry point yourself with &lt;a href="https://github.com/BurntSushi/ripgrep" rel="noopener noreferrer"&gt;ripgrep&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rg -n &lt;span class="s2"&gt;"def parse|class Parser"&lt;/span&gt; src/
rg -n &lt;span class="s2"&gt;"parse\("&lt;/span&gt; src/ --type py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then paste only the two or three files that matter. Pasting a whole repository makes it easier for the model to grab the wrong symbol, and it also leaks whatever else happened to live in those files.&lt;/p&gt;

&lt;p&gt;A prompt that works for this task names all four slots explicitly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Files: src/parser.py, tests/test_parser.py
Goal: parse_records() returns [] for malformed JSON instead of raising.
Constraint: keep the public signature; do not change what I/O errors raise.
Output: quote the exact lines you changed, then explain why.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The "quote the exact lines" instruction is doing real work. It makes a hallucinated edit visible immediately, because every line it claims to have changed can be looked up in the file you pasted.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Turning a vague bug report into a failing test
&lt;/h2&gt;

&lt;p&gt;The reliable order is test first, written by a human and reviewed before any implementation exists:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pytest&lt;/span&gt;

&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parser&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;parse_records&lt;/span&gt;

&lt;span class="nd"&gt;@pytest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mark&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parametrize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"payload"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"{"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'{"rows": "not-a-list"}'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;test_malformed_payload_returns_empty&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="nf"&gt;parse_records&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the prompt has a target that can be checked mechanically. The pattern above comes straight from the &lt;a href="https://docs.pytest.org/en/stable/how-to/parametrize.html" rel="noopener noreferrer"&gt;pytest parametrize documentation&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;tests/test_parser.py::test_malformed_payload_returns_empty fails with json.JSONDecodeError.
Change app/parser.py only. Do not edit the test. Do not add dependencies.
If the test looks wrong, stop and say so instead of rewriting it.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That last line matters. Faced with a contradiction, a model will often rewrite the assertion, and you end up with a green suite that proves nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Reviewing your own diff before a human sees it
&lt;/h2&gt;

&lt;p&gt;This is the cheapest win and the most skipped step. Before opening a pull request:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git diff --staged
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Here is a staged diff. Review it like a reviewer from another team.
Report only: (1) bugs, (2) missing tests, (3) names that will confuse the next reader.
Skip style preferences. If a category is empty, write "none: &amp;lt;category&amp;gt;".
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two details make the output usable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a fixed, small set of categories instead of an open-ended "review this";&lt;/li&gt;
&lt;li&gt;an explicit instruction to write "none", which stops the model from padding an answer on a diff that is genuinely fine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Treat the result as a checklist, not a verdict. Everything it flags still gets checked, and everything it approves still gets read.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Explaining an intermittent failure
&lt;/h2&gt;

&lt;p&gt;For flaky failures the useful question is not "what is the bug" but "which state could produce this log". Give the model the log, the function, and a sample input:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Traceback (most recent call last):
  File "app/sync.py", line 88, in sync_batch
    record_id = payload["id"]
KeyError: 'id'

Payload sample: {"ID": "abc123", "title": "..."}

Which upstream change would produce this? List the three most likely causes,
and give one log line that would distinguish each of them.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Asking for discriminating log lines turns a plausible story into a testable hypothesis. That is the difference between a suggestion and a diagnosis.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where an assistant is a bad trade
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Production data migrations.&lt;/strong&gt; The failure mode is silent and expensive; write those by hand and review them twice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anything with secrets or customer data.&lt;/strong&gt; A context window is not a safe place for credentials or personal records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learning an area from scratch.&lt;/strong&gt; Reading the documentation once is more reliable than auditing three confident, subtly wrong answers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A rename across a large codebase.&lt;/strong&gt; Use the compiler and the type checker; they do not hallucinate.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A short checklist before you accept a change
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Can I point at the changed line and say why it is there?&lt;/li&gt;
&lt;li&gt;Is there a test that fails without this change?&lt;/li&gt;
&lt;li&gt;Does the code call an API that actually exists? Run it instead of skimming it.&lt;/li&gt;
&lt;li&gt;Does the commit message explain intent, not just mechanics?
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pytest -q &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git add -A &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git commit -m &lt;span class="s2"&gt;"return [] on malformed payload"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Closing
&lt;/h2&gt;

&lt;p&gt;The tool shortens the mechanical parts; the judgement about what ships stays with you. A suggestion that cannot be justified in one sentence to a colleague is not ready to merge, however green the suite looks.&lt;/p&gt;

&lt;p&gt;If you only try one thing from this post, make it step 3. Reviewing your own diff is the highest ratio of value to effort on this list.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
      <category>softwaredevelopment</category>
    </item>
  </channel>
</rss>
