Skip to content
All work
06Individual assignment · IT2113 Cloud Computing · Aug 2026Completed

ABC Retail Reviewed & Rebuilt

A storefront prototype generated with Kiro, AWS’s agentic development environment — then reviewed by hand like any other first draft. Manual review found seven defects the generated tests had missed. The verified logic stayed; every component was rebuilt.

  • 7

    Defects found by hand

  • 10

    Components rebuilt

  • 191

    Source files, from 46

  • 44

    Test files, from 21

What it does

  • 📝 Spec-driven generation in Kiro
  • 🔍 Seven defects found by hand
  • ♻️ Pure-logic layer kept as generated
  • 🧱 All ten components rebuilt
  • 🛒 Category & price filters
  • 💱 SGD / MYR currency toggle
  • 🧊 3D product stage on desktop
  • 🔒 Private S3 behind CloudFront

Built with

  • React
  • Vite
  • Tailwind CSS
  • Three.js
  • Kiro
  • Amazon S3
  • CloudFront

The case study

Situation & Task

The Cloud Computing assignment was a migration proposal for ABC Retail, the brief’s case-study company: a Singapore electronics retailer running its website, database and file storage on one ageing server. Part of it was a front-end prototype of the storefront, generated with Kiro and hosted on AWS. Generating the site was the easy half. Reviewing it was the half worth doing well.

Actions Taken

I used Kiro’s spec-driven workflow rather than ad-hoc prompting, so the requirements, design and task list were reviewed before any code existed. Its baseline — 46 source files, ten components, 21 test files — then went through manual review: click-testing, keyboard navigation, profiling, and measuring at small viewports. The pure-logic layer was correct and covered by property-based tests, so it stayed exactly as Kiro wrote it. Every component was rebuilt on its original structure and props.

Results Achieved

Seven defects that no automated check had caught, each fixed — among them an Add to Cart button made unclickable by a stray stacking context, carousel slides hidden from screen readers but still reachable by Tab (a WCAG 4.1.2 failure), a currency toggle that updated state but never re-rendered, and a WebGL menu that kept rendering after it was removed. The project grew to 191 source files and 44 test files, and is served from a private S3 bucket behind CloudFront. Graded A.

Architecture

  1. Kiro spec
  2. Vite build
  3. Private S3 bucket
  4. CloudFront
  5. Visitor

The bucket is never public. Origin Access Control lets only this CloudFront distribution read it, so visitors get HTTPS and edge caching while Block Public Access stays on. Deploying is three steps: build, sync dist/ to the bucket, invalidate the cache.

What I took away

  • A generated test suite checks what the generator thought to check. An Add to Cart button nobody could click passed all of it.
  • Every defect that mattered surfaced under a mouse, a keyboard, a profiler or a narrow viewport — none under the test runner.
  • Reviewing well includes deciding what to leave alone: the filtering and price formatting a visitor uses today are still Kiro’s code, because they were right.