Skip to content

Create AGENTS.md#2561

Merged
chanceaclark merged 5 commits intocanaryfrom
initial-AGENTS.md
Nov 19, 2025
Merged

Create AGENTS.md#2561
chanceaclark merged 5 commits intocanaryfrom
initial-AGENTS.md

Conversation

@bookernath
Copy link
Contributor

What/Why?

Add an AGENTS.md file to help AI-assisted development tools in understand the structure of Catalyst as well as the best practices for extending it.

Testing

TBD - need to test various development scenarios

Migration

N/A

@changeset-bot
Copy link

changeset-bot bot commented Aug 27, 2025

⚠️ No Changeset found

Latest commit: 97ecdda

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Aug 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
catalyst-b2b Ready Ready Preview Comment Nov 19, 2025 9:55pm
catalyst-canary Ready Ready Preview Comment Nov 19, 2025 9:55pm
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
catalyst Ignored Ignored Nov 19, 2025 9:55pm
catalyst-au Ignored Ignored Nov 19, 2025 9:55pm
catalyst-uk Ignored Ignored Nov 19, 2025 9:55pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds an AGENTS.md file to document the BigCommerce Catalyst codebase architecture for AI-assisted development tools. The documentation explains the custom middleware-based routing system that overrides Next.js defaults, data fetching patterns using Partial Prerendering (PPR), and the separated UI design system.

  • Added comprehensive documentation for the custom routing middleware that resolves URLs via GraphQL instead of file-based routing
  • Documented data fetching patterns including the Streamable utility and PPR configuration
  • Outlined the UI design system architecture with clear separation between business logic and presentation components

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@matthewvolk matthewvolk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm cool with merging so we can all collaborate and add to it, IMO it's already very valuable so far


1. **Use React's `cache()` function** for server-side data fetching to ensure deduplication.

2. **Implement proper cache strategies** based on whether user authentication is present.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍹 Do examples help here?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chanceaclark chanceaclark requested a review from a team as a code owner November 19, 2025 21:57
@chanceaclark chanceaclark added this pull request to the merge queue Nov 19, 2025
github-merge-queue bot pushed a commit that referenced this pull request Nov 19, 2025
* Create AGENTS.md

Co-Authored-By: Copilot <[email protected]>

* Apply suggestion from @matthewvolk

Co-authored-by: Matthew Volk <[email protected]>

* Apply suggestion from @matthewvolk

Co-authored-by: Matthew Volk <[email protected]>

* Update AGENTS.md

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Matthew Volk <[email protected]>
Co-authored-by: Chancellor Clark <[email protected]>
Merged via the queue into canary with commit 41ce193 Nov 19, 2025
12 checks passed
@chanceaclark chanceaclark deleted the initial-AGENTS.md branch November 19, 2025 22:03
jamesqquick pushed a commit that referenced this pull request Feb 11, 2026
* Create AGENTS.md

Co-Authored-By: Copilot <[email protected]>

* Apply suggestion from @matthewvolk

Co-authored-by: Matthew Volk <[email protected]>

* Apply suggestion from @matthewvolk

Co-authored-by: Matthew Volk <[email protected]>

* Update AGENTS.md

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Matthew Volk <[email protected]>
Co-authored-by: Chancellor Clark <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants