Add Gitea PR automation script

- Create automation/gitea-pr.sh for auto-creating PRs via Gitea API
- Update CLAUDE.md with git workflow using the new script
- Deprecate redundant git instructions in PA general-instructions.json
- Token stored securely at ~/.config/gitea-token

Usage: gitea-pr.sh "PR Title" "Description"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2026-01-04 12:52:54 -08:00
parent 2105803594
commit 02f9cf7d8f
3 changed files with 84 additions and 4 deletions

View File

@@ -10,14 +10,14 @@
},
{
"id": "b2c3d4e5-6789-01bc-def0-222222222222",
"instruction": "Create a new git branch when working on new features (e.g., feature/descriptive-name). Commit work to the branch before rebasing and pushing.",
"status": "active",
"instruction": "Git workflow: See CLAUDE.md for full process. Use rebase merges, not merge commits.",
"status": "deprecated",
"added": "2026-01-03"
},
{
"id": "c3d4e5f6-7890-12cd-ef01-333333333333",
"instruction": "The ~/.claude repo uses Gitea (not GitHub). After pushing a branch, create PR manually via Gitea web UI - gh CLI won't work.",
"status": "active",
"instruction": "Git workflow: See CLAUDE.md for full process.",
"status": "deprecated",
"added": "2026-01-03"
}
]