Contributor conventions for this repo live in CONTRIBUTING.md. Read it end-to-end before opening a PR. This file only highlights what reviewers and automation will not fix for you.
Failure modes that most often trip agents here:
- Forgetting
pnpm changeset. Pull requests that touchcodemods/should include a changeset covering each changed package (or theskip-changesetlabel). CI warns but does not fail when changesets are missing. See Adding a changeset inCONTRIBUTING.md. - Editing
versionincodemod.yamlby hand. Theversionfield incodemod.yamlis synced automatically frompackage.jsonbyscripts/sync-codemod-versions.shwhenpnpm run version-packagesruns. Only editversioninpackage.json(via changesets). See Release workflow inCONTRIBUTING.md. - Skipping local checks. Run
pnpm run format,pnpm run lint, andpnpm run cibefore you call the task done. See Development setup and CI inCONTRIBUTING.md.
Before declaring a task done, confirm layout and naming under Adding a new codemod and Package shape in CONTRIBUTING.md, and update fixtures whenever behavior changes.