AgentSkillsCN

using-git

Git命令规范。当运行任何git命令时,可使用此技能,避免阻塞在交互式分页器上。

SKILL.md
--- frontmatter
name: using-git
description: Git command conventions. Use when running any git commands to avoid blocking on interactive pager.

Git Commands

Always use --no-pager BEFORE the git command to avoid blocking on interactive pager:

bash
git --no-pager log -10
git --no-pager diff
git --no-pager show

The --no-pager flag must come before the subcommand (log, diff, show, etc.), not after.