<?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: YoungLee</title>
    <description>The latest articles on DEV Community by YoungLee (@youngleecoder).</description>
    <link>https://dev.to/youngleecoder</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%2F3639046%2F2b2eeccd-1654-4758-ab7a-b23d7510b3b4.jpeg</url>
      <title>DEV Community: YoungLee</title>
      <link>https://dev.to/youngleecoder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/youngleecoder"/>
    <language>en</language>
    <item>
      <title>Reflections on Developing GoodBot with Kiro</title>
      <dc:creator>YoungLee</dc:creator>
      <pubDate>Mon, 01 Dec 2025 12:02:52 +0000</pubDate>
      <link>https://dev.to/youngleecoder/reflections-on-developing-goodbot-with-kiro-2f8h</link>
      <guid>https://dev.to/youngleecoder/reflections-on-developing-goodbot-with-kiro-2f8h</guid>
      <description>&lt;h2&gt;
  
  
  Preface
&lt;/h2&gt;

&lt;p&gt;Completing a full Telegram Bot management system in 48 hours was once unimaginable. But with Kiro, I made it happen. This article documents my real experience and thoughts using Kiro to develop the GoodBot project.&lt;/p&gt;

&lt;h2&gt;
  
  
  From Zero to One: How Kiro Changed My Development Process
&lt;/h2&gt;

&lt;h3&gt;
  
  
  No More "Writing Code"—It's "Conversational Development"
&lt;/h3&gt;

&lt;p&gt;Traditional development flow: Clarify → Check docs → Write code → Debug → Repeat.&lt;/p&gt;

&lt;p&gt;With Kiro, it became: Describe requirements → Kiro generates → Fine-tune → Done.&lt;/p&gt;

&lt;p&gt;This isn’t laziness—it shifts focus from “how to write” to “what to write.” I can now concentrate on product logic and user experience instead of getting bogged down by syntax details and API call methods.&lt;/p&gt;

&lt;h3&gt;
  
  
  A Real Example: Message Forwarding System
&lt;/h3&gt;

&lt;p&gt;The core feature of GoodBot is bidirectional message forwarding—users send messages to the bot, which forwards them to admins; when admins reply, the response is automatically routed back to the original user.&lt;/p&gt;

&lt;p&gt;This involves:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Webhook handling using the grammY framework&lt;/li&gt;
&lt;li&gt;Database transactions and message ID mapping&lt;/li&gt;
&lt;li&gt;Reply thread tracking&lt;/li&gt;
&lt;li&gt;Error handling and edge cases&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I simply described the business needs, and Kiro generated a complete implementation—including the design of the &lt;code&gt;messageMaps&lt;/code&gt; table. It worked right away upon first run, requiring only minor adjustments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steering: Making AI Truly Understand Your Project
&lt;/h2&gt;

&lt;p&gt;Kiro’s Steering feature is one of the most valuable aspects I’ve found.&lt;/p&gt;

&lt;h3&gt;
  
  
  My Steering Configuration
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.kiro/steering/
├── Rules.md      # Basic rules: use Chinese
├── tech.md       # Tech stack: Next.js 16, pnpm, Drizzle
├── structure.md  # Project structure and coding conventions
└── product.md    # Product background and business logic
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Before vs After Steering
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Without Steering:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Kiro might use npm instead of pnpm&lt;/li&gt;
&lt;li&gt;Generate English comments and UI text&lt;/li&gt;
&lt;li&gt;Place files in non-conforming locations&lt;/li&gt;
&lt;li&gt;Require repeated corrections&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;With Steering:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Always uses pnpm&lt;/li&gt;
&lt;li&gt;Outputs in Chinese&lt;/li&gt;
&lt;li&gt;Follows project structure&lt;/li&gt;
&lt;li&gt;Gets it right the first time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I estimate that Steering reduced over 70% of “not like this, should be like that” correction conversations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Spec-Driven vs Vibe Coding: Finding the Balance
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Charm of Vibe Coding
&lt;/h3&gt;

&lt;p&gt;For simple tasks, direct conversation with Kiro suffices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Help me add a loading state"&lt;/li&gt;
&lt;li&gt;"Change this button to blue"&lt;/li&gt;
&lt;li&gt;"Fix this TypeScript error"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fast, direct, efficient.&lt;/p&gt;

&lt;h3&gt;
  
  
  Value of Spec-Driven Development
&lt;/h3&gt;

