Claude Code tutorials · Part 06

Case study: shipping “AI reports support custom HTML 3D components” in one day

A full walkthrough of a real feature, from request to release. Focus on what the person did and what Claude Code did at each stage.

Requirement

The “AI-generated reports” feature was modeled on another big-screen dashboard product of ours, which supports custom HTML components. These are used for advanced components such as 3D building floors and 3D globes that the built-in charts can’t do.

Tech background: Java back end and Vue front end. The AI plans, pulls data and generates the reports.

Stage 1: research and plan (about 20 minutes)

Done by Claude Code:

Done by the person: answered two questions. The 3D library may be loaded from a CDN; the AI only generates a component when the requirement names it or the built-in charts can’t do the job.

Stage 2: development (about 2 hours)

Partway through there was one plan change. The original plan was to make HTML a new chart type. Research showed that chart types are validated in dozens of places, so the plan switched to a “render overlay”, and the reason was explained proactively.

Stage 3: iterating on user feedback

User feedback Action
“I added it by hand, why can’t I see it?” The entry point was only in the card toolbar; the “Add component” dialog was missed → added the 5th component type
“Only one?” “Make a more advanced one.” The samples were too small and cramped on the big screen → rebuilt two advanced samples, using explicit layouts so the 3D component fills most of the screen
“Reference the 3D building in the original big-screen product.” Took the original component source from the reference product’s live sample. It turned out the original was pure CSS 3D, so it was ported directly, with no external library dependency, and it works on the intranet
“Something’s off with the styling, right?” + screenshot Traced it to buttons using the 28px icon-button style and the overlay color pulling the wrong variable; fixed both one by one

A screenshot is the most efficient kind of feedback: one screenshot is far more precise than a paragraph of description.

Stage 4: review and testing

Stage 5: standards and release

Review: which practices paid off most

  1. Plan before code: the two key decisions were settled before work began, so nothing had to be torn down and redone later.
  2. Find the original implementation before building: porting the reference big-screen component gave much better results, and was much faster, than designing it from scratch.
  3. Independent review: looking at your own code from a viewpoint that doesn’t know the design reasoning catches many problems.
  4. Evidence first: every stage had a build, a test or a screenshot, so what users see is already verified.
  5. Turn standards into a Skill: at the end, a single command checks the changes against the team standards.

What could have gone better