chore(claude): add merge skill with review gate
/merge takes changes from commit to merged PR in one run. A PreToolUse hook refuses any merge without a passing review comment for the PR's current head commit, so the review can't be skipped or go stale after new commits.
This commit is contained in:
1 parent
2c3d58d678
commit
737a3a29ec
4 files changed
+168
-2
No files matched your search
@@ -40,7 +40,9 @@ Branch names, commit messages and PR titles follow @CONVENTIONS.md. The git hook
|
||||
|
||||
Only commit when I explicitly say "commit" for that change. A yes to a question that also mentioned committing is not enough; when unsure, ask.
|
||||
|
||||
The remote is a self-hosted Gitea, so `gh` doesn't work. For PRs and their CI status use `.claude/scripts/gitea.sh` (acts as `claude-bot`), e.g. `.claude/scripts/gitea.sh GET '/repos/kasun/homelab-ansible/pulls?state=open'`. Use it for PRs only, and ask before opening or merging one. Reading from Gitea is free.
|
||||
The remote is a self-hosted Gitea, so `gh` doesn't work. For PRs and their CI status use `.claude/scripts/gitea.sh` (acts as `claude-bot`), e.g. `.claude/scripts/gitea.sh GET '/repos/kasun/homelab-ansible/pulls?state=open'`. Use it for PRs, and for issues when I ask. Reading from Gitea is free.
|
||||
|
||||
Open and merge PRs through `/merge`: typing it is my OK to commit, open a PR and merge for that run. Outside `/merge`, ask first. Every merge needs a passing review comment for the PR's head commit; `.claude/hooks/guard-merge.sh` refuses the merge otherwise. Before deploy-on-merge is enabled, revisit this: PRs that deploy will need my approval.
|
||||
|
||||
## Verifying changes
|
||||
|
||||
|
||||
Reference in new issue
Block a user