A developer recently shipped ngx-command-palette, a ⌘K/Ctrl+K command palette for Angular, without writing a single line of production code. Instead, the developer used Claude Code to generate the library, moving from version 0.1.0 to 1.0.0 in just four days. The final product has zero runtime dependencies besides Angular, passes axe-core with zero violations in both light and dark themes, and works for keyboard and screen reader users by default. But the story isn't about AI magicβ€”it's about the rigorous rule-setting and verification pipeline that made AI-generated code actually shippable.

Rules Beat Prompts

The developer's core insight is that checkable rules matter more than clever prompts. Requirements like "no dependencies besides Angular," "Signals and standalone only," and "SSR-safe" were defined upfront because they could be verified mechanically. "No dependencies" is a line in package.json. "Accessible" is an axe-core run in CI. "Make it good" is not checkable, so the developer avoided relying on subjective quality metrics. This approach transforms AI from a code generator into a constrained executor that either meets the spec or fails visibly.

Where The Agent Shined

Claude Code handled the tedious parts surprisingly well. It designed an API using modern Angular patterns like injectCommands() with DestroyRef for automatic cleanup. The "no RxJS" rule led to a clever workaround: async providers return Promises or objects with a subscribe method, allowing HttpClient to work without importing RxJS, with stale requests cancelled via AbortSignal. The agent also implemented accessibility features the developer admits would have been skipped in a manual build: WAI-ARIA combobox patterns, focus traps, live regions, and Windows high contrast mode support.

Human Judgment Still Required

The developer caught real problems that "it works" didn't reveal. Early versions were sluggish beyond 2,000 commandsβ€”a limit nobody notices in a demo but breaks real apps. After measuring and fixing, fuzzy search became 9x faster, validated against 400,000 test cases. A pre-release review also found missing license headers and non-English test labels, proving agents follow rules most but not all of the time. When the agent narrowed Angular support to version 22 only, the developer caught it: CI had been testing version 21 successfully, so support was restored before release.

Key Takeaways

  • Write checkable rules before the first prompt; vague quality metrics don't scale with AI agents.
  • Measure performance and accessibility in CI, not in demos; sluggishness at 2,000+ items is invisible in typical use.
  • Keep irreversible steps human: npm publishing requires manual approval even when the agent prepares everything else.
  • Be honest about who wrote what; claiming "I built it" when AI did the typing is misleading.

The Bottom Line

This is the most honest AI-assisted dev story I've read in a while. The developer didn't pretend AI solved everything, and didn't pretend it solved nothing. The real lesson: AI writes code fast, but only humans can define what "done" means. ngx-command-palette is MIT licensed, works with Angular 21 and 22, and is available via npm install @rrstudioapps/ngx-command-palette. The live demo at rrstudio.app/command-palette is worth a look if you're building Angular apps that need keyboard-first navigation.