<?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>Forem: Salek Masud Parvez</title>
    <description>The latest articles on Forem by Salek Masud Parvez (@salekmasudparvez1).</description>
    <link>https://forem.com/salekmasudparvez1</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%2F1715094%2Fa8aad790-ee9e-42e4-a5a2-3129f22be146.png</url>
      <title>Forem: Salek Masud Parvez</title>
      <link>https://forem.com/salekmasudparvez1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/salekmasudparvez1"/>
    <language>en</language>
    <item>
      <title>Ops Whisperer 🌩️: Speaking Infrastructure into Existence</title>
      <dc:creator>Salek Masud Parvez</dc:creator>
      <pubDate>Fri, 30 Jan 2026 12:44:31 +0000</pubDate>
      <link>https://forem.com/salekmasudparvez1/ops-whisperer-speaking-infrastructure-into-existence-16ml</link>
      <guid>https://forem.com/salekmasudparvez1/ops-whisperer-speaking-infrastructure-into-existence-16ml</guid>
      <description>&lt;p&gt;&lt;em&gt;This is my submission for the &lt;a href="https://dev.to/challenges/github-2026-01-21"&gt;GitHub Copilot CLI Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I created &lt;strong&gt;Ops Whisperer&lt;/strong&gt;, a friendly AI-powered CLI tool that turns your natural language ideas into ready-to-use infrastructure code.&lt;/p&gt;

&lt;p&gt;Let's be real: even seasoned engineers sometimes freeze trying to recall the exact YAML structure for a Kubernetes Ingress, the right multi-stage build in a Dockerfile, or the proper Terraform resource syntax. We end up Googling, copy-pasting from old projects, or fighting mysterious indentation bugs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ops Whisperer&lt;/strong&gt; fixes that pain. Just describe what you want in plain English — and it instantly generates clean, production-ready configuration files for you, right in your terminal.&lt;/p&gt;

&lt;h3&gt;
  
  
  Currently supported:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🐳 &lt;strong&gt;Docker&lt;/strong&gt; — Dockerfiles and docker-compose.yml stacks&lt;/li&gt;
&lt;li&gt;☸️ &lt;strong&gt;Kubernetes&lt;/strong&gt; — Deployments, Services, Ingresses, ConfigMaps, and more&lt;/li&gt;
&lt;li&gt;🏗️ &lt;strong&gt;Terraform&lt;/strong&gt; — IaC resources, modules, providers&lt;/li&gt;
&lt;li&gt;💻 &lt;strong&gt;Bash&lt;/strong&gt; — Safe, complex shell scripts and one-liners&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It includes a built-in &lt;strong&gt;Safety Rail&lt;/strong&gt; system (heavily assisted by Copilot) that scans output and blocks truly dangerous patterns — no accidental &lt;code&gt;rm -rf /&lt;/code&gt; surprises.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Out
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Project website&lt;/strong&gt;: &lt;a href="https://salekmasudparvez1.github.io/ops-whisperer" rel="noopener noreferrer"&gt;ops-whisperer.github.io&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📦 &lt;strong&gt;NPM package&lt;/strong&gt;: &lt;a href="https://www.npmjs.com/package/ops-whisperer" rel="noopener noreferrer"&gt;npmjs.com/package/ops-whisperer&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; ops-whisperer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;💻 &lt;strong&gt;GitHub repo&lt;/strong&gt;: &lt;a href="https://github.com/salekmasudparvez1/ops-whisperer" rel="noopener noreferrer"&gt;github.com/salekmasudparvez1/ops-whisperer&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo Screenshot
&lt;/h2&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.amazonaws.com%2Fuploads%2Farticles%2Foxqfaadhsg93omg555if.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.amazonaws.com%2Fuploads%2Farticles%2Foxqfaadhsg93omg555if.png" alt="Ops Whisperer CLI demo — generating a Dockerfile from natural language" width="598" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Tip: Replace this placeholder with your actual screenshot of running something like &lt;code&gt;ops "create a Node.js Dockerfile with multi-stage build"&lt;/code&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with GitHub Copilot CLI
&lt;/h2&gt;

&lt;p&gt;Building an AI CLI tool &lt;em&gt;using another AI CLI tool&lt;/em&gt; felt wonderfully meta 😄.&lt;/p&gt;

&lt;p&gt;The hardest parts of CLI development are rarely the core logic — it's all the surrounding glue: argument parsing, proper exit codes, colored output, error handling, streams… you name it.&lt;/p&gt;

&lt;p&gt;GitHub Copilot CLI (&lt;code&gt;gh copilot&lt;/code&gt;) became my always-available terminal pair programmer. No more context-switching to browser tabs or docs — everything stayed in the flow.&lt;/p&gt;

&lt;p&gt;Here’s how it supercharged my workflow:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Instant project scaffolding
&lt;/h3&gt;

&lt;p&gt;Setting up a modern Node.js CLI with ESM, &lt;code&gt;commander&lt;/code&gt;, and &lt;code&gt;inquirer&lt;/code&gt; usually eats 15–30 minutes of boilerplate hunting.&lt;/p&gt;

&lt;p&gt;I just asked:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot suggest "create a node.js cli entry point using commander and inquirer with ESM imports"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom — perfect &lt;code&gt;program.version()&lt;/code&gt;, &lt;code&gt;.option()&lt;/code&gt;, &lt;code&gt;.parse()&lt;/code&gt; structure, correct ESM config, the works. Ready in under 2 minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Bullet-proof Safety Rails (the hardest part)
&lt;/h3&gt;

&lt;p&gt;Blocking dangerous commands (&lt;code&gt;rm -rf&lt;/code&gt;, &lt;code&gt;mkfs&lt;/code&gt;, fork bombs, device writes, etc.) reliably is tricky — regex hell.&lt;/p&gt;

&lt;p&gt;I asked Copilot to help:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot suggest "javascript regex to detect dangerous linux commands like rm -rf or mkfs or &amp;gt; /dev/sda"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It gave me a solid, explainable pattern I could trust and extend. Huge time-saver and peace of mind.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Debugging without leaving the terminal
&lt;/h3&gt;

&lt;p&gt;Hit a weird &lt;code&gt;execa&lt;/code&gt; stdio error during interactive prompts?&lt;/p&gt;

&lt;p&gt;Piped it straight to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot explain "Error: stdio must be of type ..."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Instant clear explanation + suggested fix. Bug squashed in minutes instead of 30+ Googling.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bonus wins
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Quick &lt;code&gt;ora&lt;/code&gt; spinner + &lt;code&gt;chalk&lt;/code&gt; color chaining for that premium feel&lt;/li&gt;
&lt;li&gt;Proper stream handling for child processes&lt;/li&gt;
&lt;li&gt;ANSI-friendly output formatting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Bottom line&lt;/strong&gt;: Copilot CLI didn't just autocomplete code — it acted as on-demand docs expert, regex wizard, and logic validator. It let me spend way more time on the &lt;em&gt;interesting&lt;/em&gt; part (the AI whisperer logic) and way less on Node.js CLI ceremony.&lt;/p&gt;

&lt;p&gt;Thanks to GitHub Copilot CLI, I stayed deep in flow and shipped faster.&lt;/p&gt;

&lt;p&gt;Would love any feedback or ideas — feel free to star the repo or open issues! 🚀&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;


This version feels more conversational, engaging, and professional while keeping your original voice and key points. Good luck with the challenge!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>cli</category>
      <category>githubcopilot</category>
    </item>
  </channel>
</rss>
