<?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: abdelrhman Ahmed</title>
    <description>The latest articles on DEV Community by abdelrhman Ahmed (@abdelrhman_ahmed_e22b2ad2).</description>
    <link>https://dev.to/abdelrhman_ahmed_e22b2ad2</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%2F4145943%2Ff0584659-3192-4802-8754-4323be4a8c88.jpeg</url>
      <title>DEV Community: abdelrhman Ahmed</title>
      <link>https://dev.to/abdelrhman_ahmed_e22b2ad2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abdelrhman_ahmed_e22b2ad2"/>
    <language>en</language>
    <item>
      <title>Stop shipping messy code: I built a zero-dependency frontend auditor (with Claude MCP support)</title>
      <dc:creator>abdelrhman Ahmed</dc:creator>
      <pubDate>Sun, 27 Sep 2026 19:42:11 +0000</pubDate>
      <link>https://dev.to/abdelrhman_ahmed_e22b2ad2/stop-shipping-messy-code-i-built-a-zero-dependency-frontend-auditor-with-claude-mcp-support-514d</link>
      <guid>https://dev.to/abdelrhman_ahmed_e22b2ad2/stop-shipping-messy-code-i-built-a-zero-dependency-frontend-auditor-with-claude-mcp-support-514d</guid>
      <description>&lt;p&gt;If you are anything like me, you've probably approved a Pull Request only to realize later that a rogue &lt;code&gt;console.log("here")&lt;/code&gt; made it into production. Or maybe you noticed your &lt;code&gt;package.json&lt;/code&gt; has 5 libraries that haven't been imported in months.&lt;/p&gt;

&lt;p&gt;I got tired of these tiny, frustrating frontend mistakes slipping through the cracks. So, instead of configuring 15 different ESLint plugins, I built a standalone, zero-dependency CLI tool to catch and automatically fix them.&lt;/p&gt;

&lt;p&gt;Meet the &lt;strong&gt;&lt;a href="https://github.com/abdelrhmanahmed255/Frontend-Quality" rel="noopener noreferrer"&gt;Frontend Quality Auditor&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  🛠️ What does it actually do?
&lt;/h3&gt;

&lt;p&gt;You just point it at your React, Next.js, or HTML project:&lt;br&gt;
&lt;code&gt;npx frontend-quality-auditor audit .&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It scans your codebase and generates a markdown report grading your project on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dead Code:&lt;/strong&gt; Unused imports and unused dependencies hiding in &lt;code&gt;package.json&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code Smells:&lt;/strong&gt; Leftover &lt;code&gt;debugger&lt;/code&gt; statements, &lt;code&gt;console.logs&lt;/code&gt;, and hardcoded API keys.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Asset Bloat:&lt;/strong&gt; Massive images over 500kb, or legacy PNGs that should be modern WebP/AVIFs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility &amp;amp; Responsiveness:&lt;/strong&gt; (If you pass a &lt;code&gt;--url&lt;/code&gt;, it lazily loads Playwright to test your app across 8 different device widths, catching horizontal scroll overflows and missing &lt;code&gt;alt&lt;/code&gt; tags).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ✨ The best part: Auto-Fixing
&lt;/h3&gt;

&lt;p&gt;Finding the issues is only half the battle. I wanted the tool to clean up the mess for me. &lt;/p&gt;

&lt;p&gt;If you run:&lt;br&gt;
&lt;code&gt;npx frontend-quality-auditor fix --safe&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It will automatically rip out the unused imports, delete the &lt;code&gt;console.log&lt;/code&gt; lines, and remove the debuggers without breaking your application logic. &lt;/p&gt;




&lt;h3&gt;
  
  
  🤖 The Killer Feature: Native AI Integration (MCP)
&lt;/h3&gt;

&lt;p&gt;Because I use AI heavily in my workflow, I built a native &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; server directly into the tool. &lt;/p&gt;

&lt;p&gt;If you use Claude Desktop or Cursor, you don't even need to use the terminal. You can give your AI agent the ability to audit and fix your code for you. Just add this to your MCP settings file:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
json
{
  "mcpServers": {
    "frontend-auditor": {
      "command": "npx",
      "args": ["-y", "frontend-quality-auditor", "mcp"]
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>cli</category>
      <category>codequality</category>
      <category>javascript</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
