- CLAUDE.md + commit-push-pr: prefer gitea-mcp over tea CLI - Paper Dynasty: updated api_client, cli, distribute_packs - New skill: resume-tailoring - Plugins: updated marketplaces, blocklist, install counts - Settings and MCP config updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.8 KiB
1.8 KiB
| allowed-tools | description |
|---|---|
| Bash(git checkout:*), Bash(git add:*), Bash(git status:*), Bash(git push:*), Bash(git commit:*), Bash(git branch:*), Bash(git remote:*), Bash(git symbolic-ref:*), Bash(git log:*), Bash(gh pr create:*), mcp__gitea-mcp__create_pull_request | Commit, push, and open a PR |
This command IS explicit approval to commit, push, and create a PR — no need to ask for confirmation.
Context
- Current git status: !
git status - Current git diff (staged and unstaged changes): !
git diff HEAD - Current branch: !
git branch --show-current - Recent commits: !
git log --oneline -10 - Remote URL: !
git remote get-url origin
Your task
Based on the above changes:
- If there are no changes, say "Nothing to commit" and stop
- If on
mainormaster, create a new feature branch first - Stage all relevant changed files (prefer specific files over
git add -A— avoid secrets, .env, credentials) - Create a single commit with a concise message following the repo's existing style (focus on "why" not "what")
- Include
Co-Authored-By: Claude <model> <noreply@anthropic.com>where<model>is the model currently in use - Push the branch to origin with
-uflag - Create a pull request:
- If remote URL contains
github.com→ usegh pr create --base <default-branch> --title "Title" --body "..." - If remote URL contains
git.manticorum.comor other Gitea host → usemcp__gitea-mcp__create_pull_requestwithowner,repo,title,body,head,base
- If remote URL contains
- Include a summary section and test plan in the PR body
- Return the PR URL
You have the capability to call multiple tools in a single response. You MUST do all of the above in a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.