Zero Labs
Industry News / Technology

What Took a Senior Dev 5 Weeks Took Me 3 Hours by Using Claude Code

Source · Towards AI By Dmitry Stremous

From the publisher’s feed, collected in the ZeroLabs newsroom.

Every developer has that project sitting in the corner — the one you know needs love, but never quite makes it to the top of the priority list. For me, it was our 360° image viewer library. Here’s how Claude Code helped me finally tackle it.The Guilt of the Neglected LibraryYou know the feeling. You’ve built something useful, people are actually using it, and you keep meaning to modernize it. But then real work happens. Deadlines. Features that actually make money. That library update keeps getting pushed to “next sprint” — for six months straight.Our cloudimage-360 library was exactly that project. It worked fine, but it was showing its age. No React support in 2026? Still requiring manual CSS imports? No mobile pinch-to-zoom? Every GitHub issue reminded me of what needed to be done.The problem wasn’t knowing what to do. It was the overhead of actually doing it. Updating a library isn’t glamorous work — it’s documentation, accessibility fixes, build configuration tweaks, and a hundred small decisions that add up.The Delegation ProblemHere’s the thing about delegating this kind of work: it’s almost harder than doing it yourself.To hand this off to another developer, I’d need to:Write extensive documentation about how the library worksExplain our coding style and conventionsReview every change carefully since they lack contextAnswer endless questions about “why is this done this way?”The onboarding cost was so high that I kept thinking “I’ll just do it myself… eventually.”Enter Claude CodeI’d been hearing about AI coding assistants, but I was skeptical. Could it really understand an existing codebase well enough to make meaningful contributions? Wouldn’t I spend more time correcting mistakes than I’d save?I decided to try Claude Code on this neglected library. My approach was simple: give it tasks during spare moments throughout my day, review what it did, and iterate. No big commitment — just chip away at it.What happened over the next two days surprised me.Two Days, 41 CommitsLet me break down what we actually accomplished:Day 1: The FoundationI started with documentation — usually my least favorite task.“Polish the README and make it more readable.”Claude restructured the entire document, added a clear table of contents, improved the examples, and even identified inconsistencies I’d missed. It then suggested adding a migration guide for users moving from v3 to v4, and wrote the whole thing.Then came the feature requests I’d been ignoring:“Add pinch-to-zoom for mobile devices.”This wasn’t a trivial task. It required handling multi-touch events, calculating zoom levels from finger distance, and integrating smoothly with existing mouse zoom. Claude wrote it, I tested it on my phone, suggested a tweak to the sensitivity — done.“Add inertia so the rotation continues smoothly after you release.”Same story. Clear implementation, physics that felt natural, properly cleaned up event listeners.Day 2: The PolishThis is where it got interesting. I started asking for things I’d never have prioritized myself:“Add accessibility features — ARIA labels, keyboard navigation, screen reader support.”Claude added a complete accessibility layer: aria-live regions for announcements, focus indicators for keyboard users, proper ARIA labels on all controls. Things I knew I should do but never would have gotten to.“The hotspots feature accepts HTML content. Make sure it’s secure against XSS attacks.”It wrote a complete HTML sanitizer — whitelisted tags, attribute filtering, even SVG support for icons. Security hardening I definitely wouldn’t have done on my own initiative.Then came the big one:“Create a React wrapper with TypeScript support.”This was substantial work: a full React component with props, a custom hook for programmatic control, TypeScript type definitions, and a demo application. Claude set up the entire build pipeline to output both the vanilla JS and React versions.The Hotspot Detective WorkOne of the more surprising moments was when I asked Claude to improve the hotspot demo.“Add some realistic hotspots to the demo with proper modals.”What I expected: generic placeholder content like “Feature 1” and “Click here for more info.”What happened: Claude actually analyzed the car images, identified it as a Gurkha SUV, and researched real specifications for the vehicle.The Process:Image Analysis — Claude examined the 360° image sequence to identify the vehicleFeature Detection — Located specific car features: LED headlights, all-terrain wheels, roof rackCoordinate Mapping — Tracked each feature’s position across frames as the car rotates (the wheel hotspot follows frames 63–73 as it moves across the viewport)Real Specs — Pulled actual specifications: 18" alloy wheels, 3000 lumen LED headlights, 150kg roof rack capacityEach modal was styled differently to showcase what’s possible — link buttons, specification grids, image galleries with “Add to Cart” actions.This is exactly the kind of detail work that makes demos look polished but never gets prioritized.The Final TallyAfter two days of on-and-off collaboration:41 commits merged73 files changed7,105 lines addedLibrary version: v3 → v4.1.3Here’s what the library gained:New Features:React wrapper with TypeScript and custom hooksPinch-to-zoom for mobileInertia/momentum on drag releaseCSS variables for themingHints overlayHotspot timeline navigationEvent callbacks for all interactionsQuality Improvements:Full accessibility complianceXSS protectionMemory leak fixesComprehensive unit testsConfig validation with helpful warningsDeveloper Experience:Live CodeSandbox examplesEmbedded CSS (no separate import needed)Complete migration guideContributing guidelinesWhat Made This WorkLooking back, a few things made this collaboration effective:1. Incremental tasksI didn’t try to do everything at once. “Add pinch-to-zoom” is a clear, testable task. “Modernize the library” is not. Small, focused requests got better results.2. Review and iterateClaude’s first attempt wasn’t always perfect. But the feedback loop was fast — “the zoom feels too sensitive” or “can we also support SVG in the sanitizer?” got immediate improvements.3. Context came freeThis is the big one. Claude could read the existing code and understand the patterns. When I asked for a React wrapper, it matched our existing API design. When I asked for accessibility, it integrated with our existing controls. No onboarding required.4. It handled the tedious partsSecurity auditing, accessibility compliance, documentation, test writing — the important-but-boring work that always gets deprioritized. Having a collaborator that doesn’t mind this stuff was genuinely useful.What I LearnedI went into this skeptical about AI coding tools. I came out with a different perspective.Claude Code isn’t replacing developers. It’s more like having a very capable collaborator who never gets tired of the boring parts and doesn’t need to be onboarded on your codebase.The “delegation problem” I mentioned earlier? It largely disappears when your collaborator can read and understand existing code. Instead of writing documentation to explain my library, I just said “add a React wrapper” and it figured out what that meant in the context of my specific codebase.For that project you’ve been putting off — the one that’s important but never urgent — this might be worth trying. Give it small tasks during spare moments. Review what it does. Iterate.You might be surprised how much you can accomplish.Stats SummaryTime estimates for manual work include: React wrapper with TypeScript (~3 days), pinch-to-zoom and inertia (~1.5 days), accessibility compliance (~2 days), XSS sanitization (~1 day), unit tests (~1 day), documentation and migration guide (~1.5 days), build configuration (~0.5 day), plus integration and debugging. Delegation estimate adds task specification writing, multiple code review rounds, and back-and-forth communication overhead.Bonus: Cleaning Up 23 GitHub Issues in One SessionAfter the main development work, I had another task I’d been avoiding: our GitHub issues backlog. 43 open issues had accumulated over the years — bug reports, feature requests, questions. Some were probably already fixed. Some were outdated. But who has time to go through all of them?I asked Claude Code to help:“Check our GitHub issues. See what we’ve actually fixed.”What followed was a methodical review of every open issue. Claude cross-referenced each one against recent commits, searched the codebase for relevant features, and identified which issues had been silently resolved by our updates.The Results23 issues closed in a single session. Each closed issue got a helpful comment explaining what was fixed and how to use the new feature. Users subscribed to these issues got notified with clear documentation.Why This MattersIssue backlogs are demoralizing. They signal to users that the project might be abandoned. They make contributors hesitant to report new issues.Going through 43 issues manually would have taken hours — reading each one, checking the codebase, writing thoughtful responses. With Claude Code, I reviewed the results it found, approved the closures, and watched it write appropriate comments for each.20 issues remain open — these are genuine bugs needing investigation or feature requests we haven’t implemented yet. But that’s a manageable backlog, not an overwhelming one.The library now has a clean issue tracker that accurately reflects its current state. Users can see what’s actually outstanding, and we have a clear roadmap of what to work on next.The Mobile Safari Nightmare (And How We Fixed It)Just when I thought the library was in great shape, we discovered a critical problem: the demo page was crashing on mobile Safari. Not just slow — completely crashing the browser tab.This kicked off an intensive debugging session that revealed just how different mobile browsers are from desktop, and how assumptions that work fine on desktop can be catastrophic on mobile.The InvestigationThe symptoms were clear: load the demo page on an iPhone, scroll around, and within 30 seconds the tab would crash. Sometimes it would take the whole browser down with it.I asked Claude to help investigate:“The demo page crashes on mobile Safari. Can you help figure out why?”What followed was a systematic memory investigation:Memory profiling revealed the page was consuming 800MB+ of GPU memoryOffscreenCanvas (our performance optimization) was actually the culprit on SafariTouch events were firing at 100fps, creating memory pressure from event closuresMultiple viewers on the demo page were all loading simultaneouslyThe Root CausesMobile Safari has strict memory limits (~1.4GB total for a tab), and we were hitting them from multiple angles:Issue Desktop Mobile Impact OffscreenCanvas + Web Worker Fast, efficient Memory leak on Safari 6 concurrent image loads Fine Memory spikes 100fps touch events Fine Event closure buildup High DPI (3x on iPhone) Fine 9x memory per canvas 233 images in one viewer Fine ~1GB GPU memoryThe ResultsAfter all fixes:Demo page loads successfully on iPhone SafariMemory stays under 400MB even with multiple viewersScrolling remains smoothBackground tabs don’t crashUsers don’t need to do anything special for mobileFinal Push: Closing the Remaining IssuesAfter the mobile fixes, we did one more cleanup pass on the GitHub issues. With all the improvements from v4.x, many more issues had been silently resolved.Final Issue StatsThe remaining 11 issues are legitimate feature requests (Angular integration, React Native, etc.) that require actual new development — not bugs or already-fixed items.Final Results & Time ComparisonWhat We AccomplishedDelegation estimate includes: writing detailed task specs, multiple code review rounds, back-and-forth communication, context-building meetings, and rework from misunderstandings.The Real ValueThe time savings are significant, but the real value was in what actually got done:Boring but important work — Accessibility, security, documentation. Things that always get deprioritized but make a real difference.Deep debugging — The mobile Safari investigation would have been painful solo. Having a collaborator systematically work through memory issues was invaluable.Consistency — 53 commits over 3 days, all following the same patterns and conventions. No “Friday afternoon code.”Issue cleanup — 32 issues closed with thoughtful responses. Users got notified, documentation was referenced. Not just closed — properly resolved.The library went from “works but neglected” to “actively maintained, modern, accessible, and documented.” That’s a transformation that typically doesn’t happen without dedicated sprint time — which never comes for internal tools and side projects.What Took a Senior Dev 5 Weeks Took Me 3 Hours by Using Claude Code was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.