diff --git a/CLAUDE.md b/CLAUDE.md index 69a4704..56e0529 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -81,29 +81,22 @@ Use the `tea` CLI (Gitea command-line tool) for PR operations instead of `gh`. **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. -### Updating PR Descriptions +### Adding Comments to PRs -Use the `tea` CLI to update pull request descriptions: +Use the `tea` CLI to add comments to pull requests: ```bash -tea pr edit -d "New description text" +tea comment "Comment text" ``` -#### Options - -- `-d, --description` - Set description directly -- `--desc-file` - Read description from a file -- `-r, --repo` - Specify repo (defaults to current directory) - #### Examples ```bash -# Update PR #42 with inline text -tea pr edit 42 -d "Updated implementation based on feedback" +# Add a comment to PR #42 +tea comment 42 "Updated implementation based on feedback" -# Update using a file -tea pr edit 42 --desc-file PR_DESCRIPTION.md - -# Update PR in a different repo -tea pr edit 42 -r username/repo -d "New description" -``` \ No newline at end of file +# Add a multi-line comment +tea comment 42 "Summary of changes: +- Fixed bug in reducer +- Added new tests" +```