chore(root): improving AI contribution guidelines
Merged
DI
20d ago+76+76+01234567890123456789-7-7-0123456789
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 theresendGitHub 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: importsAGENTS.md, since Claude Code doesn't readAGENTS.mddirectly.- 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.mdand 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?