<?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: Nikhil</title>
    <description>The latest articles on Forem by Nikhil (@nik09).</description>
    <link>https://forem.com/nik09</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%2F896110%2Fb4ce4915-c48b-4e45-aab0-4ddcb6cd9104.jpeg</url>
      <title>Forem: Nikhil</title>
      <link>https://forem.com/nik09</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/nik09"/>
    <language>en</language>
    <item>
      <title>Bridge the gap between code and documentation without ever leaving your terminal.</title>
      <dc:creator>Nikhil</dc:creator>
      <pubDate>Sun, 15 Feb 2026 19:21:23 +0000</pubDate>
      <link>https://forem.com/nik09/bridge-the-gap-between-code-and-documentation-without-ever-leaving-your-terminal-4l4b</link>
      <guid>https://forem.com/nik09/bridge-the-gap-between-code-and-documentation-without-ever-leaving-your-terminal-4l4b</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a 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;DOC-PILOT is a CLI-native documentation assistant powered by Gemini. It eliminates the "context-switching tax" that developers pay every time they leave their IDE to search for library methods, syntax, or examples in a browser. By staying within the terminal, DOC-PILOT provides instant, high-fidelity explanations and code samples for any library or framework, keeping you in the flow state.&lt;/p&gt;

&lt;p&gt;GitHub repo link: &lt;a href="https://github.com/nik-09/doc-pilot" rel="noopener noreferrer"&gt;https://github.com/nik-09/doc-pilot&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&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%2Fzrq0qxtwbysu7qdnbey8.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%2Fzrq0qxtwbysu7qdnbey8.png" alt=" " width="657" height="249"&gt;&lt;/a&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Frkplr61uv56z9tfhtn0m.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%2Frkplr61uv56z9tfhtn0m.png" alt=" " width="777" height="334"&gt;&lt;/a&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fa90xdy69fgfcw4hxtbi8.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%2Fa90xdy69fgfcw4hxtbi8.png" alt=" " width="800" height="301"&gt;&lt;/a&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fvwuhinqalx08brzwog88.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%2Fvwuhinqalx08brzwog88.png" alt=" " width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;In this hackathon, I aimed to move from a blank folder to a functional CLI tool without manually writing a single line of boilerplate. What followed was a 2.5-hour "conversation" that completely changed my perspective on development. This was the &lt;strong&gt;first vibe code&lt;/strong&gt; production-ready application I built from scratch.&lt;br&gt;
I started with nothing but a &lt;code&gt;copilot-instructions.md&lt;/code&gt; file—essentially my brain dump of what DOC-PILOT should be. From there, I let GitHub Copilot CLI take the wheel on the heavy lifting; I just talked to the terminal.&lt;br&gt;
Using Plan Mode felt like having a senior architect sitting next to me; we mapped out the logic together, and then the Agent Mode acted as the hands, generating and refining the commands in real-time. It wasn't just "generating code"; it was an evolving dialogue where the application grew organically as I guided it.&lt;br&gt;
&lt;strong&gt;Breaking the "Context-Switching" Cycle&lt;/strong&gt;&lt;br&gt;
The most striking part of the experience was the focus. Usually, building a tool like this involves many open browser tabs and constant context-switching. With Copilot CLI, I stayed in the zone. I didn't have to leave the terminal to figure out why a shell script wasn't executing or how to format a JSON response—the assistant handled the "how," which left me free to obsess over the "what."&lt;br&gt;
In the end, while publishing the application to npm, an error occurred due to access tokens. But the exciting part was that what could have been a frustrating hour of debugging was reduced to just a few minutes of conversation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The result? A complete, working tool in under three hours&lt;/strong&gt;. This wasn't just about speed; it was about the sheer joy of building at the speed of thought.&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.amazonaws.com%2Fuploads%2Farticles%2Ftg8ka385izk7t2600kon.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%2Ftg8ka385izk7t2600kon.png" alt=" " width="800" height="191"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Tab Documentation:&lt;/strong&gt; Query any library method (e.g., doc-pilot query react useEffect) and get an instant explanation.
Contextual Examples: Generates minimal, clean syntax examples tailored to your query.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemini-Powered:&lt;/strong&gt; Leverages the Gemini API for high-speed, intelligent responses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simple Setup:&lt;/strong&gt; A streamlined installation and API configuration process directly in the terminal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Future Roadmap&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Model Agnostic: Expanding support to allow users to plug in their preferred LLMs (GPT-4, Claude, etc.).&lt;/li&gt;
&lt;li&gt;Offline Cache: Saving frequently searched methods for instant offline access.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The most impressive part of this build wasn't just the final tool, but the speed of the iteration. GitHub Copilot CLI turned a "one-day project" into a "one-session project." It didn't just help me write code; it acted as a pair programmer that handled the "how" so I could focus on the "what."&lt;/p&gt;

&lt;p&gt;Overall, I truly enjoyed taking part in the hackathon experience.&lt;/p&gt;

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