Pass — Git skill for Claude Code
更新 Claude Code 权限白名单.
How to install Pass
Installs to ~/.claude/commands/peiranfeng-my-claude-code-pass.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/PeiranFeng/my-claude-code/HEAD/.claude/commands/pass.md -o ~/.claude/commands/peiranfeng-my-claude-code-pass.md Restart Claude Code, or start a new session, for it to be picked up.
What Pass does
name: pass description: 更新 Claude Code 权限白名单。输入是指令则把 Bash allow 条目写入仓库与用户两处 settings,是目录则写入用户 additionalDirectories。仅当输入含 pull 才 pull+并集同步,仅当输入含 push 才 commit+push my-claude-code。 disable-model-invocation: true allowed-tools: Bash Read Edit Write
/pass — 白名单
三个作用域:
- 仓库 allow(受版本控制、跨机共享):
~/data/my-claude-code/.claude/settings.json的permissions.allow - 用户 allow(本机全局):
~/.claude/settings.json的permissions.allow - 用户目录白名单(本机全局、机器相关绝对路径,不入版本控制):`~/.claude/settings.j
Alternatives in Git
- Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
- Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
- Commit Commands — Git commit workflows: commit, push, and PR creation 14k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Cpp
Commit, review, push, pull request
Copush
Pull, version-bump, commit all changes, and push to origin
Commit Push PR
Stage, commit, push, and open a pull request.
Commit And PR
Let's commit the changes. Run tests, typechecks, and format checks. Then commit, push, and create a pull reque
Claude Session Bridge
Durable file-based message bridge between long-running Claude Code sessions, with per-session push watcher and
Aegis Approval Gate
PreToolUse hook that blocks destructive Bash ops (rm -rf, git push --force, DROP TABLE, etc.) until an active
Related Agents
Git Ops
Git operations agent for committing, pushing, and opening PRs. Use when asked to commit changes, push to remot
Gitter
The only agent that writes git — every other agent is read-only. Delegate each worktree setup, commit, merge,
Git
Isolated executor for the /playbook:commit-and-push and /playbook:create-pull-request commands. Delivers signe