<?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: Ayush Ranjan</title>
    <description>The latest articles on DEV Community by Ayush Ranjan (@ayuuu0_0).</description>
    <link>https://dev.to/ayuuu0_0</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%2F2754763%2F6aec9967-4f09-4c01-a09a-fbfbcc5b7f04.png</url>
      <title>DEV Community: Ayush Ranjan</title>
      <link>https://dev.to/ayuuu0_0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ayuuu0_0"/>
    <language>en</language>
    <item>
      <title>First5: I built an CLI so my senior engineer stops losing context and finally review my PRs 💀</title>
      <dc:creator>Ayush Ranjan</dc:creator>
      <pubDate>Sun, 25 Oct 2026 19:47:36 +0000</pubDate>
      <link>https://dev.to/ayuuu0_0/first5-i-built-an-cli-so-my-senior-engineer-stops-losing-context-and-finally-review-my-prs-3il4</link>
      <guid>https://dev.to/ayuuu0_0/first5-i-built-an-cli-so-my-senior-engineer-stops-losing-context-and-finally-review-my-prs-3il4</guid>
      <description>&lt;p&gt;I built &lt;strong&gt;&lt;code&gt;first5&lt;/code&gt;&lt;/strong&gt;. It's a dead-simple terminal tool powered by local open models via Ollama. It does only the boring first 5 minutes of any task, sets up your imports, types, and files, and opens your editor with your cursor sitting on line 1 so you can just start typing.&lt;/p&gt;

&lt;p&gt;I actually made this because of two real problems I see every single day at work:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The psychological "dread" tasks
&lt;/h3&gt;

&lt;p&gt;You know those tasks where you sit there staring at an empty file for 45 minutes doing literally anything else? Writing an OpenAPI validator, writing test harness boilerplate, setting up a migration doc. The task itself isn't even that hard, but in your brain you make it this massive mountain. You dread just figuring out where the file goes, importing 8 packages, writing the interfaces, and setting up the classes. Because activation energy is so high, the ticket sits in your sprint for 4 days.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;first5&lt;/code&gt; destroys that dread. You don't ask it to write your whole feature (which usually just gives you 300 lines of weird hallucinated code you have to spend an hour debugging anyway). It just does the annoying first 5 minutes: scans your actual repo, imports the packages, writes the interface, and stops right at the first business logic line.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. My senior engineer who gets pulled into 50 meetings
&lt;/h3&gt;

&lt;p&gt;My senior engineer is great, but he gets pulled into random Slack threads, incident huddles, and prod discussions every 20 minutes. He will start a task, get pinged on Slack, disappear for 2 hours, and then come back to an empty terminal having zero clue where he left off.&lt;/p&gt;

&lt;p&gt;When you run &lt;code&gt;first5&lt;/code&gt; with zero arguments, it acts as an &lt;strong&gt;Active Radar&lt;/strong&gt;. It looks at his uncommitted git changes, his assigned Jira/Linear tickets, and Postman API collections, and lists them right in the terminal with arrow keys. He hits enter on one, and his branch is made, file is scaffolded, and VS Code opens right to where he needs to write code.&lt;/p&gt;

