<?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: Rajeev Kumar</title>
    <description>The latest articles on DEV Community by Rajeev Kumar (@rajeev_kumar_25ffd177c443).</description>
    <link>https://dev.to/rajeev_kumar_25ffd177c443</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%2F4283148%2F07edb162-4732-4a34-9b7d-7482bb076dc4.png</url>
      <title>DEV Community: Rajeev Kumar</title>
      <link>https://dev.to/rajeev_kumar_25ffd177c443</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajeev_kumar_25ffd177c443"/>
    <language>en</language>
    <item>
      <title>Parts that fit, proven before you print: building ShapeIn3D with Kiro</title>
      <dc:creator>Rajeev Kumar</dc:creator>
      <pubDate>Fri, 04 Dec 2026 17:47:56 +0000</pubDate>
      <link>https://dev.to/rajeev_kumar_25ffd177c443/parts-that-fit-proven-before-you-print-building-shapein3d-with-kiro-1h8</link>
      <guid>https://dev.to/rajeev_kumar_25ffd177c443/parts-that-fit-proven-before-you-print-building-shapein3d-with-kiro-1h8</guid>
      <description>&lt;p&gt;I wrote this post as part of the Kiroween 2026 hackathon.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/gfnZd5pQh50" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;The problem: AI can draw it, but will it fit?&lt;br&gt;
We were building our own drone, and the hardest part wasn't flying it. It was finding parts that actually fit the frame: a mount 1 mm too small, a hole in the wrong place, a wall too thin to print. Every mistake cost a print, some filament and an evening.&lt;/p&gt;

&lt;p&gt;AI can draw a 3D model in seconds now. But a model that looks right isn't the same as a part that fits your motor, holds your board, sits flat on your printer bed and survives printing. So we built a tool that doesn't trust the drawing. It measures it.&lt;/p&gt;

&lt;p&gt;What ShapeIn3D is&lt;br&gt;
ShapeIn3D is a skeleton for making 3D-printable parts that fit real things. It's a Python SDK plus a part checker that runs 9 geometry checks on every design:&lt;/p&gt;

&lt;p&gt;sound_mesh: the model is a closed, printable solid&lt;br&gt;
fits_bed: it fits your printer's bed&lt;br&gt;
flat_base: it has a flat side to print on&lt;br&gt;
overhang: no steep overhangs that need support&lt;br&gt;
min_wall: the walls are thick enough for your nozzle&lt;br&gt;
hole_edge: holes have enough material around them&lt;br&gt;
no_collision: the parts inside don't hit each other or the walls&lt;br&gt;
joins: lids and pieces fit together with clearance&lt;br&gt;
strength: thin features are strong enough&lt;br&gt;
A part is done only when it passes all 9 checks and a person approves the preview.&lt;/p&gt;

&lt;p&gt;We entered the Skeleton Crew category, so we built two very different apps on the same skeleton. They share no code.&lt;/p&gt;

&lt;p&gt;Mold &amp;amp; Magic is a Halloween-themed design studio. You list the parts you own (an ESP32, two N20 motors, a 2×18650 battery holder) and Kiro designs a body around them, with screw posts, port openings, a lid and wheels that fit the motor shaft. Our demo is a jack-o'-lantern robot car with a face cut through the lid so an LED glows inside.&lt;br&gt;
BenchKeeper is for a small workshop that prints its own tools and spare parts. It tracks stock, the cost of each print and the money saved by printing instead of buying. You can reprint a part when stock runs low, but only if it passes its check, and safety-critical parts can never be reprinted.&lt;br&gt;
How we built it with Kiro&lt;br&gt;
Specs first, not vibe coding&lt;br&gt;
Every piece of work started as a spec in .kiro/specs/, with requirements, a design and tasks. There are 14 of them: one per app, the part checker, assembly interference and clearance, curved geometry and more. Numbered requirements turned "make it better" into tasks we could check, and the tests name the requirements they cover. Compared with vibe coding, the biggest difference was that Kiro rarely drifted: when it did, the spec showed exactly where.&lt;/p&gt;

&lt;p&gt;Steering kept Kiro honest&lt;br&gt;
Ten steering docs in .kiro/steering/ carry the rules into every session. The most important one is never invent a size: every dimension needs a source, either the maker's published drawing or the user. Others make Kiro build only from the SDK's blocks, and say a part is done only when it's checked and approved. One steering doc, design-interview, is the interview Kiro runs before it designs anything new. Another, judge-check, reinstalls the project from scratch and runs every offline check.&lt;/p&gt;

