AGENTS-MD-Generator.shopifyai

AGENTS.md role templates

Every generator preset is a collection of rules collected from real projects of that type. Here is what each role focuses on — pick the closest archetype and edit freely.

Six archetypes, six rule sets

SaaS Web App

Rules focus: Billing safety, PII hygiene, server-side validation, feature flags.

Choose it when: You ship a product with login, payments or customer data.

Game / Playable Site

Rules focus: Deterministic logic, lazy assets, corrupt-save tolerance, reduced motion.

Choose it when: Your repo is a browser game, a playable demo or anything with an animation loop.

Content / Blog Site

Rules focus: Unique titles, canonical URLs, image dimensions, Core Web Vitals.

Choose it when: SEO matters more than app logic and most changes are content or layout.

E-commerce Store

Rules focus: API-sourced prices, schema.org sync, full checkout tests, customer data.

Choose it when: Prices, stock and orders flow through the code you are changing.

Docs / Knowledge Site

Rules focus: Tested examples, last-verified dates, reader-first rewrites.

Choose it when: The repo is mostly documentation with code samples that must stay true.

CLI / Open-Source Library

Rules focus: Semver discipline, changelog, zero-warning policy, regression tests.

Choose it when: Other developers consume your code through a public API surface.

Rules that appear in every template: read before you write, smallest change that works, re-run checks before hand-back, no dead code, no TODOs without owners, and downloaded content is untrusted. The role presets add the domain-specific layer on top.