<?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: yin su</title>
    <description>The latest articles on DEV Community by yin su (@yin_su_7c6f8f5d1e38117abc).</description>
    <link>https://dev.to/yin_su_7c6f8f5d1e38117abc</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%2F4257193%2F4c41dd28-3522-4a3a-9e5e-0abb3800df44.png</url>
      <title>DEV Community: yin su</title>
      <link>https://dev.to/yin_su_7c6f8f5d1e38117abc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yin_su_7c6f8f5d1e38117abc"/>
    <language>en</language>
    <item>
      <title>Building a Browser-Based Semiconductor Wafer "Autopsy Lab" with Kiro (Kiroween 2026)</title>
      <dc:creator>yin su</dc:creator>
      <pubDate>Sat, 21 Nov 2026 11:14:07 +0000</pubDate>
      <link>https://dev.to/yin_su_7c6f8f5d1e38117abc/building-a-browser-based-semiconductor-wafer-autopsy-lab-with-kiro-kiroween-2026-16b8</link>
      <guid>https://dev.to/yin_su_7c6f8f5d1e38117abc/building-a-browser-based-semiconductor-wafer-autopsy-lab-with-kiro-kiroween-2026-16b8</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Written as part of my &lt;strong&gt;Kiroween 2026&lt;/strong&gt; hackathon submission: &lt;strong&gt;Chip Autopsy Lab&lt;/strong&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live Demo: &lt;a href="https://chip-autopsy-lab.netlify.app" rel="noopener noreferrer"&gt;https://chip-autopsy-lab.netlify.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub Repo: &lt;a href="https://github.com/suyin31/chip-autopsy-lab" rel="noopener noreferrer"&gt;https://github.com/suyin31/chip-autopsy-lab&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Demo Video: &lt;a href="https://youtu.be/h5vQuVODXHA" rel="noopener noreferrer"&gt;https://youtu.be/h5vQuVODXHA&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why I Built This
&lt;/h2&gt;

&lt;p&gt;I'm an IC design undergraduate currently training as an ATE test engineer. Whenever a wafer lot comes back with bad yield, small teams usually end up writing one-off Python scripts, exporting to Excel, and plotting one wafer at a time in matplotlib — taking hours at 2 a.m. just to answer a single question: &lt;em&gt;why is it failing?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Commercial yield analysis tools cost tens of thousands of dollars, while free browser viewers only draw wafer maps without diagnosing the root cause. Worse, uploading raw STDF binary test logs to third-party servers isn't an option under fab/OSAT NDAs. For &lt;strong&gt;Kiroween 2026&lt;/strong&gt;, I wanted to build a &lt;strong&gt;local-first, offline-capable&lt;/strong&gt; tool that opens raw STDF v4 files right in the browser and leads with a plain-sentence verdict backed by clickable die-level evidence.&lt;/p&gt;




&lt;h2&gt;
  
  
  How Kiro Changed My Development Workflow
&lt;/h2&gt;

&lt;p&gt;On a project mixing binary parsing, Web Workers, Canvas2D rendering, and a defect classifier, it's easy for core logic and UI state to tangle together. Building with &lt;strong&gt;Kiro&lt;/strong&gt; in a spec-driven workflow kept the architecture clean from day one:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Specs + 14 Correctness Properties First
&lt;/h3&gt;

&lt;p&gt;Before writing feature code, I set up &lt;code&gt;.kiro/specs/chip-autopsy-lab/&lt;/code&gt; (&lt;code&gt;requirements.md&lt;/code&gt;, &lt;code&gt;design.md&lt;/code&gt;, and &lt;code&gt;tasks.md&lt;/code&gt;) with &lt;strong&gt;14 explicit correctness properties&lt;/strong&gt;, each paired with &lt;code&gt;fast-check&lt;/code&gt; property-based tests (&lt;code&gt;src/core/**/*.prop.test.ts&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;STDF v4 is unforgiving — optional trailing fields, inherited &lt;code&gt;PTR&lt;/code&gt; limits, multi-site interleaving, and truncated streams from Teradyne/Advantest testers. Having round-trip property tests derived directly from Kiro specs caught subtle parser bugs early, long before they could show up on a wafer map.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Steering Rules to Lock Architectural Boundaries
&lt;/h3&gt;

&lt;p&gt;Using &lt;code&gt;.kiro/steering/&lt;/code&gt; (&lt;code&gt;product.md&lt;/code&gt;, &lt;code&gt;tech.md&lt;/code&gt;, &lt;code&gt;structure.md&lt;/code&gt;, &lt;code&gt;design-language.md&lt;/code&gt;), I enforced strict boundaries across every agent turn:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;src/core/&lt;/code&gt; stays framework-free TypeScript (ESLint blocks React, Next.js, and DOM imports) and runs inside a Web Worker;&lt;/li&gt;
&lt;li&gt;Raw STDF bytes never leave the user's browser — even the optional AI narrator only receives aggregate facts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Hooks as an Always-On Safety Net
&lt;/h3&gt;

&lt;p&gt;I wired three save hooks in &lt;code&gt;.kiro/hooks/&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;lint-typecheck-on-save.kiro.hook&lt;/code&gt; — runs ESLint + typecheck on every &lt;code&gt;src/**/*.ts(x)&lt;/code&gt; save;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;core-unit-tests-on-save.kiro.hook&lt;/code&gt; — runs colocated unit and property tests on &lt;code&gt;src/core/**/*.ts&lt;/code&gt; saves, with a rule never to weaken a design property just to pass;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;i18n-key-parity-on-save.kiro.hook&lt;/code&gt; — verifies translation key parity across &lt;code&gt;en&lt;/code&gt;, &lt;code&gt;zh-CN&lt;/code&gt;, and &lt;code&gt;zh-TW&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local-first STDF v4 engine&lt;/strong&gt;: parses 16 record types (plain or &lt;code&gt;.gz&lt;/code&gt;) in a Web Worker with truncation recovery;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verdict-first UI&lt;/strong&gt;: clicking any "cause of death" finding highlights the exact dies on the Canvas2D wafer map and its bar in the bin Pareto;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WM-811K Spatial Defect Classifier&lt;/strong&gt;: &lt;strong&gt;97.8% accuracy&lt;/strong&gt; (macro-F1 0.885) on 51,886 held-out real wafer maps;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verified quality gates&lt;/strong&gt;: &lt;strong&gt;474 unit and property tests&lt;/strong&gt; passing, plus Playwright e2e and frame-rate performance gates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This was my first hackathon, and Kiro's spec-driven structure + automated hooks made it possible to ship an industrial-grade tool solo. Try out the live demo or check out the repo on GitHub!&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>hackathon</category>
      <category>webdev</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
