Shopify

Shopify

Hydrogen, Polaris, and the CLI — the dev platform behind millions of stores

Pick a date

The Wire · Showcase

SHOPIFY CLI CLEANS UP AGENT RULES, HYDROGEN ADDS ENV PUSH AUTOMATION

By RepoJournal · Filed · About Shopify

Shopify's CLI team consolidated AI agent instructions into a single source of truth while removing generated doc noise from git, and Hydrogen now lets environment pushes run unattended.

The CLI desk is tightening its foundation for AI-assisted development. They've consolidated duplicate agent guidelines from .cursor/rules and AGENTS.md into a single standard file [1], eliminating the maintenance burden of keeping coding guidance in sync across multiple locations. This matters because Cursor adoption has dropped, so maintaining separate rule files became redundant overhead. Meanwhile, they're also cleaning up git tracking to stop committing the regenerated interface files that `pnpm build-dev-docs` produces [2], keeping only the final `generated_docs_data_v2.json`. Over on the Hydrogen side, `shopify hydrogen env push` now accepts a `--force` flag to bypass the diff confirmation prompt [3], unblocking agent-driven environment variable deployments. They also added `--dry-run` for previewing changes without committing them, giving developers safer preview options when agents can't interact with confirmation dialogs.

Action items

References

  1. [1] Consolidate agent instructions into AGENTS.md ↗ Shopify/cli
  2. [2] Stop tracking generated docs interfaces ↗ Shopify/cli
  3. [3] Add env push force confirmation flag ↗ Shopify/hydrogen

FAQ

What changed in Shopify on July 9, 2026?
Shopify's CLI team consolidated AI agent instructions into a single source of truth while removing generated doc noise from git, and Hydrogen now lets environment pushes run unattended.
What should Shopify teams do about it?
Review AGENTS.md as your new single source of truth for AI assistant guidance across CLI projects • Update any local Cursor rules or agent configs to reference the consolidated AGENTS.md instead of deprecated .cursor/rules files • Test `shopify hydrogen env push --force` in your automation pipelines if you're running environment syncs
Which Shopify repositories shipped on July 9, 2026?
Shopify/cli, Shopify/hydrogen

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.