&lt;p&gt;Hooks caught mistakes the moment a file changed&lt;br&gt;
We have 9 agent hooks. The one I like most is auto-check-design: save a design.json and Kiro runs the 9 checks, fixes what fails and asks for approval. Others guard the catalogue of part sizes, guard the geometry parser and the interference code, lint on save, and run the tests after each spec task. A check that runs on save beats a review a day later.&lt;/p&gt;

&lt;p&gt;MCP for real sizes&lt;br&gt;
We set up Context7 for library documentation and Fetch for makers' datasheets. Each size in the parts library names where it came from (Pololu for the N20 motor, Espressif for the ESP32 DevKitC, and so on).&lt;/p&gt;

&lt;p&gt;Property-based tests&lt;br&gt;
BenchKeeper has one Hypothesis test file per numbered property in its spec: the cost formulas, the security gate and the safety flag. Each rule is checked against many generated inputs, not a few we picked by hand.&lt;/p&gt;

&lt;p&gt;Kiro runs inside the apps too&lt;br&gt;
Both apps start the Kiro CLI (kiro-cli acp) and talk to it over the Agent Client Protocol. In Mold &amp;amp; Magic, Kiro interviews you, maps your parts to the library and writes the design, and then the SDK runs the 9 checks. In BenchKeeper, "Fix with Kiro" repairs a part that fails its check. The workshop's stock and costs are never sent to Kiro.&lt;/p&gt;

&lt;p&gt;The checks caught real mistakes&lt;br&gt;
Our first showcase was a spherical rolling robot. The designs looked fine on screen but kept failing the checks once the curved shell had to hold real motors and batteries. We switched to a robot car, and the checks caught that too: version 2 failed on wall thickness, and version 3 passed. That's exactly the point. The AI proposes, and the math decides.&lt;/p&gt;

&lt;p&gt;Real sizes were hard too. Pololu lists the N20 shaft as a "3 mm D shaft" but doesn't give the distance across the flat. We assume 2.5 mm with 0.1 mm clearance on each side, and the notes tell you to print one wheel first and test it.&lt;/p&gt;

&lt;p&gt;What I learned&lt;br&gt;
Writing the spec first made Kiro far more reliable.&lt;br&gt;
Hooks are the cheapest quality gate there is.&lt;br&gt;
For physical things, the AI should propose and the math should decide.&lt;br&gt;
Try it&lt;br&gt;
Watch the 3-minute demo: &lt;a href="https://youtu.be/gfnZd5pQh50" rel="noopener noreferrer"&gt;https://youtu.be/gfnZd5pQh50&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code is open source: &lt;a href="https://github.com/rajeevkumar-05/ShapeIn3D" rel="noopener noreferrer"&gt;https://github.com/rajeevkumar-05/ShapeIn3D&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can open it in GitHub Codespaces with nothing to install, or run setup.bat / ./setup.sh on your own machine.&lt;/p&gt;

&lt;p&gt;Built for Kiroween 2026. #kiro #KiroweenHackathon26&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>kiroween</category>
      <category>3dprinting</category>
      <category>python</category>
    </item>
    <item>
      <title>I turned my phone into a portal to a haunted room (no headset needed) — built with Kiro for Kiroween 2026</title>
      <dc:creator>Rajeev Kumar</dc:creator>
      <pubDate>Fri, 04 Dec 2026 16:46:58 +0000</pubDate>
      <link>https://dev.to/rajeev_kumar_25ffd177c443/i-turned-my-phone-into-a-portal-to-a-haunted-room-no-headset-needed-built-with-kiro-for-26j9</link>
      <guid>https://dev.to/rajeev_kumar_25ffd177c443/i-turned-my-phone-into-a-portal-to-a-haunted-room-no-headset-needed-built-with-kiro-for-26j9</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is written as part of the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Neither of us owns a VR headset. We've talked about buying one for years and never did. So when Kiroween came around, the idea was kind of obvious in hindsight: we already carry a gyroscope, a motion sensor and a camera in our pockets every day. What if the phone itself was the headset?&lt;/p&gt;

&lt;p&gt;That's ThinVeil. You hold up your phone, turn around, and a room that isn't there turns with you.&lt;/p&gt;

