docs: Add AI coding assistant configuration files #41
+338
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
CLAUDE.mdfor Claude Code integrationAGENTS.mdfor general AI coding assistants (Cursor, GitHub Copilot, etc.)What these files provide
Both files give AI assistants project-specific context:
shopify theme check,npm run build:schemas,shopify theme devcontent_for 'blocks'rule, snippet documentationWhy two files?
CLAUDE.md— Recognized by Claude Code CLI, Anthropic's official coding assistantAGENTS.md— Generic convention recognized by multiple AI coding tools (Cursor, Windsurf, etc.)Both files have identical content to ensure consistent behavior across different AI tools.
Benefits for contributors
No impact on theme publishing
These root-level markdown files are excluded from theme packages:
shopify theme packageonly includes standard theme directories:assets/,blocks/,config/,layout/,locales/,sections/,snippets/,templates/References
Test plan
shopify theme checkpasses with no new errorsshopify theme packagegenerates ZIP without these.mdfiles