--- id: 8a8f78f6-da00-4627-8e51-cd02ccbb17f2 type: solution title: "Replace gitea-create-pr.sh with tea CLI for PR creation" tags: [gitea, tea, cli, refactor, automation] importance: 0.6 confidence: 0.8 created: "2026-02-13T21:21:07.952437+00:00" updated: "2026-02-13T21:21:07.952437+00:00" --- Deleted custom /home/cal/.claude/scripts/gitea-create-pr.sh script and replaced with native tea CLI tool. Old approach: gitea-create-pr.sh cal/repo branch main 'Title' 'Description' New approach: tea pulls create --repo cal/repo --head branch --base main --title 'Title' --description 'Description' Benefits: - No custom script maintenance - Better error handling from native Gitea CLI - Support for advanced features (labels, assignees, milestones, deadlines) - Consistent with other Gitea operations (repos list, issues list, etc.) - tea is already authenticated as cal@homelab Updated ~/.claude/CLAUDE.md with tea pulls create examples and removed script references. This is part of the broader migration from gh CLI (GitHub-only) to tea CLI (Gitea-native).