ai newsMi., 25. Nov.
EilmeldungYale’s Sonnenfeld: Nvidia is a ‘detriment’ to U.S. industrial might — not a champion

I wanted a shortcut deck for my Mac, so I had AI build one

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

dev.toDienstag 00:40 · 24.11.5 Min. Lesezeit
Bild: dev.to

Posted on Nov 23 • Originally published at Medium • AI-assisted

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.

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 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 working dynamic settled quickly into four clear 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.

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.

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.

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.

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:

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.

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

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:

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.

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.

Quelle: dev.to (dev.to). Original öffnen