&lt;p&gt;And honestly? The real reason I built this is so he can finally finish his own backlog and review my open PRs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Here is a quick walkthrough of running &lt;code&gt;first5&lt;/code&gt; on our real backend codebase (&lt;code&gt;backend-v3&lt;/code&gt;):&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://youtu.be/NTKfO7Z3hRQ" rel="noopener noreferrer"&gt;Watch the Demo Video Here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What happens in the video:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I run &lt;code&gt;first5&lt;/code&gt; in terminal it shows the radar with arrow keys of where work was left off.&lt;/li&gt;
&lt;li&gt;I give it a real task:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   first5 &lt;span class="s2"&gt;"create script to validate domain yaml files against openapi schema"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ol&gt;
&lt;li&gt;In under 2 seconds, it scans our repo, detects TypeScript, Jest, and Express, and creates &lt;code&gt;src/validators/domainYamlValidator.ts&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;It literally found our actual repo's &lt;code&gt;docs/openapi.json&lt;/code&gt;, imported &lt;code&gt;js-yaml&lt;/code&gt; and &lt;code&gt;ajv&lt;/code&gt;, built the TypeScript interface, and opened VS Code with the cursor waiting at line 26.&lt;/li&gt;
&lt;li&gt;I write one line of code, run &lt;code&gt;first5 done&lt;/code&gt;, and it stages and commits the work with a clean conventional commit.&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The entire codebase is MIT licensed, lightweight, and open source:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/ayuuuuu0-0" rel="noopener noreferrer"&gt;
        ayuuuuu0-0
      &lt;/a&gt; / &lt;a href="https://github.com/ayuuuuu0-0/first5" rel="noopener noreferrer"&gt;
        first5
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;first5&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;Scaffolds the first 5 minutes of any dev task, places your cursor on line 1, and opens your editor.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;The Idea&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;Most developers don't struggle with coding. They struggle with starting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You get pulled into Slack or a standup and come back with zero context.&lt;/li&gt;
&lt;li&gt;You dread copy-pasting acceptance criteria from Jira or Linear.&lt;/li&gt;
&lt;li&gt;You waste 10 minutes setting up imports, mocks, and file paths.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most AI coding tools try to write the entire feature for you, spitting out 300 lines of code you don't trust and have to audit.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;first5&lt;/code&gt; does the opposite. It only does the boring first 5 minutes:&lt;/p&gt;


&lt;ol&gt;

&lt;li&gt;Pulls context from your active git branch or ticket (Jira / Linear / GitHub / Slack).&lt;/li&gt;

&lt;li&gt;Scans your repo's tech stack (TypeScript, React, Python, Go, Rust).&lt;/li&gt;

&lt;li&gt;Generates the boilerplate, imports, and types.&lt;/li&gt;

&lt;li&gt;Leaves a half-finished comment or assertion right where logic begins.&lt;/li&gt;

&lt;li&gt;Spawns your editor (&lt;code&gt;code&lt;/code&gt;…&lt;/li&gt;

&lt;/ol&gt;&lt;/div&gt;
&lt;br&gt;
  &lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/ayuuuuu0-0/first5" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;p&gt;Repo: &lt;a href="https://github.com/ayuuuuu0-0/first5" rel="noopener noreferrer"&gt;https://github.com/ayuuuuu0-0/first5&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I didn't want any bloated frameworks or slow heavy dependencies. It's written in native Node.js ESM.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Brain (Local Open-Source AI):&lt;/strong&gt; It runs on Ollama running locally. On my laptop, I used &lt;code&gt;qwen2.5-coder:14b&lt;/code&gt; (and tested with 7b). It outputs pure structured JSON directly with zero network calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Context Scanner (&lt;code&gt;src/context.js&lt;/code&gt;):&lt;/strong&gt; Before it talks to the model, it inspects &lt;code&gt;process.cwd()&lt;/code&gt;: reads dependencies in &lt;code&gt;package.json&lt;/code&gt;, checks active git branch, recent modified files, and directory tree. That's why when I asked for an OpenAPI validator, it actually knew our schema was located at &lt;code&gt;docs/openapi.json&lt;/code&gt; without me telling it!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Hemingway Hook:&lt;/strong&gt; Ernest Hemingway used to stop writing mid-sentence so he always knew where to start the next morning. &lt;code&gt;first5&lt;/code&gt; prompts the model to write the scaffolding and stop right at the first check, leaving a prompt comment and cursor line number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Editor Launcher (&lt;code&gt;src/editor.js&lt;/code&gt;):&lt;/strong&gt; Automatically spawns your editor (&lt;code&gt;code -g file:line&lt;/code&gt;, &lt;code&gt;cursor&lt;/code&gt;, or &lt;code&gt;nvim&lt;/code&gt;) directly focused on the target line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Radar (&lt;code&gt;src/radar.js&lt;/code&gt;):&lt;/strong&gt; When you run &lt;code&gt;first5&lt;/code&gt; with no arguments, it inspects your git diff, assigned tickets (Jira / Linear), and Postman requests, and lets you pick with arrow keys using raw terminal input.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Closing the Loop (&lt;code&gt;first5 done&lt;/code&gt;):&lt;/strong&gt; Once you're done, running &lt;code&gt;first5 done&lt;/code&gt; reads your active branch and ticket name, stages your changes, and runs &lt;code&gt;git commit&lt;/code&gt; with a clean message.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;This whole project only makes sense because of open-weight models.&lt;/p&gt;

&lt;p&gt;If you work at any company, you cannot just take your entire company's private repository tree, uncommitted git diffs, internal Jira tickets, and proprietary routes and blast them over the internet to a closed cloud API. Security and legal will immediately shut that down.&lt;/p&gt;

&lt;p&gt;Because models like &lt;code&gt;qwen2.5-coder&lt;/code&gt; and &lt;code&gt;llama3.2&lt;/code&gt; are open weights, I can run them on my own laptop via Ollama with 100% offline privacy. My company's codebase never touches an external server, and it runs in 1.5 seconds on Apple Silicon without paying API bills. Open innovation is the only reason tools like this can actually be used on real production codebases.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;This week alone, writing the boilerplate for YAML validation, setting up route mocks, and creating test files usually eats 15 to 20 minutes of wandering around between Slack, Jira, and file trees before typing actual logic.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;first5&lt;/code&gt; drops that activation time from 20 minutes of dread down to literally 3 seconds. You hit enter, your editor opens with the imports already resolved, and you just finish the line. It turns the hardest part of work (getting started) into a non-issue.&lt;/p&gt;

&lt;p&gt;And best of all, my PRs might finally get reviewed today.&lt;/p&gt;




&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary:&lt;/strong&gt; Hacktoberfest Open-Source AI Challenge Week 3 ("Slow and Steady" / Developer Laziness)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source AI / Local Models:&lt;/strong&gt; Best use of Ollama &amp;amp; Open-Weight Models for Developer Tooling&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Prepme - AI Powered Interview Kit</title>
      <dc:creator>Ayush Ranjan</dc:creator>
      <pubDate>Sun, 18 Oct 2026 19:12:01 +0000</pubDate>
      <link>https://dev.to/ayuuu0_0/prepme-ai-powered-interview-kit-459n</link>
      <guid>https://dev.to/ayuuu0_0/prepme-ai-powered-interview-kit-459n</guid>
      <description>&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%2F80f3a8tu6w23ni3lb5ff.jpeg" 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%2F80f3a8tu6w23ni3lb5ff.jpeg" alt=" " width="800" height="466"&gt;&lt;/a&gt;&lt;br&gt;
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/p&gt;

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

&lt;p&gt;PrepMe builds an interview prep kit from a real job posting. You paste the job description, and it pulls out the requirements, writes interview questions based on them, makes flashcards, and creates a 5-day study plan.&lt;/p&gt;

&lt;p&gt;Most interview prep is too generic. You end up practicing random LeetCode problems when the company cares about something else. PrepMe reads the posting you’re applying to and builds the questions around the skills it lists.&lt;/p&gt;

&lt;p&gt;Who would pay:&lt;/p&gt;

&lt;p&gt;Job seekers interviewing at several companies. The planned Pro plan is $19 a month with a cloud model for faster results.&lt;br&gt;
Career coaches who prep clients. The planned Coach plan is $49 a month with bulk generation and white-label exports.&lt;br&gt;
Bootcamp grads who need a structured way to prepare.&lt;/p&gt;

&lt;p&gt;The free tier runs a local model (Qwen 2.5 Coder 7B through Ollama), so it costs nothing to run.&lt;/p&gt;

&lt;p&gt;Demo&lt;/p&gt;

&lt;p&gt;Video: &lt;a href="https://youtu.be/aE5vZNURTYs" rel="noopener noreferrer"&gt;https://youtu.be/aE5vZNURTYs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try it yourself:&lt;/p&gt;

&lt;p&gt;Clone the repo and run npm install.&lt;br&gt;
Install Ollama and run ollama pull qwen2.5-coder:7b.&lt;br&gt;
Start the backend with npm run dev:server.&lt;br&gt;
In packages/web, run npm run dev.&lt;br&gt;
Open &lt;a href="http://localhost:3000" rel="noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt; and paste a real job posting. Try one from Vercel, Linear, Stripe, or Magica.&lt;br&gt;
Code&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ayuuuuu0-0/prepme" rel="noopener noreferrer"&gt;https://github.com/ayuuuuu0-0/prepme&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Features:&lt;/p&gt;

&lt;p&gt;Uses Playwright to load JavaScript-heavy job boards before reading them.&lt;br&gt;
Checks that every must-have requirement has at least one question.&lt;br&gt;
Quotes the exact line from the posting for each requirement, so the model can’t make up requirements.&lt;br&gt;
Practice mode with a 60-second timer.&lt;br&gt;
Builds a 5-day study schedule and puts the harder topics first.&lt;/p&gt;

&lt;p&gt;Tech stack:&lt;/p&gt;

&lt;p&gt;Backend: Express, TypeScript, MongoDB (with an in-memory fallback)&lt;br&gt;
Frontend: Next.js 15 and Tailwind CSS&lt;br&gt;
AI: Qwen 2.5 Coder 7B through Ollama&lt;br&gt;
Validation: Zod schemas for the model’s output&lt;br&gt;
How I Built It&lt;/p&gt;

&lt;p&gt;I use Qwen 2.5 Coder 7B running locally with Ollama. I tried Gemma 2 9B and Llama 3.1 8B first. Qwen gave me the most reliable JSON output, and that matters because the app breaks if the output doesn’t match the schema.&lt;/p&gt;

&lt;p&gt;The pipeline works like this:&lt;/p&gt;

&lt;p&gt;The model reads the job posting and pulls out technical, behavioral, and domain requirements. Each one includes the exact line from the posting.&lt;br&gt;
Plain TypeScript code checks that every must-have requirement has a question.&lt;br&gt;
If something is missing, the model gets up to two more passes. After that, a fallback generator fills the gap.&lt;br&gt;
The model writes the flashcards. If that step fails, the flashcards come from the questions.&lt;br&gt;
A scheduling function spreads the questions across the number of days you pick.&lt;/p&gt;

&lt;p&gt;Many job boards load their content with JavaScript, so a plain fetch returns an almost empty page. Magica.com is one of them, and I tested PrepMe with a Magica job description in the demo video. PrepMe checks how much text it got compared to the size of the HTML. If the page looks empty, it renders the page with Playwright first.&lt;/p&gt;

&lt;p&gt;The code is split into three packages:&lt;/p&gt;

&lt;p&gt;@prepkit/core: the pipeline, with no framework dependencies&lt;br&gt;
@prepkit/server: the Express API and MongoDB storage&lt;br&gt;
@prepkit/web: the Next.js frontend&lt;br&gt;
Why Does Open Innovation Matter?&lt;/p&gt;

&lt;p&gt;Closed APIs charge per token. A job posting plus company research can use about 5,000 input tokens and 3,000 output tokens. At the rates I used, that works out to about $0.03 per kit. If a free tier gave 10,000 users 2 kits each, that’s roughly $600 a month with no revenue. The free tier would lose money on every user.&lt;/p&gt;

&lt;p&gt;Privacy matters too. Career coaches handle client resumes and job descriptions that aren’t public yet. If that data goes to a closed API, it leaves their control. Running the model locally keeps it on their own machine.&lt;/p&gt;

&lt;p&gt;Offline use is another reason. The model downloads once, about 5 GB, and after that the free tier works without internet. You can also swap models by changing one line in the .env file.&lt;/p&gt;

&lt;p&gt;Open weights are the only reason this free tier can exist.&lt;/p&gt;

&lt;p&gt;My First User&lt;/p&gt;

&lt;p&gt;A friend who is interviewing for backend roles tried PrepMe. They pasted two job descriptions and had both prep kits in about 5 minutes.&lt;/p&gt;

&lt;p&gt;Their feedback:&lt;/p&gt;

&lt;p&gt;“The questions are more specific than the LeetCode grind.”&lt;br&gt;
“I like that it quotes the exact requirement. No guessing.”&lt;br&gt;
“The practice timer showed me I ramble too much.”&lt;br&gt;
“2 to 3 minutes per kit is fine, but I’d pay $10 a month for instant generation.”&lt;/p&gt;

&lt;p&gt;The questions aren’t perfect yet. Some are still generic, and some don’t go as deep as they should. I’m working on the prompts and the repair step, and I expect the quality to improve over time. The quality issues are real, and I’d rather say so than hide them.&lt;/p&gt;

&lt;p&gt;Nobody has paid yet. The cloud Pro tier isn’t built, so their answer about paying is a guess for now. The free tier brings people in, and the paid tier is the next step.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
