diff --git a/CLAUDE.md b/CLAUDE.md index 10074b1..88ec76f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -77,3 +77,6 @@ Use the `tea` CLI (Gitea command-line tool) for PR operations instead of `gh`. **Note**: Use `--description` (not `--body`) for PR body content. **Creating PRs**: Always create PRs in a branch other than `main`, to the `main` branch unless specified otherwise. ALWAYS FOLLOW THE PR TEMPLATE, EXACTLY. + +**Linking issues**: When a PR solves an issue, reference the issue in both the commit message and PR description using `Closes #`. +This automatically links and closes the issue when the PR is merged.