<?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: Sunny Rajpal</title>
    <description>The latest articles on DEV Community by Sunny Rajpal (@srajpal).</description>
    <link>https://dev.to/srajpal</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%2F4122241%2Ff6ef5621-8d38-4692-bba7-442951de0ee1.jpg</url>
      <title>DEV Community: Sunny Rajpal</title>
      <link>https://dev.to/srajpal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/srajpal"/>
    <language>en</language>
    <item>
      <title>Reusable instructions for testing and code review in Codex</title>
      <dc:creator>Sunny Rajpal</dc:creator>
      <pubDate>Sat, 12 Sep 2026 14:18:23 +0000</pubDate>
      <link>https://dev.to/srajpal/reusable-instructions-for-testing-and-code-review-in-codex-496a</link>
      <guid>https://dev.to/srajpal/reusable-instructions-for-testing-and-code-review-in-codex-496a</guid>
      <description>&lt;p&gt;I maintain Codex Dev Workflows, a free, open-source plugin with 12 skills. It's for developers who keep repeating the same instructions when testing features, reviewing changes, or continuing unfinished work.&lt;/p&gt;

&lt;p&gt;Here's a small review example. This function should return None for an empty list:&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;def&lt;/span&gt; &lt;span class="nf"&gt;average&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;values&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;values&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;values&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Choose $code-review and ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Review this function against that requirement. Explain the bug and suggest the smallest fix. Do not edit files.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For an empty list, the function divides by zero. A useful review should identify that input, suggest an empty-list check, and say whether it actually ran any tests.&lt;/p&gt;

&lt;p&gt;The plugin puts review instructions into reusable skill files. You can read and adapt them. It uses your existing Codex model and tools, so you still need to check its findings.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chatgpt.com/plugins/plugins_6a9b7d9f2fa0819194b71d627744d569" rel="noopener noreferrer"&gt;Install on OpenAI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/srajpal/codex-dev-workflows" rel="noopener noreferrer"&gt;Source and more examples&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What instructions do you keep repeating during code reviews?&lt;/p&gt;

&lt;p&gt;Drafted with AI assistance.&lt;/p&gt;

</description>
      <category>showdev</category>
    </item>
  </channel>
</rss>
