PeiranFeng

Pass — Git skill for Claude Code

Git community

更新 Claude Code 权限白名单.

How to install Pass

Installs to ~/.claude/commands/peiranfeng-my-claude-code-pass.md

Terminal
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 Repository