← The Store

Command Registry

One declarative list of every destination and action on the site.

60commands

What it is

A single source of truth for the site’s stable destinations and actions, role-gated and grouped. The nav, footer sitemap, omnibar and concierge all read it — so they never re-derive their own lists.

Where it lives

  • src/lib/site/commands.mjs
  • src/lib/command-registry/registry.mjs

See it in action

Architecture map

FAQ

What reads the command registry?

The top nav, the footer sitemap, a Cmd-K omnibar and the concierge — all from one declarative list, so they stay in sync.

Want a system like this built for you?Work with me →