<?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: Will</title>
    <description>The latest articles on DEV Community by Will (@skyf0xx).</description>
    <link>https://dev.to/skyf0xx</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%2F4069841%2Fcfc13171-362f-4822-9546-2a7877d0e810.png</url>
      <title>DEV Community: Will</title>
      <link>https://dev.to/skyf0xx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/skyf0xx"/>
    <language>en</language>
    <item>
      <title>A fix for AI spaghetti code</title>
      <dc:creator>Will</dc:creator>
      <pubDate>Sun, 09 Aug 2026 12:22:24 +0000</pubDate>
      <link>https://dev.to/skyf0xx/a-fix-for-ai-spaghetti-code-5750</link>
      <guid>https://dev.to/skyf0xx/a-fix-for-ai-spaghetti-code-5750</guid>
      <description>&lt;p&gt;I got tired of looking at really iffy code created by AI.&lt;/p&gt;

&lt;p&gt;Usually the the first few commits are fine, but as the code-base grows, the code gets really hard for a human to read and even worse to maintain.&lt;/p&gt;

&lt;p&gt;The tell is, on the micro level (e.g. a specific function), the code looks nice. When you zoom out and look at the folder structure, domains, separation of concerns, then it gets really messy if it was vibe coded.&lt;/p&gt;

&lt;p&gt;So I built a tool that gives AI guardrails to make sure it builds it right. Works really well and it's 7,000 installs in just a few weeks. &lt;/p&gt;

&lt;p&gt;Have a look at it here:&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/skyf0xx" rel="noopener noreferrer"&gt;
        skyf0xx
      &lt;/a&gt; / &lt;a href="https://github.com/skyf0xx/hedgehog" rel="noopener noreferrer"&gt;
        hedgehog
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      An opinionated AI software engineering workflow built for BMAD
    &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;Turn AI from a code generator into a reliable software engineer ⭐&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="https://www.npmjs.com/package/@skyf0xx/hedgehog" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/f76f24f031751e55bc8f7fc41d90d90dcad020005a759eec95546e2e4c916d02/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f64742f253430736b79663078782532466865646765686f673f7374796c653d666f722d7468652d6261646765" alt="Total downloads"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AI can write code in seconds.&lt;/p&gt;
&lt;p&gt;But as projects grow, context fills up, &lt;strong&gt;architecture drifts&lt;/strong&gt;, and every new feature becomes harder to change safely.&lt;/p&gt;
&lt;p&gt;Hedgehog gives AI a &lt;strong&gt;disciplined way to build software&lt;/strong&gt;: TDD. Opinionated architecture. Small, verifiable steps.&lt;/p&gt;
&lt;p&gt;Instead of asking AI to remember your entire project, Hedgehog encodes the plan into the architecture and build process.&lt;/p&gt;
&lt;p&gt;The codebase carries the context, not the model.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Cleaner code, fewer tokens, faster builds ⭐⭐⭐⭐&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/skyf0xx/hedgehog/master/docs/images/hero.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fskyf0xx%2Fhedgehog%2Fmaster%2Fdocs%2Fimages%2Fhero.png" alt="Hedgehog - build software the right way, one step at a time"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How it works&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Hedgehog combines:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;BMAD for planning&lt;/strong&gt; — turn an idea into a clear brief, requirements, and architecture&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An opinionated stack&lt;/strong&gt; — remove unnecessary technical decisions, and settle the necessary ones once&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TDD and progressive layering&lt;/strong&gt; — build one tested layer at a time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mechanical enforcement&lt;/strong&gt; — use tooling and phase gates instead of trusting the AI to follow instructions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small context&lt;/strong&gt;…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/skyf0xx/hedgehog" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


</description>
      <category>ai</category>
      <category>opensource</category>
      <category>claudecode</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