&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%2Fwrsjrudjjeg9t3142nw8.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwrsjrudjjeg9t3142nw8.jpg" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can try it right now if you have a phone nearby: &lt;a href="https://atomic-brick.github.io/thin-veil/" rel="noopener noreferrer"&gt;https://atomic-brick.github.io/thin-veil/&lt;/a&gt;&lt;br&gt;
(The demo video is here: &lt;a href="https://youtu.be/Qi8UV3yjd5I" rel="noopener noreferrer"&gt;https://youtu.be/Qi8UV3yjd5I&lt;/a&gt; and the code is here: &lt;a href="https://github.com/atomic-brick/thin-veil" rel="noopener noreferrer"&gt;https://github.com/atomic-brick/thin-veil&lt;/a&gt;)&lt;/p&gt;
&lt;h2&gt;
  
  
  So what is it, exactly?
&lt;/h2&gt;

&lt;p&gt;It's a small browser SDK. No app store, no install, no build step, just a web page. It handles three things for you: looking around with the gyroscope, walking by taking real steps, and grabbing things with your actual hand through the camera.&lt;/p&gt;

&lt;p&gt;The part we're most happy with is how little code an app needs. You describe the room as plain data, and then the game logic is basically this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nf"&gt;on&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'object:accepted'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'lock'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'door'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;on&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'object:opened'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'door'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;endGame&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'win'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;startApp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;scene&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We entered Skeleton Crew, so we had to prove the SDK works for more than one thing. We built two apps that couldn't be more different.&lt;/p&gt;

&lt;p&gt;The first is &lt;strong&gt;The Silent Study&lt;/strong&gt;, a candlelit room where you have five minutes before the candle burns out. There's a woman standing in the corner. She only moves when you're not looking at her. Turn around, turn back, and she's somewhere else. If the candle goes out before you escape, you get a big dripping "YOU DIED". We spent way too long on that font.&lt;/p&gt;

&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%2Fc6qodxhwamz03rrzklks.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc6qodxhwamz03rrzklks.jpg" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The second is &lt;strong&gt;Fire Drill&lt;/strong&gt;, which is the opposite mood: calm fire-safety training. You pick a kitchen grease fire or an electrical fire, walk up to it, and handle it step by step. If you grab the wrong thing it just gives you a hint. Same SDK, nothing changed in the core, completely different experience.&lt;/p&gt;

&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%2Frceazj0ivdgecmjl6knn.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frceazj0ivdgecmjl6knn.jpg" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Building it with Kiro
&lt;/h2&gt;

&lt;p&gt;Honestly, we expected Kiro to just write code faster. The bigger change was in how we planned.&lt;/p&gt;

&lt;p&gt;Before writing anything, Kiro interviewed us. Eighteen questions about rendering, hand tracking, browser support, how strict the security policy should be, how to test sensor code. Some of them we'd never have thought about until it was too late. Our answers turned into steering files that every chat loads, so we never had to re-explain the rules.&lt;/p&gt;

&lt;p&gt;Then every feature got a spec: requirements, design, tasks. Fifteen of them by the end. The requirements read like this one, for the ghost:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;WHILE turnToPlayer is on, it SHALL turn toward the player, along the shorter way round, by at most 30° per second.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It felt slow at first. It stopped feeling slow when we started building five parts of the SDK at the same time in separate Kiro windows and they actually fit together at the end, because the specs had already agreed on how they talk to each other.&lt;/p&gt;

&lt;p&gt;We also set up two hooks: save a file and the tests run, save an HTML or JS file and seven project checks run. That saved us more than once. We finished with 919 tests and the live site never went down.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that went wrong
&lt;/h2&gt;

&lt;p&gt;Plenty.&lt;/p&gt;

&lt;p&gt;Phone sensors are noisy. The gyroscope drifts and step detection loves to count steps that never happened. Camera hand tracking jitters at 15 to 30 frames a second, so we smooth it with a One Euro filter, which smooths a lot when your hand is still and barely at all when it moves fast, so it doesn't feel laggy.&lt;/p&gt;

&lt;p&gt;Getting import maps, WebAssembly and camera access all working under a strict Content-Security-Policy on a static GitHub Pages site took a whole afternoon. Now a check fails the build if the policy hash is ever wrong.&lt;/p&gt;

&lt;p&gt;And some of it was just funny. The first time we opened the escape room, the first thing you saw was a black wall. Our scary ghost had a glow on her chest that made her look like a blue lamp. We blew past our 10 MB asset budget and had to shrink the ghost image. On the very last day we noticed the homepage listed both apps but neither was actually a link. Glad we checked.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we think it matters
&lt;/h2&gt;

&lt;p&gt;Most people will never buy a headset. But they'll tap a link. That's the whole pitch: immersive stuff on hardware everyone already has. The camera never leaves the device, there's a calm mode and captions in every app, and it's just static files, so it costs nothing to host. We built a horror game and a safety trainer, but the same skeleton works for museum tours, house walkthroughs or a classroom.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;We want to scan a real room, like a classroom or a workplace, and use it as the space. And we'd like to publish the SDK as a proper package so anyone can drop it into their site.&lt;/p&gt;

&lt;p&gt;If you try it, stand in the middle of your room and turn around slowly. Then turn back. 👻&lt;/p&gt;

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