Skip to content

chore(root): improving AI contribution guidelines - #3906

Merged
dielduarte merged 14 commits into
canaryfrom
chore/ai-contribution-guidelines
Nov 13, 2026
Merged

dielduarte merged 14 commits into
canaryfrom
chore/ai-contribution-guidelines

Conversation

@dielduarte

@dielduarte dielduarte commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Adds guidelines for AI-assisted contributions, following what Next.js and TanStack do.

  • AGENTS.md: rules for coding agents, split in two. Rules for everyone: add tests, add a short changeset, and don't add comments explaining the code. Rules for external contributors, skipped when the person is in the resend GitHub org: the person reviews everything including the PR description, changes stay scoped, and there's an issue or RFC before coding. Also lists the checks to run and the PR title format.
  • CLAUDE.md: imports AGENTS.md, since Claude Code doesn't read AGENTS.md directly.
  • PR template: adds a checklist, with "I understand the code in this PR and the problem it solves", "I read this description, and it accurately describes the change", and a changeset item.
  • CONTRIBUTING.md and the docs page on opening PRs: a new section on using AI tools. Also removes the stale line saying we have no PR template.

Open question:

  • Keep the "may close the pull requests and block the account" spam clause, or soften it?

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
react-email Ready Ready Preview Nov 13, 2026 7:46pm UTC
react-email-demo Ready Ready Preview Nov 13, 2026 7:46pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 89127b2

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

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread .github/pull_request_template.md Resolved
Comment thread AGENTS.md Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread CONTRIBUTING.md Resolved
Comment thread AGENTS.md Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

0 issues found across 4 files (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Docs-only change adds AI contribution guidelines, AGENTS.md, CLAUDE.md, and PR template text. A maintainer must decide the account-blocking spam clause left open and the unresolved cubic findings on title format and AGENTS.md accuracy.

View guided diff | Re-trigger cubic

@dielduarte
dielduarte force-pushed the chore/ai-contribution-guidelines branch from 2b3e52e to 7cfa76e Compare November 13, 2026 19:04
Comment thread .github/pull_request_template.md Resolved
Comment thread .github/pull_request_template.md Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Docs-only change adds AI contribution guidelines, AGENTS.md/CLAUDE.md, and PR template text. A maintainer must decide the open spam-clause question; dismissed findings about duplicated and overstated AI-policy text also remain.

View guided diff | Re-trigger cubic

Co-authored-by: Felipe Freitag Vargas <felipe.freitag@resend.com>
Comment thread AGENTS.md Resolved
Comment thread CONTRIBUTING.md Resolved
Co-authored-by: Felipe Freitag Vargas <felipe.freitag@resend.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

0 issues found across 4 files (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Docs-only PR adds AI contribution guidelines, AGENTS.md/CLAUDE.md, and a PR template checklist. The spam-clause wording is left as an open policy question, and dismissed findings about duplicated policy text and missing release-script tests remain.

View guided diff | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Guidelines/docs PR adds AGENTS.md/CLAUDE.md, AI-usage policy, and a PR checklist. Decisive: the spam-clause wording is an explicit open question, and the AGENTS.md org check trusts the CLI account rather than the actual contributor.

View guided diff | Re-trigger cubic

This branch was successfully deployed

2 active deployments
Preview – react-email-demo — 89127b24 Deployed Nov 13, 2026 by vercel[bot]
Preview – react-email — 89127b24 Deployed Nov 13, 2026 by vercel[bot]
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.

2 participants