&lt;p&gt;But for complex features like a lottery system, I chose Spec-driven:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;: Define acceptance criteria&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Admins can create lotteries&lt;/li&gt;
&lt;li&gt;Users participate by sending keywords&lt;/li&gt;
&lt;li&gt;Automatic draw at scheduled time&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Design&lt;/strong&gt;: Technical solutions&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Database schema design&lt;/li&gt;
&lt;li&gt;Fisher-Yates shuffling algorithm&lt;/li&gt;
&lt;li&gt;Scheduled task solution in serverless environment&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Tasks&lt;/strong&gt;: Breakdown and execution&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create lotteries table&lt;/li&gt;
&lt;li&gt;Implement lottery creation API&lt;/li&gt;
&lt;li&gt;Implement participation logic&lt;/li&gt;
&lt;li&gt;Implement drawing logic&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  My Strategy
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scenario&lt;/th&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;UI adjustments, bug fixes&lt;/td&gt;
&lt;td&gt;Vibe Coding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;New simple features&lt;/td&gt;
&lt;td&gt;Vibe Coding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Core business logic&lt;/td&gt;
&lt;td&gt;Spec-Driven&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database design&lt;/td&gt;
&lt;td&gt;Spec-Driven&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multi-file refactoring&lt;/td&gt;
&lt;td&gt;Spec-Driven&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Pitfalls Encountered and Solutions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Scheduled Tasks in Serverless Environment
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Vercel’s serverless functions are stateless—the &lt;code&gt;setTimeout&lt;/code&gt; will lose its context after cold start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kiro’s Suggestion:&lt;/strong&gt; Adopt a hybrid approach:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Primary: External Cron service polling every minute&lt;/li&gt;
&lt;li&gt;Backup: In-memory timer (active sessions)&lt;/li&gt;
&lt;li&gt;Fallback: Check during each bot interaction&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This solution would have taken me hours to figure out myself—Kiro immediately provided a mature strategy.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. BigInt Serialization
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Telegram IDs are 64-bit integers, but JSON doesn't support BigInt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kiro’s Solution:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Database storage&lt;/span&gt;
&lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;bigint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;id&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;mode&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;number&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt;

&lt;span class="c1"&gt;// API response serialization&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;serialized&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toString&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;h3&gt;
  
  
  3. React 19 New Patterns
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; ESLint reports &lt;code&gt;useEffect&lt;/code&gt; as anti-pattern.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kiro’s Help:&lt;/strong&gt; Identified the issue and refactored code according to React 19 best practices.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data Speaks
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;Traditional Way&lt;/th&gt;
&lt;th&gt;With Kiro&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Project setup&lt;/td&gt;
&lt;td&gt;4–6 hours&lt;/td&gt;
&lt;td&gt;30 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CRUD APIs&lt;/td&gt;
&lt;td&gt;Each 2–3 hours&lt;/td&gt;
&lt;td&gt;Each 15–20 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bug fixes&lt;/td&gt;
&lt;td&gt;Uncertain&lt;/td&gt;
&lt;td&gt;Minutes-level (with context)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Code review&lt;/td&gt;
&lt;td&gt;Manual&lt;/td&gt;
&lt;td&gt;Auto suggestions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Documentation&lt;/td&gt;
&lt;td&gt;Often skipped&lt;/td&gt;
&lt;td&gt;Generated alongside code&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The entire project has 5,000+ lines of code, 12 API endpoints, 6 database tables, 20+ UI components, completed in 48 hours.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deepest Insight
&lt;/h2&gt;

&lt;h3&gt;
  
  
  AI Is Not Replacement—It’s Amplification
&lt;/h3&gt;

&lt;p&gt;Kiro won’t replace developer thinking—but it amplifies my capabilities. I still need to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understand business requirements&lt;/li&gt;
&lt;li&gt;Make architectural decisions&lt;/li&gt;
&lt;li&gt;Review generated code&lt;/li&gt;
&lt;li&gt;Handle edge cases&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But I no longer need to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Remember parameter order for every API&lt;/li&gt;
&lt;li&gt;Write boilerplate code manually&lt;/li&gt;
&lt;li&gt;Set up project structure from scratch&lt;/li&gt;
&lt;li&gt;Search Stack Overflow for common issues&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conversation Quality Determines Output Quality
&lt;/h3&gt;

&lt;p&gt;The clearer and more specific your conversation with Kiro, the better the output.&lt;/p&gt;

&lt;p&gt;❌ "Help me build a chat feature"&lt;br&gt;
✅ "Implement a chat list component showing all user conversations sorted by last message time, click to enter detailed conversation"&lt;/p&gt;

&lt;h3&gt;
  
  
  Iteration Matters More Than Perfection
&lt;/h3&gt;

&lt;p&gt;Don’t expect Kiro to generate perfect code in one go. Better approach:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Generate initial version&lt;/li&gt;
&lt;li&gt;Test and find issues&lt;/li&gt;
&lt;li&gt;Describe problems for Kiro to fix&lt;/li&gt;
&lt;li&gt;Repeat until satisfied&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This mirrors how human developers collaborate effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;These 48 hours developing GoodBot with Kiro were the most productive period of my programming career.&lt;/p&gt;

&lt;p&gt;It made me rethink what “development” really means—not typing speed, but the ability to turn ideas into reality.&lt;/p&gt;

&lt;p&gt;If you haven’t tried Kiro yet, strongly recommend giving it a shot—not because it writes code, but because it lets you focus on what truly matters: creating value.&lt;/p&gt;




</description>
      <category>automation</category>
      <category>ai</category>
      <category>productivity</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
