<?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: Mansoor Mamnoon</title>
    <description>The latest articles on DEV Community by Mansoor Mamnoon (@mansoor_mamnoon).</description>
    <link>https://dev.to/mansoor_mamnoon</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%2F3965555%2Fab447b84-e481-4f73-94c6-ea6ed158f66e.jpg</url>
      <title>DEV Community: Mansoor Mamnoon</title>
      <link>https://dev.to/mansoor_mamnoon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mansoor_mamnoon"/>
    <language>en</language>
    <item>
      <title>I made a CLI tool that replaces the first 15 minutes of exploring any new codebase</title>
      <dc:creator>Mansoor Mamnoon</dc:creator>
      <pubDate>Wed, 03 Jun 2026 02:23:58 +0000</pubDate>
      <link>https://dev.to/mansoor_mamnoon/i-made-a-cli-tool-that-replaces-the-first-15-minutes-of-exploring-any-new-codebase-2p10</link>
      <guid>https://dev.to/mansoor_mamnoon/i-made-a-cli-tool-that-replaces-the-first-15-minutes-of-exploring-any-new-codebase-2p10</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.amazonaws.com%2Fuploads%2Farticles%2F15yy6tzcuvo5n07npgm5.jpg" 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%2F15yy6tzcuvo5n07npgm5.jpg" alt=" " width="799" height="587"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You know that thing where you clone a repo and spend the first 15–20 minutes just trying to figure out what it even is?&lt;/p&gt;

&lt;p&gt;You open package.json, look for scripts, check if there's a Dockerfile, search for the entry point, wonder if there are tests anywhere. And you do this every single time.&lt;/p&gt;

&lt;p&gt;I got annoyed enough to build something about it. It's called codeglance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Run one command in any repo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx codeglance
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get a quick summary: what the project is, how to run it, which files to read first, and what tooling is set up. No config, no API keys, no setup.&lt;/p&gt;

&lt;p&gt;It reads your manifest files: package.json, go.mod, Cargo.toml, pyproject.toml : and figures out the stack from there. Not just "this is a TypeScript project" but "this is Next.js 14 with Prisma and tRPC."&lt;/p&gt;

&lt;p&gt;The "where to start" section ranks files by depth, naming patterns, and known entry point conventions. Heuristic, not magic: but usually right enough to be useful.&lt;/p&gt;

&lt;p&gt;There's also a --for-ai flag that generates a compact summary you can paste into Claude or Cursor before asking questions about a codebase. Saves you from dumping the whole repo in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it doesn't do&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It doesn't parse source code or understand logic. If a project has no standard manifest, the output will be shallow. File ranking is pattern-based, not import-graph analysis — so it's approximate. Java and Ruby aren't supported yet (on the roadmap).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it's built&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;TypeScript, Commander for CLI parsing, tsup for bundling. 70 tests. Supports Node.js, Python, Go, Rust, and C/C++ repos. I used Claude Code heavily during development and I'm not pretending otherwise: I care more about whether the output is useful than getting credit for typing every line.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx codeglance
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx codeglance ~/projects/some-repo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/mansoor-mamnoon/codeglance" rel="noopener noreferrer"&gt;https://github.com/mansoor-mamnoon/codeglance&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the "files to read first" section is useless on your repos, I genuinely want to know: that's the part I'm least confident about. ⭐ if it saves you time.&lt;/p&gt;

</description>
      <category>cli</category>
      <category>opensource</category>
      <category>typescript</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
