Sidekey in landscape with the Zoom layout

Keyboards are fundamentally static. The exact same physical keys sit in the exact same arrangement whether you are compiling in Xcode, managing a chaotic Zoom call, or formatting a document in Word. Meanwhile, every application hides its most valuable features behind obscure keyboard shortcuts you have to memorize or hunt down in menus.

I wanted a dynamic keyboard that adapted to whatever task was in front of me: keys that automatically morphed to fit the active application, labeled in plain language. And like many Mac users, I already had the ideal screen for it sitting right next to my keyboard: an iPad and iPhone.

So I built Sidekey.

Prop an iPad or iPhone beside your keyboard, and it automatically reflects whatever Mac app has focus: Run and Build in Xcode, Mute and Share Screen in Zoom, Clear and Split Pane in Terminal. When you switch Mac apps, the keys switch with you. Tap a key, and the Mac sends the shortcut.

Here is the entire experience in under a minute: Watch the demo on YouTube.

The app solves a genuine daily problem for me. But the far more interesting story is how it got built.

The numbers behind a 5-day build

  • October 7, early evening: The first commit lands a working prototype: 3,248 lines of Swift.
  • October 7, evening: Sidekey for Mac 1.0.0, signed and notarized by Apple, is published to GitHub. By midnight, three releases have landed, adding pairing and default layouts for popular apps.
  • October 8: Mac 1.3.0 ships with full Citrix remote desktop support.
  • October 11: Mac 1.4.0 ships with a visual layout editor, including keys that run your own Apple Shortcuts.
  • October 31: Apple approves the iPhone and iPad companion app. It goes live on the App Store on November 2.

The core engineering spanned just five days (October 7 to 11), followed by polish and launch updates. By launch, the repository had 105 git commits, and all 99 non-merge commits carry a Co-Authored-By: Claude git trailer. Claude Code wrote virtually all the application code, the test suites, the documentation, and the App Store copy.

Of the ~10,000 lines of Swift, roughly 2,000 lines are automated tests, and 3,500 lines define the built-in layouts for 30 applications.

Here is the crucial context: I don't write code for a living anymore. I used to be a software engineer, but I had never built a modern SwiftUI application, never wired up macOS Accessibility keystroke posting, and never written Bonjour networking between devices.

What I brought was system architecture, testing discipline, and product judgment. That turned out to be the exact division of labor this paradigm demands.

The division of labor: Who did what

The working dynamic settled quickly into four clear boundaries:

1. I owned the scope and product boundaries

AI is exceptional at generating plausible implementations for whatever prompt you give it. What it cannot do is tell you whether that feature actually belongs in your product. Every decision about what to build, and more importantly what not to build, stayed with me.

2. I tested on physical hardware across the desk

Simulators are fine for layout alignment, but they tell you nothing about physical ergonomics. They cannot tell you whether a button size feels right under your thumb while typing on a mechanical keyboard, or whether the visual feedback feels instant from three feet away. Real hardware testing guided the design, though not every key in every app has been tried yet.

3. The AI worked from written specs, not vague chat prompts

The complex features started as written specs, not chat. Before writing code for modules such as Citrix keystroke mapping or the in-app layout editor, we wrote detailed markdown specifications in the repository's plans/ folder.

We defined:

  • Exact data models and serialization formats.
  • Edge cases and failure modes (e.g., the frontmost app switching mid-tap).
  • Characterization tests first: Before refactoring existing Swift code, the AI wrote characterization tests that locked down current behavior, so the refactor could not silently change it.

4. A clean-context second AI acted as an adversarial auditor

AI agents that write code or marketing copy suffer from conversational momentum: once they make an assumption, they double down on it.

To counteract this, anything public-facing (release notes, documentation, App Store metadata, and this article) was handed to a fresh AI agent that had not written it. Its job was to check every factual claim against the source files, quoting the supporting line or saying NOT FOUND, and to flag contradictions, stale references, and wrong dates.

On these two launch articles alone, that review caught a wrong commit count, a feedback color the app does not use, and Citrix mode names that do not exist, all of which the drafting agent had happily written.

The day I shipped a critical security flaw

Moving fast with AI has a sharp edge. The first public Mac release, v1.0.0, went live just before 8:00 PM on October 7.

It contained a severe vulnerability: the Mac's network listener accepted and ran shell commands, AppleScripts, and keystrokes from any device that could reach the Mac over a network (Wi-Fi, Ethernet, or VPN), with no pairing or authentication. Any such machine could have run commands under the user's account.

The release was pulled 75 minutes later, and v1.1.0 shipped with mandatory 6-digit PIN pairing within two hours.

More importantly, it prompted an immediate architectural overhaul:

  • v1.0.0 (Flawed): Smart client, dumb host. The iPad sent the actions to run over the wire.
  • v1.1.0+ (Hardened): Dumb client, smart host. The iPad or iPhone sends only which key it tapped on which layout. The Mac looks that key up in its own copy of the layout, and refuses the tap if that layout is no longer in front. No command or script ever travels over the network.

That is not the end of the story. The traffic is not encrypted yet, so someone who can tamper with your network could still press keys that already exist in your layouts, for example to open Terminal or lock the Mac. Encryption is planned, and the README says so plainly.

The lesson here is vital: AI doesn't write insecure code by default, but it optimizes for the easiest path to the prompt's goal. If you don't explicitly specify security boundaries, the AI won't invent them for you. AI multiplies your speed, but you remain 100% accountable for what you ship.

What AI still cannot shortcut

While code generation took hours instead of weeks, the non-code bottlenecks remained entirely unchanged:

  • App Store review: Navigating Apple's TestFlight builds, metadata requirements, and review guidelines took about three weeks.
  • Curating the human experience: Deciding which 15 keys deserve real estate across 30 different applications requires deep empathy for user workflows.
  • Platform sandboxing: The Mac companion is distributed outside the Mac App Store (signed and notarized directly) because it posts keyboard shortcuts to other apps and runs AppleScript and shell actions, which the App Sandbox does not allow.

Software for an audience of one

For most of my career, building an app like Sidekey was an irrational investment. Designing a dynamic desktop companion, writing a macOS menu bar app, creating an iPad and iPhone client, building 30 app layouts, and polishing an installer would have consumed months of full-time engineering. So like everyone else, I settled for memorizing shortcuts and hunting through menus.

That economic equation has permanently inverted.

When the marginal cost of building robust, well-tested native software drops from months to days, you can build software tailored precisely for an audience of one:

  • The internal utility your team has wished existed for three years.
  • The workflow bridge between two SaaS tools that neither vendor cares to build.
  • The bespoke desktop companion that matches how your brain naturally works.

And if it turns out to be useful to someone else, you can release it to the world for free.

Software craftsmanship hasn't disappeared. Architectural judgment, testing discipline, and high taste matter more than ever. AI didn't replace the craft. It automated the friction.

Try it or inspect the code

Sidekey is free, open source, and collects zero data:

Have you built custom tools for yourself using AI? What workflows are you automating? Share your experience in the comments below.